Jump to content

Can't change the header color in image caption

Recommended Posts

  • Replies 6
  • Views 377
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

past this code in custom css box

.sqs-block.image-block .image-caption-wrapper {
    background-color: #e5e5e5 !important;   (here you can change color code)
}

Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me email me here :- mandeepsquarespace@gmail.com

Website:-  dhanjalsolution.com

Best Hourly Rate :- $15 Per Hour

Link to comment

Hello Mdhanjal,

Thank you for your reply.

It's not working,

I tried putting h2 before the color but it's also not changing, I can weirdly change the background color of the header but not the header.

.sqs-block.image-block .image-caption-wrapper h2{
  background-color: black !important;} this worked but not the text itself

Link to comment
On 9/8/2021 at 8:28 PM, Yaraf said:

@tuanphan Hello,

https://tambourine-cranberry-zeh7.squarespace.com/

password: oryx@123

page: e-prescription

Add to Design > Custom CSS

/* E prescription image background */
div#page-section-6137366236fa2510953e425a figcaption.image-caption-wrapper {
    background-color: red !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.