Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / product description font

product description font

Views: 1,675

Results 1 to 11 of 11
1 Oct 2011, 12:03 PM
#1
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

product description font

I had been adding products only that all my fonts are not the same. is there a way to change the font on all the product descriptions at one time? I only have 160 or so products on there now so its not a deal breaker but it would help if I could.

Also, is there a way to export all my products into a .csv file and add to it, then upload it?

1 Oct 2011, 12:26 PM
#2
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

One more thing. The descriptions I am copy pasting from the manufacturers site is showing up with a white background and black text when my template is dark grey. Is there a way to change that in the css?

1 Oct 2011, 12:57 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: product description font

  1. We'd have to see the site to know for sure, but adding this to the stylesheet would work on a stock Zencart installation:

#productDescription {font-family: arial;}

  1. Search the Free Software Add Ons for easy populate.
1 Oct 2011, 1:27 PM
#4
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

I searched my css and this is the only entry that matches. Can it be changed to aerial 10pt.?

#productDescription, .shippingEstimatorWrapper {
padding: 0.5em;

1 Oct 2011, 3:16 PM
#5
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

ok, I did a search and did not find this particular issue.

I want to make it so that when I put in a new product, the default font is set to 10 rather than 12. I found the code and changed it in css but it can be overridden by the 12 set int he product description box.

How do I change that? This is what I changed in css

body {
color:#999;
font: 12px arial, sans-serif;
background-color:#000;
margin:0 15px;

I changed it to
body {
color:#999;
font: 10px arial, sans-serif;
background-color:#000;
margin:0 15px;

This works but the prod desc box has 12 in it automatically and it will show up as 12 in the prod desc when live as 12.

1 Oct 2011, 4:12 PM
#6
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

hmm,. never mind. That didn't work.

1 Oct 2011, 4:29 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: product description font

Again, we don't know what template you're using so I can't say for sure - try it and see.

1 Oct 2011, 4:49 PM
#8
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

ok, I killed all the categories except 2. I tried what you recommended and it didn't work. I am open to other ideas.

Here is my site. http://www.thepistoldepot.com/store/

1 Oct 2011, 4:51 PM
#9
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

I am working on it right now so you may see some changes happening.

1 Oct 2011, 5:08 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: product description font

You've copied and pasted the manufacturers' text with some kind of WYSIWYG editor, which leaves the inline styling they used, which will override anything you do in the stylesheet.

You need to paste that copy into Zencart as plain text, then style it in the stylesheet. Your editor may have that option. If not, you can paste it into a text editor like Notepad, then copy it again from there.

1 Oct 2011, 5:15 PM
#11
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: product description font

Cool, that is what I found too. I just wasn't aware it would over ride the CSS. Ok, looks like its into notepad first. Thanks. I copied it directly off their site and into the product description so it must be that way on their site.