Jump to content

Change Description Formatting for Products - CSV Import


Recommended Posts

Hi,

 

I was wondering if anyone had any success in inserting HTML formatting tags in their CSV import file for Product Descriptions. I don't want to do anything complicated (change font, size and insert line breaks).

 

I have not been able to accomplish this. Any ideas. I am using PS 1.6.0.6.

 

Thank you

 

Jason

Link to comment
Share on other sites

Yes, it is very simple..... remember to start a new row with <div> and end it with </div>, here is a real case from my site

<div>Ecco le principali caratteristiche del tappeto per bambini di Esprit Home modello 123:</div><div><b> Materiale: </b>100% acrilico</div><div><b> Spessore cm: </b>1.5</div><div><b> Dimensioni standard: </b>cm.70x140, cm.90x160, cm.120x180, cm.140x200, cm.170x240</div><div><b> Manutenzione: </b>aspirapolvere o battitappeto</div>

hope it helps you  :)

Navid

Link to comment
Share on other sites

You can give your div or p tags a css class and define font and font size for this class in your style sheet.

 

For example: <div class="mydescription"><p>First paragraph of the description</p><p>Here comes the next paragraph</p></div>

 

In your global.css you can define

 

div.mydescription p { font-size: 13px; font-family: Arial, sans-serif; }

 

just an example ...

Edited by prestamax (see edit history)
Link to comment
Share on other sites

@Prestamax: my product page includes some iFrame, how to use the same css of the theme?

 

In other words, I am not a tech expert but would like to use the same style sheet for the text included in the iFrame using the same font look of the theme: can you give an example of the code to format the text in the iFrame?

 

Thanks

Navid

Link to comment
Share on other sites

The content in the iframe cannot read the css of your theme and you don't have any other option but to either adapt your shop css to look like the content in the iframe or to change the css on the server where the content of the iframe is hosted.

Link to comment
Share on other sites

×
×
  • Create New...