Jump to content

Links missing from custom-css-positioned images

Recommended Posts

Hi all, has anyone run into a similar problem to this?

I'm using CSS to position two elements in the top right of the viewport (as shown in the attached image), but the images are missing their link interactivity for some reason. They're set up as image blocks in the Fluid editor, and have links assigned in the editor as normal.

The code is:

/* MDC IG block */
#block-yui_3_17_2_1_1694644221057_3615 {
  position: fixed;
  width: 56px;
  height: 28px;
  top: 10px;
  right: 10px;
  z-index: 999;

/* H64 IG block */
  position: fixed;
  width: 56px;
  height: 28px;
  top: 40px;
  right: 10px;
  z-index: 998;

Any ideas?


Screenshot 2023-09-19 095020.png

Link to comment
On 9/22/2023 at 2:14 PM, dan_minty said:

Hi tuanphan, thanks for the reply.

URL is: https://carnation-chinchilla-fbm7.squarespace.com/

PW: dolphin

I added a border to the header area to make it easier to see where the cut-off is when I was moving around the MDC instagram image div block. The image becomes clickable exactly where the border of the header ends vertically.

I can't find code to fix this, but if you use a Business Plan or higher, I can give another code to add clickable images, you can adjust code easier

Or if you use Personal Plan, you can move both images to Site Footer, then use above code again (change block id), I think it should work, or if it still doesn't work, add this code under

footer.sections, footer.sections section {
	z-index: 99999 !important;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 weeks later...

Thanks for the advice tuanphan. The site is on a Personal Plan so a deeper code fix isn't possible. My solution is just to move the image links downwards so they don't sit under the header block. It won't look as clean but holy moly I've spent too much time on trying to fix this problem. Thanks again for looking at it for me.

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.