Jump to content

Having Trouble with Text Formatting on Portfolio Pages

Recommended Posts

Hello,

I've been able to add <BR> text in image captions on standard galleries. I'm trying to break text onto multiple lines on a Portfolio basic grid -- but have been unsuccessful in the <BR> tag being read the same way it is in galleries.

 

Is there a way to add that into the custom CSS? 

 

The below worked fine to center the portfolio text - but the line break is where I'm stuck. Thanks!

 


.portfolio-grid-basic {    
  text-align: center !important;
flex-direction: column;
    justify-content: center;
    align-items: center;}

Link to comment
  • Replies 2
  • Views 227
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

19 hours ago, GSS2 said:

Hello,

I've been able to add <BR> text in image captions on standard galleries. I'm trying to break text onto multiple lines on a Portfolio basic grid -- but have been unsuccessful in the <BR> tag being read the same way it is in galleries.

 

Is there a way to add that into the custom CSS? 

 

The below worked fine to center the portfolio text - but the line break is where I'm stuck. Thanks!

 


.portfolio-grid-basic {    
  text-align: center !important;
flex-direction: column;
    justify-content: center;
    align-items: center;}

Can you share your site so I can ke check it easide

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.