Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #895259

    Hi.

    Is there a CSS-way to change size on the av-section-color-overlay, by using color mode and not an image.
    I want it the same size as my Maximum Container width (1310px) and not the full width of the color section.

    Thanks,
    OPVAB

    #895452

    Hey opvab,

    Please provide a link to site page in question? Also, please provide a screenshot so that I can see exactly what you are trying to achieve?

    Best regards,
    Jordan Shannon

    #895633

    Hi.
    You’ll find url & printscreen in PC.
    I have on the section #meny:
    – Color section with one full screen stretch bg image
    – Section Overlay bg, #FFFFFF 0.5
    – Column layer elements.

    Dont’t want any bg color on Column elements, but instead let the Section overlay color stretch to my site maximum container width.

    Thanks,
    OPVAB

    #895680

    Hi.

    This works if your are on a 1920 screen and don’t care about responsive:
    .av-section-color-overlay {
    max-width: 1310px;
    position: relative;
    }
    div .av-section-color-overlay {
    top: 0;
    left: 297px;
    height: 100%;
    width: 100%;
    }
    But realy need a css that wraps the overlay accordingly the container.

    /
    OPVAB

    #897067

    Hi,

    Try adding this css code:

    #top #meny .av-section-color-overlay {
        left: 0;
        min-width: 100%;
    }

    Let us know if this helps :)

    Best regards,
    Nikko

    #897100

    Hi.
    min-width: 100% is going to stretch the color-overlay full width.
    I want the color-overlay to act like main container, such as:
    .responsive .container {
    max-width: 1310px;
    }

    /
    OPVAB

    #897139

    Hi,

    Try using this css code instead:

    #top #meny .av-section-color-overlay {
        left: 50%;
        margin-left: -655px !important;
        max-width: 1310px !important;
        min-width: 0 !important;
    }

    Hope this helps :)

    Best regards,
    Nikko

    #897168

    Hi and thanks for all the effort.
    Your CSS works superfine for 1920px wide screen, but when watching with differtent screen resolution or on Ipad,
    the color-overlay no longer follow the container.

    I don’t know if it is possible for the color-overlay to be responsive and always centered as the .container
    who probably pick up responsive code from bootstrap framework, but it would be great if it could be solved.

    Thanks,
    OPVAB

    #897335

    Hi,

    Try adding this css code after the code I gave:

    @media only screen and (max-width:1310px) {
      #top #meny .av-section-color-overlay {
        left: 0;
        margin-left: 0 !important;
      }
    }

    Hope this helps. :)

    Best regards,
    Nikko

    #897436

    Nikko,
    I works now like a charm, you did my site. Thanks a lot.

    Cheers,
    OPVAB

    #897440

    Hi OPVAB,

    Glad to hear that. Thanks for using Enfold :)

    Best regards,
    Nikko

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