Jump to content

Make images clickable even they are overlay with text.

Go to solution Solved by Web_Solutions,

Recommended Posts

Hello,

I would like to ask you for help.
Is it possible to make my images clickable even they are fully covered by text box?

1. I would like to make them clickable so the URL which is linked to the image works even they are fully covered by text.

2. I would like to also add the hover effect to slightly make the image lighter one the mouser hover over the image.

Would it be possible to create the css code which could be applicable not for shared URL but also for other pages which are basically copies of shared one? 

Here is the URL: https://www.slovakspots.com/bratislava
Password: Ulicajekrasnydom

Thank you very much for your help!

Link to comment
  • Solution
16 hours ago, GregOvens said:

Hello,

I would like to ask you for help.
Is it possible to make my images clickable even they are fully covered by text box?

1. I would like to make them clickable so the URL which is linked to the image works even they are fully covered by text.

2. I would like to also add the hover effect to slightly make the image lighter one the mouser hover over the image.

Would it be possible to create the css code which could be applicable not for shared URL but also for other pages which are basically copies of shared one? 

Here is the URL: https://www.slovakspots.com/bratislava
Password: Ulicajekrasnydom

Thank you very much for your help!

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

body:not(.sqs-edit-mode-active) [data-section-id="662923d60e42db6277a9adb7"]  .fe-block:has(.html-block) {
    pointer-events: none !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

You can use this CSS code to add hover effect

[data-section-id="662923d60e42db6277a9adb7"] {
a.sqs-block-image-link:after {
    content: "";
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s;
}
div.image-block:hover a.sqs-block-image-link:after {
    opacity: 1;
    transition: all 0.3s;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.