Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Font used in product listing.

Font used in product listing.

Views: 1,326

Results 1 to 8 of 8
29 Apr 2011, 8:41 PM
#1
paul_the_first avatar

paul_the_first

New Zenner

Join Date:
Mar 2010
Posts:
54
Plugin Contributions:
0

Font used in product listing.

Is there an easy way to check that every product listing is using the same font and letter size, apart from checking each one individually?

Is it possible to change one setting to ensure all products are using the arial font, bold text and 10pt letter size?

I have over 1300 products so checking each one would be a time consuming task.

I know when I was entering some of the items I experimented with different settings and now I would like everything to be the same.

Thanks in advance for any help.

29 Apr 2011, 8:47 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Font used in product listing.

When you say "Product Listing", what are you referring to exactly?

The TEXT showing in product listings is stripped of any HTML formatting you may have hard-coded in the product description, because of dynamic truncation issues, and it assumes the style of the font declaration in the BODY declaration of your main CSS file.

So... it WILL all be the same font in a Product LISTING page.

However... in the Product INFO page, you may have hard-coded styles into the HTML... in which case there could be inconsistencies. If so, only a MANUAL CHECK will reveal these.

29 Apr 2011, 8:48 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Font used in product listing.

It seems you are unfamiliar with the functions of CSS files... How much do you know about CSS and how it is governed by ID and CLASS parameters in the HTML ?

30 Apr 2011, 6:21 AM
#4
paul_the_first avatar

paul_the_first

New Zenner

Join Date:
Mar 2010
Posts:
54
Plugin Contributions:
0

Re: Font used in product listing.

Sorry, I mean the actual description of the items. Some have larger text than others, italics, fonts etc. All I want to do is get them all the same the easiest way possible.

I have no idea about CSS codes etc as I have made many errors when trying to get my site looking as it does and have had to contact the hosting company many times to reset everything.

30 Apr 2011, 9:23 AM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Font used in product listing.

If this is the pet shop store, you've used a WYSIWYG editor of some kind to paste the descriptions into Zencart. This is never a good idea, and probably accounts for the differences.

If you post links to two specific pages which are different from each other, we can take a closer look.

30 Apr 2011, 9:25 AM
#6
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Font used in product listing.

Paul, if you are using Firefox then dload the Firebug plugin. Go to a product page, activate Firebug and click CSS and view stylesheet.css. You can tell what is what by clicking statements off and you'll see your screen change.

30 Apr 2011, 10:02 AM
#7
paul_the_first avatar

paul_the_first

New Zenner

Join Date:
Mar 2010
Posts:
54
Plugin Contributions:
0

Re: Font used in product listing.

For example I want this page

http://my-pet-shop.co.uk/pets/index.php?main_page=product_info&cPath=20_25&products_id=483

to have text that is the same as this page

http://my-pet-shop.co.uk/pets/index.php?main_page=product_info&cPath=2_4&products_id=5

I am currently working my way through the products 1 by 1 but it may be handy in the future if I decide to change again.

I added the products the normal way and I copy and pasted the descriptions from other sites.

30 Apr 2011, 12:26 PM
#8
stevesh avatar

stevesh

Black Belt

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

Re: Font used in product listing.

First of all, copying and pasting content from 'other sites' is not a good idea, and may be illegal if you don't have permission.

The fact that you've done that explains why you're having the problem, and there isn't much you can do about it except re-edit each one. Whoever created that copy on the other sites didn't necessarily use the same fonts, colors, etc. as the others.

Load both those pages you mentioned in your browser and view the source code for each - you'll see that the markup added by the editors the other sites used is different. One uses font-size=2, for example, and the other uses font-size=12px.