Jump to content

Align Highlighted text in codeblock

Recommended Posts

Posted

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

  • Replies 5
  • Views 399
  • Created
  • Last Reply
Posted

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!

 

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

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> 

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.