• I am in need of two or three content areas on my home page that have a full-width background-color, with the content itself contained in 3 columns, center aligned.

    My website at framella.com shows the “Anatomy of a Picture” which has the background color of #f8f8f8, but which does not go all the way to the browser window edge. I would also like to butt against the Parallax Hero image without any white space in between.

    I have the following installed:

    • WordPress 4.5.3
    • Storefront 2.0.4
    • Parallax Hero
    • Storefront Designer
    • Storefront Theme Customisations

    Thanks and regards,
    Todd

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    You can use the Parallax Hero shortcode to insert as many full width content sections as you like. I appreciate the might not off the flexibility you require though.

    Besides that you’ll need to investigate Page Builder plugins (I think some offer this kind of functionality) or create the component yourself with a little custom css. To do that try applying the following css;

    .column-full-width {
    margin-left: -999em;
    padding-left: 999em;
    margin-right: -999em;
    padding-right: 999em;
    }

    Cheers

    Thread Starter netniks

    (@netniks)

    Thanks, James! That zeroed in on getting me to the full-width background-color. Thank you, also, for the recommendation to utilize Page Builder. I have tried Page Builder in conjunction with a different WordPress theme in the past, but got away from it when trying different themes.

    I didn’t comprehend it at first, but I think that Storefront really shines as a lean theme ready for further customization.

    For anyone reading this, I wrapped my content in a <div class="column-full-width">lorem ipsum</div> right in the Page content editor, and James’ CSS enabled the background color to fill the width of the browser. Here’s his CSS combined with mine:

    .column-full-width {
    margin-left: -999em;
    padding-left: 999em;
    margin-right: -999em;
    padding-right: 999em;
    background-color: #f8f8f8;
    }

    Thanks again,
    Todd

    I didn’t comprehend it at first, but I think that Storefront really shines as a lean theme ready for further customization.

    Very happy to hear this, that’s one of the primary purposes of Storefront! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Full Width Background Color’ is closed to new replies.