Jump to content

Marta: How can I center align text using Markdown?

Recommended Posts

Hi!Please help.I like to have text on banner. I try to use Markdown and wrote:


<span style="font-family:proxima-nova; font-weight:700; color:#fff; font-size:2.5em;letter-spacing:2px; line-height: 110%; text-align:center"
>EARTHPOSITIVE®<br>THE MOST PROGRESSIVE ETHICAL CLOTHING ON EARTH</span>

The problem is that text does not align center. All other things are ok. I use Marta.

Im using now text as a picture and like to use pure text which is also search engine and responsive friendly.Please check banner (text is picture now) https://www.belik.fi

KRLeo Belikleo@belik.fiwww.belik.fihttps://www.belik.squarespace.com

Link to comment
  • Replies 1
  • Views 6.9k
  • Created
  • Last Reply

I found this solution:


<style>
.center {
   text-align: center;
   font-family:proxima-nova;
   font-weight:700;
   color:#fff;
   font-size:2.5em;
   line-height: 110%;
}
</style>
<div class="center">
<p>EARTHPOSITIVE®<br>THE MOST PROGRESSIVE ETHICAL CLOTHING ON EARTH</p>


Link to comment

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now 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.