Jump to content

Adding a background to subtitle text

Recommended Posts

Site URL: http://www.erindayhaw.squarespace.com

I want to preface this question with I am not very knowledgeable with design vocabulary within squarespace. 

I am using Image blocks with different designs (overlap, collage, etc) and I am including "subtitle" text on each one. 

However, I want to be able to add a background on the text. I am able to do it on the title of the image blocks, but not the "subtitle". 

Is there a CSS code I could insert to add a background to this text? Also, is there a way to add different colors of background text to different image blocks instead of the background being the same color for the entire website?

website is: http://www.erindayhaw.squarespace.com 

Edited by ErinDayhaw
messed up link
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

3 hours ago, ErinDayhaw said:

Site URL: http://www.erindayhaw.squarespace.com

I want to preface this question with I am not very knowledgeable with design vocabulary within squarespace. 

I am using Image blocks with different designs (overlap, collage, etc) and I am including "subtitle" text on each one. 

However, I want to be able to add a background on the text. I am able to do it on the title of the image blocks, but not the "subtitle". 

Is there a CSS code I could insert to add a background to this text? Also, is there a way to add different colors of background text to different image blocks instead of the background being the same color for the entire website?

website is: http://www.erindayhaw.squarespace.com 

Pls provide some screenshots of your issues that can help us a lot to find the solution

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 11/6/2021 at 8:08 AM, ErinDayhaw said:

here is a screen shot. thanks!

Screen Shot 2021-11-05 at 8.31.16 PM.png

Try adding to Design > Custom CSS

div#block-b41e08e1d2e3978ce02d .image-subtitle-wrapper {
    background-image: url(https://cdn.pixabay.com/photo/2021/11/02/15/30/tealights-6763542__340.jpg);
}

image.thumb.png.38811e46f2396b288960bc29e6554b22.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

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.