View Full Version : How to size the text area attribute
HelenaM
09-05-06, 07:06 PM
I tried to add a text area attribute to one of my products - but it comes out huge on the page. Is there a way to size it? I can't figure this out.
I'm using e-Commerce Made Easier - and on page 87 they should a page using the different types of attributes. I would like my text area attribute to look like the one on page 87.
Thanks for your help!
Helena
Try Product Template Manager by Sebenza
http://www.sebenza.com/products/SS-PRODTEMPLATES5.html
HelenaM
09-05-06, 07:24 PM
Isn't there a way to do this without purchasing a module??
Helena
Isn't there a way to do this without purchasing a module??
My recommendation would be to use the module.
In some situations such as when the same attributes are displayed for all products -
The <mvt:item name="product_attributes" param="product:id" /> token could be replaced with the appropriate html code.
Use the html source code that Miva Merchant creates as a starting point.
Great care is needed in using this approach, and I don't advise doing it. But you asked. And there may be another approach that I'm not aware of.
HelenaM
09-06-06, 06:14 AM
Does anyone know how this was done in e-Commerce Made Easier - and on page 87? I would think they would mention if they used an add-on module to accomplish what they described in the book. It's written very well - telling you when modules are used or can be used to do certain things. I would be surprised if you couldn't do it the way it was in the book.
Helena
mfrench
10-24-06, 12:21 PM
You can size the text areas (width and height) on a product display page with CSS.
Make sure the the following amendment is included in your product display layout code:
<div id = "productAttributes">
<mvt:item name="product_attributes" param="product:id" />
</div>
Then in your CSS:
#productAttributes textarea {
width: 175px;
height: 100px;
}
Seemed to work for me.
masters
12-26-08, 09:38 PM
I set the width to 100% and it stayed contained..
I had almost forgot to div wrap the missing attribute page too..
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.