badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Change hover effect on posts

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #48691
    l.mahon
    Participant

    Hi,

    I am wanting the change the hover effect when you hover over the featured image of a post. Currently, it fades in white and displays the post title and content, but I would just like it to stay as it is and not do anything. I have looked through the .css and edited what it seemed would do this, but it did nothing.

    The code I removed was in 6.0.

    Any help would be greatly appreciated, thank you.

    #48692
    l.mahon
    Participant

    Also, is their a way to make the posts smaller? They are quite big for what I would like to use the site for.

    #48696
    l.mahon
    Participant

    I have figured out how to remove it, but now I would like the text to fade in.
    The way I have it now is I have altered this line of code in 6.0

    .post-main .has-post-thumbnail .entry-wrap:hover .entry-main {
    opacity: 1;
    -moz-opacity: 1;
    filter:alpha(opacity=100);
    }
    and changed the opacity to 0

    It no longer fades a box in but I would quite like the text to still appear. Is that possible? Thank you

    #48724

    Hi l-mahon,

    To appear the text only in the posts while hover go to Appearance > Customize > WP Portfolio Theme Options > Custom CSS and paste the below CSS code then click on Save button.

    .entry-main {
        background-color: inherit;
    }

    Thank you!

    #48751
    l.mahon
    Participant

    Thanks!

    Now is there anyway to make the posts smaller? They resize when I resize the window, but I’d like them to always be smaller.

    #48913

    Hi l-mahon,

    To make the post smaller go to Appearance > Customize > WP Portfolio Theme Options > Custom CSS and paste the below CSS code then click on Save button.

    .column-fourth .column-wrap {
        width: 20%;
    }

    Thank you!

    #54126
    ekatoenteka
    Participant

    Hi, I like how the featured image fades out while you hover over, but is there a way to make it not fade to white but at a say 10% opacity of the original?

    #54131

    Hi @ekatoenteka,

    Do you want to fade the image to 10% opacity as you hover on the featured image?

    Thank you!

    #54136
    ekatoenteka
    Participant

    Yes, please!
    Not quite sure about the percentage, maybe I could play around that, but something like it.

    #54142

    Hi @ekatoenteka,

    Just add below custom css and image will be fade while hover on it.

    .post-main .has-post-thumbnail .entry-wrap:hover {
    	opacity: 0.6;
    	-moz-opacity: 0.6;
    	filter:alpha(opacity=60);
    }

    Thank you!

    #54145
    ekatoenteka
    Participant

    Thanks for your quick reply, but it doesn’t seem to work, the thumb again goes totally white. You can see it here http://pantazis.space/

    #54147

    Sorry! Try adding below custom css too.

    .post-main .has-post-thumbnail .entry-wrap:hover .entry-main {
        opacity: 0;
        -moz-opacity: 0;
        filter:alpha(opacity=0);
    }

    Thank you!

    #54149
    ekatoenteka
    Participant

    thanks, that seems to work, but now i lost the preview text that would come up after the image was fading to white.
    is there a way to keep both fading not to total white, but to an opacity of my choice, and make the text come up when hovering?

    #54231

    Hi Ekatoenteka,

    If so just replace last replied CSS code with below one

    .post-main .has-post-thumbnail .entry-wrap:hover .entry-main {
        opacity: 0.6;
        -moz-opacity: 0.6;
        filter:alpha(opacity=60);
    }

    Thank you!

    #54237
    ekatoenteka
    Participant

    that’s great, thank you very much for your time!

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