Okay
  Public Ticket #338525
Portfolio item hover opacity
Closed

Comments

  • Michelle started the conversation

    Hi there, 

    I'm going to use the code below to remove the "View Larger" and "More Details" buttons on the portfolio thumbnails. Also wondering how to:

    a) remove the colour hover effect completely

    b) Change the aplha channel opacity on hover action

    Thanks so much,

    Michelle

    REMOVING BUTTONS CODE

    .portfolio-items .col .work-item .work-info a { position: absolute; display: block; width: 100%; height: 100%; text-indent: -9999px!important; top: 0px; left: 0px; background-color: transparent!important; border-radius: 0px!important; } .portfolio-items .col .work-item .work-info a.pp { display: none!important; }

  •  8,847
    Tahir replied

    Hey!

    Can you provide the page url . 

    Thanks


    ThemeNectar Support Team 

  • Michelle replied

    theprecinct.com

  •  8,847
    Tahir replied

    Hey Again!

    Add this into the Custom CSS box located in your Salient Options panel :
    .portfolio-items .col .work-info-bg ,.portfolio-items .col .work-info {
        display: none !important;
    }
    Thanks 


    ThemeNectar Support Team 

  • Michelle replied

    Hi Tahir, thanks for the code - while it did remove the the hover effect it also removed the ability to link the tile to a portfolio page once clicked. Do you have code that simply changes the hover opacity rather than removing it completely?

    Thanks so much,

    M

  •  8,847
    Tahir replied

    Hey Again!

    Use this instead: 

    .portfolio-items[data-col-num="elastic"] .work-info-bg {
        opacity: 0 !important;
    }
    

    Thanks 


    ThemeNectar Support Team