Jump to content

Mercer Template: Create Button on Poster Image Mercer Template

Recommended Posts

Site URL: https://parrotfish-plantain-r883.squarespace.com

I am trying to add a black background to the subtitle in the poster image after I have moved the subtitle to the left with custom code. The background however is much longer than the text. Can anyone help?

I used the code below to move the text left and add a black background. this background should however stop after call

#block-yui_3_17_2_1_1608563013610_29892 .image-subtitle.sqs-dynamic-text {
  text-align: left;
  background: black;
}

Schermata 2021-01-15 alle 18.30.20.png

Link to comment
  • Replies 3
  • Created
  • Last Reply
11 hours ago, shimejicreatives said:

I added a text box now. the website is https://parrotfish-plantain-r883.squarespace.com but would need the text further left. This is how far left it went with alight left via css.

Add to Design > Custom CSS

/* Book your call */
div#block-yui_3_17_2_1_1608563013610_29892 a {
    background: black;
    color: white;
    padding: 5px;
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.