Jump to content

Align Highlighted text in codeblock

Recommended Posts

Site URL: https://sphere-cuboid-rczs.squarespace.com/config/pages

I have used a code  ( see below) to highlight a text. This code I added to a codeblock. 

Only the text will not align to the center, it stays on the left.  Does anyone know how to fix this?


<h3 ><span class="highlight">logodesign </span></h3>
 <h3 ><span class="highlight">visitekaartjes</span></h3>
 <h3><span class="highlight">stationerydesign</span></h3> 

Screenshot 2021-04-16 at 14.00.51.png

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

On 4/18/2021 at 12:28 AM, Danielle72 said:

Hi, my site is not public yet because I am still working on it. 

Please let me know what you exactly need to help me with this issue.

Thks in advance!


Need link to page where you have problem. 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

I think I only need a part of a css code to fix this problem because it's a css code. The page with this issue works perfect with aligment except this part because of the css code I have added. See this code:

there is missing a standard text like : text; align or simular text to fix this. Only I don't know where or what text there is missing in the code to make the text centered.

<h3 ><span class="highlight">logodesign </span></h3>
 <h3 ><span class="highlight">visitekaartjes</span></h3>
 <h3><span class="highlight">stationerydesign</span></h3> 

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.