Jump to content

moving text left on banner

Recommended Posts

Hi!

I've moved my banner text to the left on my homepage (using Bryant template) and now i unfortunately need the rest of the banner texts to be CENTERED. I've used the following css code to move the text to the left but now it applies to all my pages which I don't want.

 

css code: 

.desc-wrapper {
   margin: 0 !important;
   text-align: left!important;
}

 

Does anyone have any idea how to make a code that ONLY puts the banner text on the left on the homepage? 

 

Best,

Christine 

Link to comment

You can target just that one text block, so something like 

#block-5f524e504e7c943516ebdfe6 .desc-wrapper {
   margin: 0 !important;
   text-align: left!important;
}

Use the Squarespace ID finder Chrome extension to easily find your unique Block ID.

christyprice.com  🇺🇸 Austin, TX US 

  For Web Designers: Squarespace Client Process Checklist. Save time and bring consistency to your web design projects. Receive a Notion doc template with my 100+ item client process checklist.

Link to comment

Add to Home > Design > Custom CSS

body#collection-5f50be931891da781ba1c801 .desc-wrapper {
    text-align: left !important;
}

 

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

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.