Nested lists – removing the vertical space

Posted in: Newspaper
Post count: 1

Hello,

I use nested lists, like you can see on this screenshot:
http://prnt.sc/dky3xc

I am trying to remove the vertical spaces below the second level items to achieve the same style like here: http://demo.tagdiv.com/newspaper/lists/ I checked out the source code of this page and was able to achieve the effect by using this:

<div class="wpb_text_column wpb_content_element ">
<div class=wpb_wrapper>

Is it possible to remove the vertical space without applying manually these classes every time I use nested lists? I was thinking about some custom css, is it a good idea?

  • This topic was modified 9 years by petrsejba.
Post count: 23312

Hello petrsejba,

Try the code below and place it in Theme panel->

.td-page-content ul{
margin-bottom:0!important;
margin-top:0!important
}
.td-page-content h4{
margin-top: 0!important;
margin-bottom: 0!important;
}

The result is here -> http://screencast.com/t/0XVmGRa8Z

Thanks for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.