Home › Forums › Pro Themes › Photomania Pro › Remove photo enlarge icon
- This topic has 7 replies, 2 voices, and was last updated 5 years, 6 months ago by wensolutions.
-
AuthorPosts
-
June 1, 2019 at 6:17 pm #98988SylvainParticipant
Hello,
I want to remove the photo enlarge button when hovering over posts, in my category pages, like this one : http://sylvainmoser.com/category/animation/
I already removed it from the posts listing page, with a custom CSS found in the forum.
Thank youJune 1, 2019 at 10:54 pm #98996wensolutionsKeymasterHello
Please add the below given CSS by going to , Admin Panel > Appearance > Customize > Additional CSS
article { pointer-events: none !important; }
Hope this helps.
For any further query/confusion, feel free to write back to us.
Regards!
June 2, 2019 at 6:55 am #99001SylvainParticipantHello,
Thanks but it’s not what I want. Your CSS blocks the access to any post…
Once again, I want to remove the enlarge icon when overing over posts (not the link to the post itself !). You already gave the CSS to do so in the forum, but it works only in the posts listing page. Please visit my site and see the difference when hovering over posts in the home page and in any category page.
Thank youJune 3, 2019 at 6:00 am #99189wensolutionsKeymasterHello,
Please add the below given CSS in the Additional CSS section :
.masonry-entry:hover .masonry-thumb img { transform : inherit !important; }
Also, when we inspected the home page, we found the hovering effect there. If this is not what you want, please elaborate us with a proper screenshot so that we can provide you a clear fix.
Hope this helps.
Regards!
June 3, 2019 at 9:05 am #99200SylvainParticipantOk, may be I wasn’t clear enough, I don’t know…
Basically in Photomania when hovering over a post 2 things happen :
1 – a hovering effect and the possibility to access to the post by clicking on the featured image
2 – a red square icon in the center of the image that allows you to enlarge the imageI want to remove ONLY this second option, not the hovering effect and the possibility to access the post. Once again, please compare my homepage and for example this page : http://sylvainmoser.com/category/animation/ . As you can see, in my homepage : no red icon and pop up link. In the category pages : red icon in the center of the featured image with a popup link
FYI : the CSS line I used that works fine for the homepage (but only for the home page and not for the categories pages) is this one :
.blog a.popup-link {
display: none!important;
}Thanks for your help.
June 3, 2019 at 11:58 pm #99238wensolutionsKeymasterHello
First of all, we would like to apologize for all the misunderstandings. Please attach the below given CSS to remove the red icon that appears when hovering on the post.
#primary article.masonry-entry.hentry .popup-link { position: relative; display: none; }
Also we did spot the difference in the homepage after all your elaboration. We will be more than happy to assist you for any further query/confusion.
Best Regards!
June 4, 2019 at 4:51 am #99271SylvainParticipantHi, it works perfectly, thanks a lot.
June 4, 2019 at 5:57 am #99279wensolutionsKeymasterHello,
Glad we could help you.
If you have any issue further kindly let us know.
Thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.