Posted in: Newspaper
Jul 10, 2018 at 4:09 pm
Hello!
Please tell me how to increase the vertical interval (indentation) in the tables?
I need the lines to be higher.
Jul 10, 2018 at 4:37 pm
Jul 11, 2018 at 9:21 am
I could give you a code to increase the padding of the table rows (default is 2px). This is how it looks with a 10px padding top and bottom
– https://www.screencast.com/t/SlSZrH704H
This is the code you can adjust teh values if needed
.td-post-content table tr:nth-child(2) td {
padding: 10px 8px;
}
The code will not affect the first row of the table, the one with the title.
Jul 11, 2018 at 11:59 am
Jul 11, 2018 at 2:21 pm
Indeed, the code is not created properly. Sorry about that. Try it like this instead
– https://www.screencast.com/t/pP2Br33O3m
.td-post-content table tr:not(:first-child) td {
padding: 10px 8px;
}
Give it a try and let me know.
Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.