Containers stripping header padding
-
I have posts with multiple paragraphs and headings. If I put them in a paragraph, no problem. It looks normal, headings have the inherited spacing, paragraphs are separated properly.
But if I take that same paragraph and put it in a container, which I want to do so it has the outline and I can easily control the width, then it all looks smushed together. The headings lose their padding, the paragraphs touch the headings.
If I go to inspect in Chrome, it looks like it’s adding margin 0 for top and bottom for headings. If I uncheck that in Chrome inspect panel, it looks normal, but if I try adding that to additional css with margin top and bottom 20px!important nothing happens.
Why is the Stackable container making my headings have 0 margin top and bottom? If I take it back out of the container and into classic paragraph, all is good. Back into the container, it all gets smushed together.
- The topic ‘Containers stripping header padding’ is closed to new replies.