-
Higgins
Hi, i created a hero section/element that starts of at the top with a container and inside that container i placed the featured image option. What i’m trying to achieve is getting the featured image to display from side to side on mobile only. So from the left side of the screen to the right – no padding. If i would use the “general” featured image i could use the – no padding around images – option in Layout/Blog/.. But like i said i’m using the featured image option inside a hero section.
Thanks,
-
David
Hi there,
can i see your site? Som i can take a look at the best method to achieve that layout.
-
Higgins
-
Hi there,
Try setting the
margin-left
andmargin-right
properties to –25px
on mobile for the GB container that’s holding the featured image.References:
https://docs.generateblocks /article/spacing-options-overview/#margin
https:// screencast /t/8RCBeKqY5h5Let me know if this helps 🙂
-
Higgins
Thanks!
-
No problem 🙂
- You must be logged in to reply to this topic.