Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1406102

    Can I change the #main background-color separately for each color_section?

    We are using border radius for the color_sections, but when we switch to next color section, the background-color is not changeable. Hope you guys can help!

    #1406145

    Hey BenjaminSpeedtsberg,

    Thank you for the inquiry.

    You are actually seeing the default background color of the main container. To change this, you have a couple of options:

    1.) Disable the border radius in the bottom left and right corners of the color section. This will ensure that the color extends to the full width of the section without being cut off by the rounded corners.

    2.) Apply a negative top and bottom margin to the color section to pull or push the element itself and the surrounding elements. This will conceal the main container’s background and allow the color to display as the background for the section.

    You can try this css code.

    #border-radius-top, #border-radius-full, #border-radius-bottom {
        z-index: 9999;
        position: relative;
    }
    
    #border-radius-top {
        border-radius: 80px 80px 0px 0px;
        margin-top: -80px;
    }
    
    #border-radius-full {
        border-radius: 80px;
        margin-bottom: -80px;
        margin-top: -80px;
    }
    
    #border-radius-bottom {
        border-radius: 0px 0px 80px 80px;
        margin-bottom: -80px;
    }
    

    You may need to adjust the space between the sections after adding the css code, using the horizontal/separator element or with a custom css.

    Best regards,
    Ismael

    #1406148

    Hi,

    It’s working! Thanks a lot.

    It needs some adjustments, but I fixed it with the white space element to expand the minus margin.

    #1406150

    Found one issue.

    The video pop up is not very happy for this code:
    #border-radius-top, #border-radius-full, #border-radius-bottom {
    z-index: 9999;
    position: relative;
    }

    Are there anything I could do, to style the video popup.

    #1406152

    I may found the issue.

    the z-index was higher than the video pop up z-index at 1045. I tried to change the z-index to 1000 for the color_sections. And now it seems to work.

    Can you guys maybe confirm that og do you have a better solution. :-)

    #1406466

    Hi,
    Glad to hear that you have this sorted out, this seems it would be the best solution. Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.