If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / An explanation of how css works - styles that aren't actually there.

An explanation of how css works - styles that aren't actually there.

Locked

Started by budfox on 11 Mar 2007, 9:46 PM · Views: 1,114

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
11 Mar 2007, 9:46 PM
#1
budfox avatar

budfox

Zen Follower

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

Post #1 by budfox

Hi all.

I'm trying to modify my invoice page.

This is easy enough, except I don't understand how css works in the following example:

There's this line:

<td class="pageHeading">

But my stylesheet doesn't have a style called 'pageHeading'......:(

It has lots of things that include the word 'Heading', but not that one. However, a style is certainly being applied, and I can change it to a different style if I wish.

Maybe I'm being a bit css stupid, and whilst I understand that there are lots of tricks to be played within a stylesheet, I can't fathom out how you can use a style that doesn't exist.

Can someone help, it's a bit frusttraing.

Many thanks

11 Mar 2007, 9:56 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #2 by gjh42

Until you make a declaration in the stylesheet, the tag in the code is simply null and does nothing. There are many tags in the ZC code that are just there for individual use when someone wants to customize a feature.

So put the class in your stylesheet:

.pageHeading {
     font-size: 3em;
     color: #aabbcc;
     }

and style to your heart's content.

12 Mar 2007, 7:46 AM
#3
budfox avatar

budfox

Zen Follower

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

Post #3 by budfox

Weird, there must be another style in play, because whatever is affecting that bit of the invoices has 'smallcaps' applied amongst other things.

Anyway, thanks for the help, I'lll go and make that style.

12 Mar 2007, 8:03 AM
#4
budfox avatar

budfox

Zen Follower

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

Post #4 by budfox

Found It!

another .css in /admin

Didn't realise there was one there:-)