Site logo

Archived topic

Different padding when using page header element

5 replies · Started by Johan on September 7, 2021

Viewing posts 1–6 of 6

Hi!
I just added my first page header element but I can't get the padding right. I have a site where I use the blog posts as start page. I then add the page header element to get some text and H1 on the start page. But when I add padding to the page header it also changes the blog posts padding below. See image.

Second question. Is it possible to get the same padding on the page header element as the padding on the content on desktop? Right now they dont align and I can't figure out to make it.

Thanks!

Hi Johan,

can you share the exact code within your Header Element? The HTML structure of your site is pretty strange.

There seems to be an issue within the code added to it. Perhaps there's a missing tag delimiter.

It's causing styling issues to the rest of the page with applies padding to elements that normally don't have one.

Hi Elvin

I forgot a bracket of the last paragraph that caused the error :)

Is this fully sorted out for you? Let us know if you need further help. :D

Yep! Thanks.

Nice one. Glad you got it sorted. No problem. :)

This archived topic is closed to new replies.