Archived topic
Full width images out of container
3 replies · Started by André on November 11, 2019
Hello,
Can you please help me to figure out and solve this issue I’m having with full width images?
When I add an image and set it to full width, the browser gets an horizontal scroll bar… looking like the image is going out of the container or something.
I’ve been trying everything with spacing and it looks I can apparently solve it increasing the right content padding. But this doesn’t feel like the proper solution.
What should be causing this and how can I fix it?
Sample url
https://xswebpt.com/pagina-testes/
Screenshots
https://d.pr/free/i/YHIJct
https://d.pr/free/i/33y4zf
https://drive.google.com/file/d/173zIxEunE0ssBGZrYYvKCXalTD9EfHto/view
Thanks,
André
Hi there,
the padding is the issue and the solution.
The Full Width option in Gutenberg blocks uses negative margins to overcome the container width and the padding it has.
Hi David! Thanks or the reply and sorry for the late follow-up.
OK then. Although I found it strange, I guess I was on the right track then.
Thanks for your help,
André
You're welcome