This topic has 3 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #115515
     jeweetzelf
    Participant

    Is it possible to override the hover effect in the featured image of the post, what we want to achieve is to show the title and the meta information in hover.

    I tried tweaking the php script that changes the hover effect, but the update affects 3 other pages, so I think it is not the right way of doing it.

    #115762
     Radu
    Moderator

    Hi,

    That option is not available in kleo, this is the function that generates the meta
    <?php kleo_entry_meta();?> you will have to made something like this http://stackoverflow.com/questions/5210033/using-only-css-show-div-on-hover-over-a

    In what page i can see what you have done ?

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #116657
     jeweetzelf
    Participant

    Hi Radu,

    You can see the hover effect on the homepage, if you hover over a featured image/post.
    2 pages in main theme are updated,
    kleo/lib/theme-functions.php – I comment out kleo_get_img_overlay(), and put it in kleo-child/functions.php to update the text in hover

    kleo/page-parts/post-content-masonry.php – I comment out post-headers to hide meta info under the image

    Could you please tell us how to not touch the main theme? The changes now does not stick after a theme update.

    Thanks

    #116845
     Radu
    Moderator

    Hi,

    The page parts can be copied to child theme

    Copy the page parts from parent to child theme ( kleo-child/page-parts ) then you will be able to modify the templates update proof.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?