Jump to content

Product CSV import - Description - line break /font change

Recommended Posts

  • Replies 2
  • Views 287
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

1 hour ago, JessicaM said:

I haven't had any luck with this. I've used html in my import csv file before (like, <bold> or <br>) and it doesn't translate.

I'm not having issues with <br>, it imports fine. <bold> is not a valid tag. It will import but will do nothing visually. You can use <b> or <strong>.

If you need to add attributes to your HTML be sure to use two double quotes, instead of a single double quote.

<span style=""text-decoration:underline"">Product</span>

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
Posted (edited)
Quote

Just wondering if you can change the font size or create a line break when entering your product description into a CSV file.

You can if you know HTML and keep in mind the two double quotes rule for HTML encoding.. For example.

<span style=""font-size : larger;"">Code</span>

I am dubious that this is a good way to go. The issue is that yes you can get the product description imported but Squarespace's product description editor is not a full blown HTML editor. I can see the custom HTML you brought in can easily be destroyed. Also, you can only edit the HTML within the options SS provides in their editor. I just confirmed that custom HTML is easily destroyed upon editing the description. The example HTML above was removed when I added an x to the bottom of the description. The text in the tag remained.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.