Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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.

    #281630

    Hey 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.
    #281655

    Thanks 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.
    Trevor

    #281659

    Hi!

    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 them

    div.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,
    Yigit

    #281738

    Perfect! 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.
    Trevor

    #281746

    Looks like I spoke too soon. The titles are still clickable for some reason.

    #281935

    Hi Trevor,

    Can you post the link to the portfolio page please?

    Regards,
    Josue

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