Archived topic
cover image not covering whole width
6 replies · Started by Chris on November 27, 2020
Why oh why is there a margin on the left of this cover image?
No plugins, base generatepress only - works as full width in default 2020 theme.
Tried with gp premium and generateblocks - always the same.
Many thanks
Have attached login details
Hi there,
your Customizer > Layout > Container > Padding has 150px left padding - which is what throws out the full width elements. Any need for that to be 150px ?
Not at all - I had reset all GeneratePress settings so surprised that was there!
Always an irritatingly simple thing that get's in the way isn't it!
Anyway - thank you for looking.
Yep, its usually that one little thing that causes the biggest headaches.
As a general rule when building any page that has Full Width content i would advise against using the Full Width / Wide Width options on the Blocks tool bar. Its the core WP method that uses a rather hackish CSS method to expand content outside the parent container.
Its better to set the Page to Full Width, and then split the page up with multiple Container Blocks.
Great - thanks for the tip!
You're welcome