New Landing How can we help? Cardinal Modify "hover overlay" color for some elements

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #214334
    otinik
    Member
    Post count: 24

    Hi!

    I would like to edit the hover overlay color for some elements. I have set a general color for “hover overlay” that is ok for the most of the elements but not for all. Is possible to add an “EXTRA CLASS” in the image with link configuration to modify the color of this element?.

    For example, in this URL (http://www.yesenglish.es/examenes-de-ingles/) i would set the “hover overlay” color “blue” instead yellow for the “Instituto Británico de Sevilla” logo at the bottom of the page.

    If so, could you tell me how?.

    Thanks.

    #214392
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please insert this code at custom css code:-

    .blue-hover figure.animated-overlay figcaption{
    background-color:#424384 !important;
    }

    Now use .blue-hover as extra class for image element.

    Thanks
    Mohammad

    #214492
    otinik
    Member
    Post count: 24

    Thanks for your quickly answer Mohammad!

    Is possible to add some line to modify the opacity to 40% when you put over the image?

    #214494
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Sure, here is 30% opacity color using the above code:

    .blue-hover figure.animated-overlay figcaption{
      background-color: rgba(66, 67, 132, 0.3)!important;
    }
    

    – David.

    #214497
    otinik
    Member
    Post count: 24

    Great! Thanks a lot.

    #214499
    David Martin – Support
    Moderator
    Post count: 20834

    Great, thanks Mohammad for the code.

    – David.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register