Image Clickable

Hi,
How can I make the image in the image element cover the complete section it’s in? I tried changing the height and width and I can’t get it to cover the entire section. What am I doing wrong? Also, how can I add a link to the image element (Not the classic image element, the newer one)? I want to make it clickable.

Please advise.

Thank you!

Hello @quituck,

Thanks for writing in!

To get your issue resolved, please do this:
1.) Please make sure that the Global Container option in your Row settings is disabled.
2.) Add a link to your image element.
3.) IN the image element settings, find the “Customize” tab
4.) Insert this custom css in the image settings > Customize > Element CSS:

$el img {
  min-width: 100%;
  height: auto !important;
} 

We would love to know if this has worked for you. Thank you.

That didn’t work. See here (https://prnt.sc/ps31aq) The image isn’t covering the complete section. Also, I don’t know how to add a link to the image element.

Please advise.

Thank you!

Hey @quituck,

Please provide us the url of the page or at least an access to your site so we can check your settings.

Thank you in advance.

Okay. Will do.

Hello @quituck,

I was able to log in to your site. My problem is that I wasn’t able to find the page where you may have added the section. I could not see the pages so I cannot check for any draft or unpublished pages as well.

Please point me to which page so that I can investigate it and give you a more tailored solution.

Thanks.

That is because I deleted the section, since I couldn’t get it to work. I can create a draft if necessary.

Hey @quituck,

I created a test page in your site (see secure note) following the setup discussed and I couldn’t replicate your setup. The image spans fullwidth.

Regarding the link, enable the Link option under the Image options then set the URL.

Hope that helps.

It helped.

Problem solved.

Thank you!

Glad that we could be of help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.