Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    21
    Plugin Contributions
    0

    Default CSS stylesheet not taking affect

    I've been trying to change the color of my EZ Pages links from black to another color and ultimately be able to control other color aspects. I tracked down the stylesheet.css file in my template/css folder and added this code:

    #navEZPagesTop a {
    font-size:12px;
    color:#999966;
    }

    Nothing happened. I even tried changing other things and they are not taking effect. Do I have the wrong css? Is the template I am using prohibiting such changes? Am I insane?

    Any help on this would be greatly appreciated. Here is a link to our site in progress: http://www.realholisticliving.com/nt...ain_page=index

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: CSS stylesheet not taking affect

    You're using a Template Monster template that has completely re-written the template structure, invalidating most if not all of the normal Zen Cart styling solutions that you'll find on this site. Indeed, it seems odd that they have included the Zen Cart CSSat all, since it doesn't appear to do anything other than cause confusion and slow your site down.

    To do what you say you want to do, you would need to find the following block in your stylesheet_tm.css
    .user_menu2 li a {
    color:#000000;
    display:block;
    padding:2px 31px 3px 45px;
    text-decoration:none;
    }
    and change it to
    .user_menu2 li a {
    color:#999966;
    display:block;
    padding:2px 31px 3px 45px;
    text-decoration:none;
    }
    Though I suspect that you will find that the links are virtually unreadable on the green background.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Aug 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: CSS stylesheet not taking affect

    Thanks so much Kuroi. This was a great help and now I can finally change some of the other font colors! Thank you for a Zen moment!

    Adam

  4. #4
    Join Date
    Aug 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: CSS stylesheet not taking affect

    Kuroi,
    I have an issue with this again. I ended up changing the ez page headers to white and they looked great with your advice! I had a few unrelated issues and let monster templates have their way with my site. They reverted the ez pages links to green and they are spaced differently! I can't fix them the same way. Here is a link to our page now. Any help on this would be greatly appreciated!
    Here is a link:
    http://www.realholisticliving.com/nt...ain_page=index

    Thanks,
    Adam

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: CSS stylesheet not taking affect

    If you're wanting the ez-pages links to go to white then changing this (line 246 of your main stylesheet)
    #navEZPagesTop a {
    font-size:12px;
    color:#999966;
    }
    to this
    #navEZPagesTop a {
    font-size:12px;
    color:#FFFFFF;
    }
    should achieve that.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v153 My stylesheet.css changes arent immediately taking effect, standard steps taken.
    By evosmash in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Sep 2015, 02:23 AM
  2. Changes made to Stylesheet not taking effect
    By lani_ezara in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Jun 2010, 02:10 PM
  3. Stylesheet Changes affect other pages.
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2010, 03:52 AM
  4. custom stylesheet changes not taking effect
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2008, 08:50 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