Forums / Templates, Stylesheets, Page Layout / Word wrap problem in product info

Word wrap problem in product info

Locked

Views: 1,508

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Feb 2007, 8:06 PM
#1
eaglewu avatar

eaglewu

New Zenner

Join Date:
Jan 2007
Posts:
82
Plugin Contributions:
0

Word wrap problem in product info

Hello,

I try to remove the word wrap of "Shipping Weight: 24.5lbs "
in the product info page.
see example

http://www.hotdealspot.net/index.php?main_page=product_info&products_id=1

As to me, there is enough space to show "Shipping Weight: 24.5lbs " in one line, but it is wrapped. It looks like the width of those lines is defined in somewhere. But I can't find it.

Thanks for the help.

9 Feb 2007, 9:32 PM
#2
kaefee avatar

kaefee

New Zenner

Join Date:
Jan 2007
Posts:
40
Plugin Contributions:
0

Re: Word wrap problem in product info

Change this in your stylesheet.css file -

includes/templates/YOUR_TEMPLATE/CSS/stylesheet.css

.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
margin:0pt;
[B]width:47%;[/B]
}
```to

.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
margin:0pt;
[B]width:100%;[/B]
}

9 Feb 2007, 10:07 PM
#3
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

Re: Word wrap problem in product info

A note of caution -- doubling the width of several styles at once tends to cause more issues than it resolves.

Isolate the style that controls the shipping weight display on the page(s) in question, then change this and only this in stylesheet.css. Don't be afraid to remove one style from a cluster and set its characteristics individually.

10 Feb 2007, 3:28 AM
#4
eaglewu avatar

eaglewu

New Zenner

Join Date:
Jan 2007
Posts:
82
Plugin Contributions:
0

Re: Word wrap problem in product info

thank you.

10 Feb 2007, 3:04 PM
#5
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

Re: Word wrap problem in product info

You're welcome. :)