Archived topic
Gutenberg Blocks have strange magins
3 replies · Started by Thomas on August 13, 2021
Hi!
Seems to be a dumb question but I couldn't find a solution.
https://edukids.netaction.de/elterncurriculum/krankheitsbild-was-ist-diabetes-mellitus/
All P elements and other Gutenberg Blocks have a margin:
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide), h1.entry-title {
width: calc(100% - 30px);
}
I don't know why this margin of 15px to each side even exists as the container (.one-container .site-content) already has its margin.
Current behaviour: P, H1, UL and everything has a second margin.
Desired behaviour: Everything in one line with the navbar and other content.
Hi Thomas,
It's because you have this CSS added to your site:
https://www.screencast.com/t/sFyBrDxV
Try to remove it to test.
Let me know :)
I am so sorry. Thank you.
No problem :)