Archived topic
Before_header hook changes layout in secondary languages
3 replies · Started by Bernhard on June 13, 2020
Hello,
I can't figure out why I have different featured image width and different spacings between the images in different languages of the same page.
It is most evident on these pages:
https://www.tourist-in-rom.com/en/new-homepage-en/ (defective layout) and
https://www.tourist-in-rom.com/de/neue-homepage/ (correct layout)
but I have the same problem also on other pages like
https://www.tourist-in-rom.com/it/roma-informazione-turistica-trasporto/ (correct) and
https://www.tourist-in-rom.com/en/rome-travel-guide/ (wrong).
To reduce the spaces, I used the following css:
.page-hero {
margin-top: -33px;
}
The image resolution is the same for all pages.
Any idea how to solve this?
Hi there,
The page without padding is using the "Contained" option here: https://docs.generatepress.com/article/page-builder-container/
The other one isn't.
Hope this helps! :)
Thank you :)
You're welcome :)