Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    Plugin Contributions
    0

    Default CSS 'virgin' modifying Product Category text

    Good evening zenners,

    I have only touched a css file since zenning, and it was only the colors.css in my custom template, which was easy enough.

    I added some products that (eventually) will be showcased, and other items that will be 'add to cart'. So - my new Document-General box title is showing funky colors. I want it to be white against plum background and similar font as my other boxes.

    I found a file in my custom template folder called stylesheet_categories_menu.css containing the following:

    body { behavior: url(includes/csshover.htc);} /* WinIE behavior call */
    div#nav-cat {float: left; width: 140px; margin: -1px 0 0 -1px;
    background-color: #CE318C; font-weight:bold;}
    div#nav-cat ul {margin: 0; padding: 0; width: 140px; background-color: #3C097A;
    /* border: 1px solid #AAA;*/}
    div#nav-cat ul.level2 {background-color: #3C097A;}
    div#nav-cat ul.level3 {background-color: #3c097A;}
    div#nav-cat ul.level4 {background-color: #3C097A;}
    div#nav-cat ul.level5 {background-color: #3C097A;}
    div#nav-cat ul.level6 {background-color: #3C097A;}
    div#nav-cat li {position: relative; list-style: none; margin: 0;
    margin-top: 5px; /* change it to whatever space you want to put space between buttons*/
    border-bottom: 1px solid #CCC; /* <---this line may help or hinder IE menu shifting issues */
    }
    div#nav-cat li li {
    margin: 0; /* this overrides the margin-top in the declaration above */
    }
    div#nav-cat li:hover {background-color: #CE318C;}
    div#nav-cat li.submenu {
    background: url(../images/submenu.gif) 95% 50% no-repeat;
    background-color: #3c097A;}
    div#nav-cat li.submenu:hover {background-color: #CE318C;}
    div#nav-cat li a {display: block; padding: 0.25em 0 0.25em 0.5em;
    text-decoration: none; width: 140px; color: white;}
    /*border-left: 0.5em solid #BBB;}
    div#nav li a:hover {border-left-color: red;}*/
    div#nav-cat>ul a {width: auto;}
    div#nav-cat ul ul {position: absolute; top: 0; left: 140px;
    display: none;}
    div#nav-cat ul.level1 li.submenu:hover ul.level2,
    div#nav-cat ul.level2 li.submenu:hover ul.level3,
    div#nav-cat ul.level3 li.submenu:hover ul.level4,
    div#nav-cat ul.level4 li.submenu:hover ul.level5,
    div#nav-cat ul.level5 li.submenu:hover ul.level6 {display:block;}

    Is somewhere in here where I'd make the change. You can see what's going on by clicking on my site link below. Its the first box entitled "Invitations."

    Thank you eveyone, in advance.

    Laura

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: CSS 'virgin' modifying Product Category text

    Did you get it figured out? Looks like the category box in FireFox.

  3. #3
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    Plugin Contributions
    0

    Default Re: CSS 'virgin' modifying Product Category text

    Not a clue, Kim. I need some hand holding on this until I get more CSS literate.

    If anyone knows a good online flash-type tutorial (my learning modality is more experiental and auditory - I fall asleep 2 pages into a book), I'd appreciate it. I'm in a semi-rural area and finding an instructor, private or otherwise is a challenge.

    Thanks,
    Laura

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: CSS 'virgin' modifying Product Category text

    FYI ... the "stylesheet_categories_menu.css" is from the CSS flyout menu contribution.... which I don't think you're using anymore...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    May 2006
    Location
    Australia
    Posts
    110
    Plugin Contributions
    2

    Default Re: CSS 'virgin' modifying Product Category text

    Ohhh, I think I know what you mean.

    You want the word 'Invitations' to be white instead of plum? The reason it's plum is because it's a link, and all your links are styled that colour. If you want to change all the links that show up in the sidebox headings, then add the following lines to your main stylesheet.

    Code:
    .leftBoxHeading a, leftBoxHeading a:visted {
       color: #fff !important;
    }

  6. #6
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    Plugin Contributions
    0

    Default Re: CSS 'virgin' modifying Product Category text

    Thanks - like I said - I have zero knowledge of navigating these css files. I installed the flyout mod and have a prob with that (which I posted in another thread in a different forum category to no avail),

    but,

    any assistance on this issue would be greatly appreciated.

    ~Laura

  7. #7
    Join Date
    May 2006
    Location
    Australia
    Posts
    110
    Plugin Contributions
    2

    Default Re: CSS 'virgin' modifying Product Category text

    Find the file named 'colors.css', open it up in a text editor. At the very bottom of the file, paste in the code I provided in my first post, then save the file.

  8. #8
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    Plugin Contributions
    0

    Default Re: CSS 'virgin' modifying Product Category text

    Quote Originally Posted by Rowan
    Find the file named 'colors.css', open it up in a text editor. At the very bottom of the file, paste in the code I provided in my first post, then save the file.
    Thank you so much for your input. I did as you asked and it doesn't seem to be effecting a change.

    Any ideas?

    I'm curious as to why this box (which is actually is the Document-General box), shows its heading as a link as opposed to the other headers.

  9. #9
    Join Date
    Jun 2006
    Location
    Taos,NM
    Posts
    320
    Plugin Contributions
    0

    Default Re: CSS 'virgin' modifying Product Category text

    Quote Originally Posted by Rowan
    Code:
    .leftBoxHeading a, leftBoxHeading a:visted {
       color: #fff !important;
    }
    Whoo-hoo - its worked - I just fixed the typo in the code (visted to visited)

    You are a rock star! Thank you.

    (By the way I love you signature - is that from Michelangelo?)
    Last edited by DesignbyDemeter; 3 Aug 2006 at 07:14 AM.

  10. #10
    Join Date
    May 2006
    Location
    Australia
    Posts
    110
    Plugin Contributions
    2

    Default Re: CSS 'virgin' modifying Product Category text

    Yeah.

    I made some mistakes in the first post.

    Try pasting this over the top:

    Code:
    .leftBoxHeading a, .leftBoxHeading a:visited {
       color: #fff !important;
    }
    Edit: I have no idea where my signature is from.

 

 

Similar Threads

  1. Modifying text color from category in file
    By jurg1505 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Nov 2011, 03:34 PM
  2. I need a Push::: Modifying Category & Product Pages
    By zenHomeboy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Aug 2010, 03:49 AM
  3. Simple Question - Modifying the "Product Image" text
    By adamhyman in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Apr 2010, 01:54 AM
  4. CSS issues with category text
    By KismetDesign in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jul 2009, 02:55 AM
  5. creating new templates for CSS/PHP virgin
    By Sutekh in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 8 Jun 2006, 04:10 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