• Resolved Rosa Parker

    (@rosa-bosma)


    I would like to add/increase margin-top of the items shown on the search results page. I already added this for blog posts, which also works perfectly for blog posts that appear in the search results:

    #content .post {
    	margin-top: 50px;
    }
    
    #content .post:first-child {
    	margin-top: 0;
    }

    However, every other item in search results doesn’t have any margin-top. What selector do I need to use to target pages, not only posts?

    Thank you! ??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selector to apply margin between search results items?’ is closed to new replies.