Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
will_nic

Hover caption on image - whole image as a clickable link

Question

Hi,

I have a series of image blocks on the home page which I would like some text (caption) to appear on hover.

 

I have used this code:

 

.layout-caption-overlay-hover .image-caption-wrapper {background:transparent!important; min-height:100%; top:40%!important;}

.layout-caption-overlay-hover .image-caption-wrapper h2, .layout-caption-overlay-hover .image-caption-wrapper p{color:white!important; transition:0.5s}

 

Which has pushed the image caption to the center and made the caption background transparent. However it has made only the top 40% portion of the image a clickable link. Is there a way to have the whole image clickable?

 

Cheers,

Will.

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Can you share link to page where you inserted these images? We can help easier.


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...