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

    I need to replace the icon overlay on hover with a custom image for each portfolio item. On hover, the image should fade in but not rotate.

    Custom images are in the top of the media library.

    I can do the bulk of the work if you could get me started.

    Thanks in advance for your help with this mod.

    #885493

    Hey Jason,

    You can easily change the icon for all of the images by css like this

    
    .image-overlay.overlay-type-extern .image-overlay-inside:before {
        content: url("your image");
    }
    

    But making different images for each portfolio will require quite an amount of customization.

    Best regards,
    Victoria

    #890602

    Thanks Victoria – I understand a different image for each portfolio would require a lot of custom code, so we won’t do that.

    I would like to use a single custom image in place of the circle and icon. I don’t want to just change the icon within the circle, I want to replace the entire thing with a custom image.

    #891318

    Hi jasonlmook,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .image-overlay.overlay-type-extern .image-overlay-inside:before {
        content: url("https://www.americandesignfirm.com/wp-content/uploads/2017/12/portfolio-overlay-a.png");
        left: 25%;
        top: 30%;
        background: transparent;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #891711

    Thank you Victoria!

    #891793

    Hi,

    Glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1044311

    Brilliant! Perfect solution, thanks.
    BARRY

    #1044728

    Hi barra12,

    Great, glad you got it working. I’ll close this thread for now since it’s almost 1 year old.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Replacing Icon Overlay in Portfolio Grid with Custom Images’ is closed to new replies.