Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

Main Product Description Style (Width)

How can I change the width of my product descriptions? Is this is the stylesheet?
asked Oct 23, 2013 in General by stlayman (110 points)

2 Answers

0 votes
What page is this on? Is it on the product page itself? Do you have a link?
answered Oct 24, 2013 by Skriver (2,345 points)
0 votes
It depends on the Xml package you're using to display the product.  I'm going to use product.SimpleProduct.xml.config as an example.

In most Xml packages it's going to be called "Description" or the variable "$pDescription" (as is the case in product.SimpleProduct.xml.config).  Look for that in the Xml package, and in most cases you'll find it's in a div tag.  Unfortunately, the div tag has no class on it to attach a style, so you'd need ot do that.  Like so:

<div><xsl:value-of select="$pDescription" disable-output-escaping="yes"/></div>

to

<div class="descriptionProductDiv"><xsl:value-of select="$pDescription" disable-output-escaping="yes"/></div>

Then you could add your style to style.css in App_Themes\Skin_1.
answered Oct 30, 2013 by Vortx Joe (550 points)
...