Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #579168

    Hi,

    I am wondering if it’s possible to change individual overlay color?

    First slide i want it red (which already is now)
    Second slide, blue.
    Third slide, green.
    Fourth, purple.
    Fifth, orange.

    Thank you so much!

    #579246

    Hey fairusd!

    Yes, each one of the accordions does actually have a different number
    Example:
    aviaccordion-slide-4 is the 4th, so you can active the colors with:

    .aviaccordion-slide-4 #top .aviaccordion-preview-title-wrap {
    background: rgba(255, 0, 0, 0.5) none repeat scroll 0% 0%;
    }

    let me know if that works for you

    Best regards,
    Basilis

    #579350

    Hey thanks!

    I tried copying and pasting the code but it did no work.

    #580975

    Hi!

    try to add an !important:

    .aviaccordion-slide-4 #top .aviaccordion-preview-title-wrap {
    background: rgba(255, 0, 0, 0.5) none repeat scroll 0% 0% !important;
    } 
    

    Clear browser cache and hard refresh a few times.

    Cheers!
    Andy

    #580976

    Hey!

    Please add following code to Quick CSS instead

    li.aviaccordion-slide-2 .aviaccordion-preview-title-wrap {
        background: rgba(255,0,255,0.3)!important;
    }
    li.aviaccordion-slide-3 .aviaccordion-preview-title-wrap {
        background: rgba(255,0,255,0.3)!important;
    }
    li.aviaccordion-slide-4 .aviaccordion-preview-title-wrap {
        background: rgba(255,0,255,0.3)!important;
    }
    li.aviaccordion-slide-5 .aviaccordion-preview-title-wrap {
        background: rgba(255,0,255,0.3)!important;
    }

    and change color as needed, respectively.
    255,0,255 is RGB value of the color and 0.3 is opacity level.

    Cheers!
    Yigit

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