Jump to content

Is it possible to change text highlight position or size

Recommended Posts

Posted

I'm using a custom font on my site and when I use the highlight feature, the highlight appears dropped a few pixels. Is there a way to align it with the text so they are centered vertically? Move the text up/down or move the highlight up/down? I tried a position shift on the h tag but the highlight moves with it.

I'm not sure if it's because of the custom font or not but maybe there's a work around to get it to line up again?

thanks for any suggestions.

https://www.jaguarbolera.com

https://www.jaguarbolera.com/about

 

image.thumb.png.babc563d262930540db223d7d9cf7cdb.png

  • Replies 2
  • Views 2.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 3 months later...
Posted
On 1/28/2024 at 3:32 AM, tuanphan said:

You can use this CSS code

div#block-479cce6a9f5be11d7c6b .TextShape-node {
    top: 7px !important;
}

image.png.e67c7f1fd1ab4cf407f04f85ae4cc7a1.pngI think we can use CSS code to set background color behind text, it would be easier

 

following up on this. What would be the CSS to do this. On all h2 tags? I don't want to go through every block and use the .textshape code if I don't have to. What do you think?

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.