Jump to content

Have caption appear below image in simple slideshow gallery

Go to solution Solved by Web_Solutions,

Recommended Posts

Posted

Hi there!

I have a simple slideshow gallery I am making for a clients portfolio website- she wants the captions to appear below each image, but currently they sit directly over the image (see screenshot attached). I guess I need a custom css to fix this? thank you!!!

Screen Shot 2023-10-12 at 10.04.39 AM.png

Posted
1 hour ago, km_1991 said:

Hi there!

I have a simple slideshow gallery I am making for a clients portfolio website- she wants the captions to appear below each image, but currently they sit directly over the image (see screenshot attached). I guess I need a custom css to fix this? thank you!!!

Screen Shot 2023-10-12 at 10.04.39 AM.png

Can you share your website URL?

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.


 

  • Solution
Posted
14 minutes ago, km_1991 said:

https://saffron-contrabass-44fz.squarespace.com

password is "password" and if you click on the first imge (orange) it will bring up the lightbox i made but i want the caption below the image- not overlaying

 

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

.gallery-caption {
  top: 100% !important;
  margin-top: 0 !important;
}

 

Screenshot_229.png

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.


 

Posted

that worked! youre a life saver. One more question- is there any way to get rid of the white box that surrounds it? so nothing is covering the image?

Screen Shot 2023-10-12 at 2.02.44 PM.png

Posted
12 minutes ago, km_1991 said:

that worked! youre a life saver. One more question- is there any way to get rid of the white box that surrounds it? so nothing is covering the image?

Screen Shot 2023-10-12 at 2.02.44 PM.png

 

replace the code with these

.gallery-caption {
  top: 100% !important;
  margin-top: 0 !important;
  height: auto !important;
  background: transparent !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.


 

Posted

Hi again! So i am noticing that when i plugged that code in, the caption is GREAT but now the image that you have to click on to get there is effected. I guess what im saying is when i plug in your code that worked for me, the code to get my image descriptions to appear on hover are broken. 

I need the lightbox captions to be lower. THANKYOU!

website: 

www.selenasanders.squarespace.com

password is "password" 

Screen Shot 2023-10-17 at 8.39.20 PM.png

Screen Shot 2023-10-17 at 8.35.37 PM.png

Screen Shot 2023-10-17 at 8.39.58 PM.png

Screen Shot 2023-10-17 at 8.39.50 PM.png

Posted
On 10/12/2023 at 2:20 PM, Web_Solutions said:

 

replace the code with these

.gallery-caption {
  top: 100% !important;
  margin-top: 0 !important;
  height: auto !important;
  background: transparent !important;
}

 

Can this code be modified to adjust only mobile?

Posted
On 10/18/2023 at 6:44 AM, km_1991 said:

Hi again! So i am noticing that when i plugged that code in, the caption is GREAT but now the image that you have to click on to get there is effected. I guess what im saying is when i plug in your code that worked for me, the code to get my image descriptions to appear on hover are broken. 

I need the lightbox captions to be lower. THANKYOU!

website: 

www.selenasanders.squarespace.com

password is "password" 

Screen Shot 2023-10-17 at 8.39.20 PM.png

Screen Shot 2023-10-17 at 8.35.37 PM.png

Screen Shot 2023-10-17 at 8.39.58 PM.png

Screen Shot 2023-10-17 at 8.39.50 PM.png

Is the problem solved?

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.


 

Posted
5 hours ago, km_1991 said:

Can this code be modified to adjust only mobile?

 

This is for mobile code

@media only screen and (max-width: 767px) {
  .gallery-caption {
    top: 90% !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.


 

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.