Page 5 of 5 FirstFirst ... 345
Results 41 to 46 of 46
  1. #41
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sideboxes with different colours?

    You have the class & id markers switched around. # = id, . = class. Also, you have two selectors that belong to different elements concatenated, which is the way to indicate that they both apply to the same element. They need to have a space between them (and be given in the exact order shown) to indicate that #categoriesHeading is inside .leftboxcontainer. Finally, #categoriesHeading is plenty specific to control the heading; you don't need .leftboxcontainer.

    Code:
    .leftboxcontainer #categoriesHeading {
        display:none;
    } 
    
    /*or just this*/
    #categoriesHeading {
        display:none;
    }

  2. #42
    Join Date
    Jan 2007
    Posts
    147
    Plugin Contributions
    0

    Default Re: Sideboxes with different colours?

    Fantastic! The second suggestion did it! Thank you so much!

  3. #43
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    286
    Plugin Contributions
    0

    Default Re: Sideboxes with different colours?

    I have a related question. I figured out how to change the header images for my side boxes, but I don't want the same image appearing as my Center Box heading. Here is my stylesheet coding right now:

    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    padding: 0.5em 0.2em;
    }

    I tried replacing it with this, but when I did, the centerBox heading completely disappeared:

    .leftBoxHeading, .rightBoxHeading {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    padding: 0.5em 0.2em;
    }

    .centerBoxHeading, {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile2_back.gif);
    padding: 0.5em 0.2em;
    }

    I'm sure I'm missing something simple. Can you help? Thanks!

  4. #44
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Sideboxes with different colours?

    .centerBoxHeading, {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile2_back.gif);
    padding: 0.5em 0.2em;
    }

    I'm sure I'm missing something simple. Can you help? Thanks!
    You have an extra comma that's not required
    i..e should be
    Code:
    .centerBoxHeading {
    margin: 0em;
    background-color: #abbbd3;
    background-image: url(../images/tile2_back.gif);
    padding: 0.5em 0.2em;
    }

  5. #45
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    286
    Plugin Contributions
    0

    Default Re: Sideboxes with different colours?

    THANK YOU!!! I knew I was missing something simple...

  6. #46
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Sideboxes with different colours?

    Quote Originally Posted by gizmo_girl View Post
    THANK YOU!!! I knew I was missing something simple...
    Pleased to hear problem sorted..well done!!

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. Adding different quantities for different colours of a product
    By Daydreamer2007 in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 23 Jan 2012, 09:34 PM
  2. colours of search box etc and sideboxes
    By maxy007 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2011, 10:48 AM
  3. Making two different sideboxes with categories
    By Mersey Internet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Oct 2009, 11:32 PM
  4. Problem with different link colours
    By TeeGee in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 May 2008, 10:16 PM
  5. Replies: 7
    Last Post: 23 Aug 2006, 06:14 PM

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