Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    110
    Plugin Contributions
    0

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

    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

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

    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:

    PHP Code:
    .pageHeading {
         
    font-size3em;
         
    color#aabbcc;
         

    and style to your heart's content.

  3. #3
    Join Date
    Aug 2006
    Posts
    110
    Plugin Contributions
    0

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

    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.

  4. #4
    Join Date
    Aug 2006
    Posts
    110
    Plugin Contributions
    0

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

    Found It!

    another .css in /admin

    Didn't realise there was one there:-)

 

 

Similar Threads

  1. Replies: 12
    Last Post: 15 Jul 2013, 03:39 AM
  2. v151 Is There A Gallery That Works??
    By Jonj1611 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Nov 2012, 07:44 PM
  3. Improved Attributes Controller says no stock available when there actually is.
    By shannda in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Sep 2006, 01:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg