Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Header / Footer Color Transparancy

    My site is www.creative-soaps.com and I am playing with stylesheet.css and background images. My question is how do I set just the header and footer to transparent without affecting the main body? I have thus far managed to make the whole page transparent but cant isolate the header and footer.
    I'm using firefox addons like firebug to locate #NavWrapper and #LogoWrapper.

    Thanks in advance

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

    Default Re: Header / Footer Color Transparancy

    Make #mainWrapper, #headerWrapper and #navSuppWrapper (and any required sub-elements) transparent, and set the background you want for #contentMainWrapper (the whole section between header and footer).

  3. #3
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: Header / Footer Color Transparancy

    Hi,
    I've made those changes as can be seen on the site now but I think the css may be grouping the header and the main body meaning when I change background-color: #fffff to #transparent it makes the whole lot transparent.

    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    background-color: #ffffff;
    margin: 0em;
    padding: 0em;
    }
    .topper-menu li {
    font: 11px verdana;
    float: left;
    margin: 9px 2px 0 14px;
    }

    It also leaves two bands of white around the banner.

  4. #4
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: Header / Footer Color Transparancy

    solved the two white parts. I hadn't changed the logo wrapper

  5. #5
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: Header / Footer Color Transparancy

    Fixed it thanks - I hadn't closed the parenthesis } off.
    This is the chaneg I made.

    #headerWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    background-color: #transparent;
    margin: 0em;
    padding: 0em;
    }

    .topper-menu li {
    font: 11px verdana;
    float: left;
    margin: 9px 2px 0 14px;
    }
    #contentMainWrapper{
    background-color: #ffffff;
    }

    Thanks for the help

 

 

Similar Threads

  1. v152 Header footer color
    By wudchuk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Mar 2014, 11:47 AM
  2. Header & Footer Bar Color
    By russellmcox in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jul 2009, 09:58 AM
  3. Header/Footer bar color
    By benob1 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 8 Apr 2009, 07:35 AM
  4. Change header and footer color
    By hara in forum Basic Configuration
    Replies: 1
    Last Post: 18 Feb 2009, 04:53 AM
  5. Change Header/Footer color
    By tkelley66 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Aug 2008, 09:42 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