Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change font size in Index.php?

Change font size in Index.php?

Locked

Views: 4,925

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Aug 2006, 11:35 PM
#1
chrisj avatar

chrisj

Zen Follower

Join Date:
Aug 2006
Posts:
104
Plugin Contributions:
0

Change font size in Index.php?

If I want to change the font size (and font color) of
'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'

would i do that on this line, in Index.php?

"define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); "

If not, where, how? Thanks.

30 Aug 2006, 12:44 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change font size in Index.php?

This is an h1 heading, so you could either adjust the h1 styling in your stylesheet, which would affect all h1 headings, or create a style specifically for #indexDefaultHeading.

30 Aug 2006, 12:59 AM
#3
chrisj avatar

chrisj

Zen Follower

Join Date:
Aug 2006
Posts:
104
Plugin Contributions:
0

Re: Change font size in Index.php?

Thank you for your reply.

I'd like to do that.

Where is "#indexDefaultHeading"?

Also, could you please give me an idea of how to "create a style specifically for #indexDefaultHeading" ?

Thanks.

31 Aug 2006, 11:10 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Change font size in Index.php?

You would simply add the following to your stylesheet (suitably edited to match your context)> #indexDefaultHeading {

color: red;
font-size: 150%;

}

1 Sep 2006, 11:11 PM
#5
chrisj avatar

chrisj

Zen Follower

Join Date:
Aug 2006
Posts:
104
Plugin Contributions:
0

Re: Change font size in Index.php?

thanks alot