I have been trying to figure out how to remove the margin-top on the first paragraph which appears on a page under an H1 with the class of entry-title I was reading https://css-tricks.com/child-and-sibling-selectors/ but couldn’t figure it out.
Here is the html and css on pastebin (couldn’t get it work work in the forum)
I have noticed in your pastebin that you have mis-spelled content in the CSS. Also you have put a ‘+’ to seperate the two selectors, when with CSS syntax you should use a comma (I think?) try and make them changes and see what you get…
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.