Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    25
    Plugin Contributions
    0

    css problem EZpages TOC heading colour

    how do I change the heading font colour for EZpages TOC? I want it to be a different colour to the font colour defined in "body" (first para on CSS stylesheet).

    i would also prefer to change the colour of the page indicator in the TOC. how can I do this?

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

    Default Re: EZpages TOC heading colour

    Here is where you find out how useful the Firefox Web Developer extension is (you do have that installed, right? ;)

    The Information > Display Element Information button will show the class/id of any element you click on, and you can then style that in your stylesheet.

  3. #3
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    25
    Plugin Contributions
    0

    Default Re: EZpages TOC heading colour

    I don't have it, but I think I know what the element is -
    it's in templates/custom/templates/tpl_page_default.php

    <h2 id="ezPagesTOCHeading"><?php echo TEXT_EZ_PAGES_TABLE_CONTEXT; ?></h2>
    there is no ezPagesTOCHeading in the CSS.

    I believe the body text colour as defined in the css stylesheet here:
    body {
    margin: 0;
    padding: 1em;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 100%;
    color: #837967;
    background-color: #837967;
    }
    are governing the font color for both theheading and the '>" indicator

    I have tried setting H2 to the desired colour but that doesn't work, or if it does, I did it incorrectly.

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

    Default Re: EZpages TOC heading colour

    If a class or id is not mentioned in the stylesheet, you can add it.

    Looking at view source can work to locate an element's class/id, but I would advise you to get Web Developer and find out all the other useful things it can do for you.

    Try styling
    h2#ezPagesTOCHeading {}

  5. #5
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    25
    Plugin Contributions
    0

    Default Re: EZpages TOC heading colour

    thanks indeed.

 

 

Similar Threads

  1. v151 EZPages TOC
    By rush_woman in forum General Questions
    Replies: 2
    Last Post: 8 Oct 2013, 04:12 AM
  2. EZPages TOC Sidebox
    By Ajeh in forum Addon Sideboxes
    Replies: 18
    Last Post: 7 Dec 2008, 05:55 PM
  3. Back button on EZpages TOC
    By patski in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Sep 2008, 01:22 AM
  4. ezpages toc sidebox vs multilingual
    By ndudman in forum Addon Sideboxes
    Replies: 0
    Last Post: 29 Aug 2008, 04:31 PM
  5. SSL and EZPages TOC
    By boobear in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Mar 2007, 12:08 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