New Zenner
- Join Date:
- Sep 2006
- Posts:
- 52
- Plugin Contributions:
- 0
Changing Main Font
I would like to change all the main pages title font from Verdanda to Monotype Corsiva without changing all of the other references too-just the titles.
Views: 4,173
New Zenner
I would like to change all the main pages title font from Verdanda to Monotype Corsiva without changing all of the other references too-just the titles.
Totally Zenned
I believe this inserted at the bottom of you stylesheet will take care of it on the mainpage:```
h1#indexCategoriesHeading {font-family: Monotype Corsiva, verdana, arial, helvetica, sans-serif;}
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
Totally Zenned
the following should work for the product listing pages:```
h1#productListingHeading {font-family: Monotype Corsiva, verdana, arial, helvetica, sans-serif;}
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
Too Much...worked like a charm...why don;t you work for zencart??? Hope you are a programmer of some sort!
Bradd
New Zenner
Oppps...worked on the main heading but now the products listings...
Totally Zenned
ooops my bad:blush: remove the "ing" off of the word listing in that second one:cool:
Should be h1#productListHeading
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
Beautiful! One last question, Any way to put more space between the top 'Displaying 1 of..." and the product picture?
Totally Zenned
your gonna need this one too:```
h1#productName.productGeneral {font-family: Monotype Corsiva, verdana, arial, helvetica, sans-serif;}
click on any of the new products for october and you'll see why:wink2:
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
Totally Zenned
could also group these together in one rule....cleaner:```
h1#indexCategoriesHeading, h1#productListingHeading, h1#productName.productGeneral {font-family: Monotype Corsiva, verdana, arial, helvevitica, sans-serif;}
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
Cool...don;t care much for clean because I am just learning. If I leave them they way they are I'll remember them better.
Bradd
Totally Zenned
.navSplitPagesResult {margin: 5px;}
```:cool:
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
First of all, thanks for posting this question. = )
Now.. what page is this code found in?
Totally Zenned
LyttonFinds,
This is in the stylesheet.
includes/templates/your_custom_template/css
You are using overrides right.....yes I know you are......
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
I just copied and pasted it to the bottom of that stylesheet and it didn't work. Is that where I paste it?
Totally Zenned
gotta url?
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
Totally Zenned
well that rule set does work I just tested on your site. If you want to change the "welcome....." on your index page then you would need to add "h2.greeting" to the rule.
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
New Zenner
Hey Mike,
I used it and it works perfectly. You can even change the size of the font on the other pages by adding 'font-size:' attribute directly in the listing you sent and it overrules the h1! Love it. Was this posted somewhere because lot of people have asked for this simple mod?
New Zenner
okay, i'm in the stylesheet for the template... i do see all the h1, h2, etc spots.. this is what they look like
h2 {
font-size: 1.4em;
}
Is this where you're talking about adding what you suggested?
New Zenner
Ah ha.. i found it. I see what you're talking about now. I was able to make the "welcome..." message bigger/smaller. Thanks!
Now where do I do this for the other content, the content actually found in the main_page.php defined page? I'd like to make that font bigger as well.
Tell staff why this post should be reviewed.