Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #678567

    Hello,

    What CSS do I need to add for the hover on my masonry grid? I would like a red color for example, instead of the opacity and to keep the originally zoom effect as well.
    ( Example of hover color (just the color, I don’t the text): http://peacheyphotography.co.uk/)

    I’m at this point in my CSS research:

    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
    opacity: 0.5!important;
    }

    Thanks a lot for your help.
    Regards,
    Bibahbuh

    #678773

    Hey bibahbuh,

    please remove the code that is added earlier and try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .av-inner-masonry:hover {
    	background-color:#ff0000!important;
    	opacity:.95!important;
    }
    

    Best regards,
    Vinay

    #679238

    Hello Vinay,

    Thanks a lot for your reply.
    It’s exactly what I wanted :)

    Only one thing: when I ‘m changing the background color (I tried red, yellow, bleu…) the result is always in grayscale when I hover the pictures.
    Could you help me again to solve this.

    Thanks a lot.
    Best regards,

    Bibahbuh

    #679328

    Hi,

    I have altered the code and added the below code

    .av-masonry-image-container:hover, .av-inner-masonry:hover {
         background-color:red!important;
         opacity:.95!important;
    }
    .av-masonry-image-container {
    margin-right:2px;
    margin-bottom:2px;
    }

    Please review the site now :)

    Best regards,
    Vinay

    #685533

    Hi Vinay,

    Sorry for my late response.
    Thanks for your help. It works perfectly :)
    It’s perfect for my screen resolution (1280×1024) but not for my client screen (more than large desktop)… I will try to find a way.

    Thanks a lot.
    Have a nice day.

    Bibahbuh

    #686171

    Hi,

    Ok, let us know if you should need any more help on the topic.

    Regards,
    Rikard

    #686770

    Hi Rikard,

    Thanks for your message.
    Everything is all good now :)
    I just had to create a .png for my pictures instead a .jpg!!
    Everything works perfectly.

    Thanks a lot.

    Regards,
    Bibahbuh

    #687186

    Hi,

    Glad we could help!
    We really appreciate it if you rate our theme on themeforest .
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Masonry Hover’ is closed to new replies.