Jump to content

Low Highlight Background Color Across Multiple Lines

Recommended Posts

Thanks to many online tutorials, I figured out how to do the low highlight background color that's very popular.

However I'm trying to do it across two lines and there are two issues that come up:

1. There is a little indent sort of thing on the longer length letter

2. My text is no longer centered on the page like I want it to be

This is the code I've used:

#block-yui_3_17_2_1_1649196265472_7139
h3 {background: linear-gradient(180deg, #FFF 60%, #D0A363 60%); display:inline;
}

And I've attached the image showing the issue.

Any help fixing those two things?

Screenshot (214).png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 4/6/2022 at 6:00 AM, bmceuen said:

Thanks to many online tutorials, I figured out how to do the low highlight background color that's very popular.

However I'm trying to do it across two lines and there are two issues that come up:

1. There is a little indent sort of thing on the longer length letter

2. My text is no longer centered on the page like I want it to be

This is the code I've used:

#block-yui_3_17_2_1_1649196265472_7139
h3 {background: linear-gradient(180deg, #FFF 60%, #D0A363 60%); display:inline;
}

And I've attached the image showing the issue.

Any help fixing those two things?

Screenshot (214).png

Can you share your site with the site-wide password so I can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.