how do I change the main text font size and colour?
I have made admendments to my template css file however cant seem to find the right part to edit.
cheers
how do I change the main text font size and colour?
I have made admendments to my template css file however cant seem to find the right part to edit.
cheers
Ta,
admin panel/ tools/ define page editor/ define_main_page.php
- This is one place where you can edit the text and assign a <p>sample text</p>
- Or assign a id or class
- <div id="mainPageDesc"> Sample text <br /> More sample text<br />Last sample text.</div>
- Now use the stylesheet.css to control this element (div id)
- #mainPageDesc {font-size: 1.1em;}
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
I'm not sure if you meant "main" as haredo took it to mean, or whether you simply meant the base size of fonts when they aren't otherwise specified. If the latter...
Near the top of the stylesheet.css you'll find something like this:
Change that 62.5% to something larger, like 75% or (my preference) 80%. Other font sizes further down in the stylesheet will adjust automatically, since they're all in relative units. Unless, of course, your changes are in pixels.Code:body { margin: 0; font-family: verdana, arial, helvetica, sans-serif; font-size: 62.5%; color: #000000; background-color: #e5edf5; }
For the color, change the line in that block that specifies color. That will affect all text in the site that isn't otherwise assigned some other value in the stylesheet, so check your site thoroughly for unintended consequences.
Rob
Rob