Jump to content

Image-Only Promotional Pop-Up

Recommended Posts

  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
On 2/9/2023 at 8:59 AM, 3DDesign said:

Is there a way to only have any image display for a promotional pop-up?  My client created a .jpg in Canva and wants it displayed as the pop-up, but every layout style has text.  

Is there CSS for image-only pop-up?

I wrote a guide, see below.

#1. Click Website Tools (under Not Linked)

image

#2. Click Promotional Pop-Up

image.thumb.png.881f6409e3dc63f635839e639af7c8d9.png

#3. Click Display Popup

image.thumb.png.cb89840d6301e97f24a2d6d4a112fb6b.png

#4. Click CHANGE LAYOUT

image.thumb.png.ca7063ab46ee46303de415b4d5af9631.png

#5. Choose this layout (image, text, button) > Save

image.png.1ef1bec48204ec07a1965d21cf071b20.png

#6. An Image option will appear. Click on it.

image.png.c087e1d81da4508745a9a610f4e585c4.png

#7. Upload an image and Save

image.thumb.png.367196f4bf5ef090677a453747a328ff.png

You will have a result like this

image.thumb.png.2f5ed2503770359f53cbea0455bd8499.png

#8. Click ACTION

image.png.200084410449c247cfb0814749d55092.png

#9. Click “Click a Button” and enter a random link

image.png.ee5ab25a588c5445f1cc348c45aa856c.png

#10. Use this code to Custom CSS box to remove Text + Buttons from Popup

div.sqs-slice-group.group-copy {
    visibility: hidden !important;
}

image.png.d42d5ee983590b6eb59854f43721c706.png

#11. Result

image.thumb.png.13f08536dddac796731f756fccee22f9.png

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
On 6/11/2024 at 8:09 AM, Theresamo said:

Hi @tuanphan I need to add an image as a promotional pop up with a link going to a specific URL. What is the code to remove the text? And is it possible to be able to click on the pop-up and direct it to a URL?

You can read the quick guide I sent above.

Do #1 to #9

With #10, DO NOT use above code.

Use this new code to remove text + Make image clickable

div.sqs-slice-group.group-copy div.actions ul li a {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    color: transparent !important;
    background-color: transparent !important;
}
div.sqs-slice-group.group-copy * {
    opacity: 0 !important;
}
div.sqs-slice-group.group-copy * {
    position: static !important;
}

 

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.