Jump to content

Centering text using Markdown - how?

Recommended Posts

I'm using the Basil template, and need to centre text using Markdown for a single section of an Index page.

I've referred to other posts and used their suggestions, but they are not working. it is likely to be something small that I'm doing wrong.

I'd be really grateful for help please. I've copied & pasted my Markdown below, and attached a colour screenshot of the same.


<strong>Win A Free Engagement Session!</strong>

Many thanks for any help!

screenshot-2019-07-11-at-163430.png.692d411dd019c631ab79b45ec2820e37.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Markdown doesn't have a centering option so you need to revert to using the old (now obsolete) HTML center tags or better still, inline styles. You'll find full details here:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Markdown doesn't have a centering option so you need to revert to using the old (now obsolete) HTML center tags or better still, inline styles. You'll find full details here:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.