Edge to edge background color in Visual Composer

This topic has 6 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp

  • Avatar: glenngtr
    glenngtr
    Participant
    April 12, 2016 at 14:02

    Hi there,

    Ik have two questions:

    1. I would like to stretch the the background color of a row from edge to edge. I’ve tried all possible options in VC but no luck unfortunately. ‘stretch row’ or ‘full width’ did not do the trick.

    I want the row the background color of the row to go entirely from edge to edge in my boxed layout. If I pick a color now as a background it will only fill the container but leaves white margins on the side.

    2. Is it possible to hide the basket/cart on the homepage for people when they are not logged in? I’ve already set it up so people cannot see the prices unless they are logged in, but I can’t seem to hide the basket.

    Thank you!

    Best regards

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 12, 2016 at 14:23

    Hello,

    1) Could you please clarify with more details for what exactly part you want to do it and show us screenshots?

    2) I’ve added this code in Global Custom CSS. Please check.

    .shopping-container {
        display: none;
    }
    .logged-in .shopping-container {
        display: initial;
    }

    Regards,
    Robert Hall

    Avatar: glenngtr
    glenngtr
    Participant
    April 12, 2016 at 15:08

    Hi Robert,

    Thanks. This works perfectly.
    To clarify: I would like the Facebook feed on the homepage to have a green background.

    Glenn

    Avatar: Eva
    Eva Kemp
    Support staff
    April 12, 2016 at 16:16

    Hello,

    You can set “Stretch row” option in the row settings:
    http://storage7.static.itmages.com/i/16/0412/h_1460474165_6345375_d65d073ed5.png and set background color you need in Background tab.

    Regards,
    Eva Kemp.

    Avatar: glenngtr
    glenngtr
    Participant
    April 12, 2016 at 17:07

    Hi Eva,

    Thanks for the reply, but as mentioned in my first post ‘stretch row’ does not work. It goes full width, beyond the frame of the website. See screenshot attached.

    http://itmages.com/image/view/4131528/97abaf2e

    Avatar: Eva
    Eva Kemp
    Support staff
    April 12, 2016 at 17:22

    Hello,

    In this case select background width as shown in the screenshot:
    http://storage3.static.itmages.com/i/16/0412/h_1460478138_9616488_39318821d6.png

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.