-
Author
-
April 10, 2016 at 18:48 #115515
jeweetzelf
ParticipantIs 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.
April 11, 2016 at 18:52 #115762Radu
ModeratorHi,
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-aIn 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 solutionApril 14, 2016 at 18:36 #116657jeweetzelf
ParticipantHi 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 hoverkleo/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
April 15, 2016 at 16:59 #116845Radu
ModeratorHi,
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 -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.