Clearfix on single posts and archives?
-
Hi there,
Having trouble adding a clearfix to ensure the right-floated contents in the post content don’t flow in to the next post in archives, or into the footer.
The users of this site are adding right-aligned galleries in Gutenberg editor, which look really awesome with the theme, but overflowing beyond the article on desktop.
Usually I would add a clearfix class on the <article> but its not working for me this time :/
<article class="clearfix">
.clearfix::after{ content: ""; clear: both; display: table; }
Any clues greatlly appreciated.
Really love this theme, very striking and nicely put together.The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Clearfix on single posts and archives?’ is closed to new replies.