Need help with CSS to get block background colors and images to extend full-widt
-
I’ve been working with Gutenberg on my staging site, and so far very happy with what I’m seeing. My needs are simple. Per below, it’s a basic marketing agency type of site.
https://eme.88b.myftpupload.com/The one additional thing I’d like to do is use full-width blocks on some of the sections. Taking out the dividers between blocks.
It’s ok if the content stays where it is, but I’d like to extend the background image and background colors to full-width of the screen.
I’ve read several posts on this, per below, but am still not clear on what would be the best method for my site.
In the article below it seems like one of the first two solutions might work, but I’m not sure which. The solutions are based on using .align-wrap and .alignfull.
https://c48077e8ff014a1d81f3057943097d0c.production.codepen.plumbing/examples/fullwidth-site.htmlBut I’m not sure if that’s right, or where to put that code.
Do I need to create a new CSS Class that specifies .align-wrap or .alignfull? And if I enter that into the Style.css file, where does it go? And then I’d enter .align-wrap or .alignfull into the Additional CSS Class text field in the Advanced section of the desired blocks?
Any help on how to approach this, or if this type of customization is asking for trouble, I’d greatly appreciate any input.
Thanks
dougThe page I need help with: [log in to see the link]
- The topic ‘Need help with CSS to get block background colors and images to extend full-widt’ is closed to new replies.