-
AuthorPosts
-
June 19, 2014 at 10:27 pm #281428
Hi, could you tell me how (assuming it’s possible) to show Portfolio Grid image titles or titles and excerpts on hover only? If that is not possible, could you please tell me how to hide titles and excerpts when viewed on tablets (they appear fine on smaller devices)?
Thanks.June 20, 2014 at 2:23 pm #281630Hey trevorjohnston!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 990px) and (min-width: 481px) { div.grid-content { display: none!important; }}
Best regards,
Yigit- This reply was modified 10 years, 5 months ago by Yigit.
June 20, 2014 at 3:17 pm #281655Thanks very much Yigit. It’s fine with the title and excerpt on smaller devices where the images aren’t in a grid. Is it possible to keep them on the small devices but use that above code to block them from tablets?
Also, I would like to try the desktop portfolio with the title and excerpt appearing on hover only. Is that possible?
If I decide to keep the desktop titles and excerpts, how do I make them “unlinkable” so they don’t open to anything other than the lightbox?
Thanks again.
TrevorJune 20, 2014 at 3:25 pm #281659Hi!
I adjusted the code i posted in my previous post for tablets.
You can try following code to display title on hover but it would cause issues if elements have another elements below themdiv.grid-content { display: none; } article.main_color.inner-entry:hover > div.grid-content { display: block; }
and please add following code to make titles unclickable
div.grid-content { pointer-events: none; }
Best regards,
YigitJune 20, 2014 at 6:59 pm #281738Perfect! I decided to drop the display titles on hover idea and your other recommended code did the trick. I knew nothing about CSS when I started this project and bit by bit, thanks to you guys, I’m starting to learn and understand more and more each day.
Thanks again.
TrevorJune 20, 2014 at 7:22 pm #281746Looks like I spoke too soon. The titles are still clickable for some reason.
June 21, 2014 at 9:15 am #281935Hi Trevor,
Can you post the link to the portfolio page please?
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.