Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    18
    Plugin Contributions
    0

    Default Add a background image to the "mostly grey" template

    I would like to add a background image to the header of the "mostly grey template". This would allow me design a header image but keep the home/logout/my account and search buttons in place.

    This is a sample of what I'm trying to achieve:

    http://www.thailandunique.com/images/shop.gif

    Any help would be appreciated. Thanks.

  2. #2
    Join Date
    Nov 2005
    Location
    Ipswich, UK
    Posts
    21
    Plugin Contributions
    0

    Default Re: Add a background image to the "mostly grey" template

    You could try this:

    Find in YOUR_TEMPLATE/CSS/stylesheet.css (around line 175):

    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    }

    Remove "#headerWrapper, " at the front of the statement.

    Add a new statement just above:

    #headerWrapper {
    background-image: url(images/mybackgroundimage.gif);
    height: 100px; (**change this to your own height!**)
    width: 200px; (**change this to your own width!**)
    margin: 0em;
    padding: 0em;
    }


    It should work :)
    Adam Boyle

  3. #3
    Join Date
    Jan 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Add a background image to the "mostly grey" template

    Thanks Adam, I will try this tommorow and let you know how I get on.


  4. #4
    Join Date
    Jan 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Add a background image to the "mostly grey" template

    Ok I'm nearly there, the background image displays but not exactly how I want it. I would like the zencart title image and tag line in the middle removed, and I would like the background I have just placed to be under the cart home and login buttons in the top left. The image is actually 120px high but is being squashed by the top buttons.

    Sample here https://www.thailandunique.com/store

    Thanks for your help, Lee

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Add a background image to the "mostly grey" template

    The quick way to get this is to use your fav graphic program and change the header.jpg image to a gif and give it the nam logo.gif then replace the one at om/store/includes/templates/mostlygrey/images/logo.gif with the new one.

    Also remove the entry to display the current image
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v151 Want to add an image to the left side of my template, preferable in the grey area.
    By SilverHD in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Dec 2013, 05:32 AM
  2. Seamlessly Match the Colored Background Image onto the "Define Main Page" Area
    By cleverpork in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Aug 2011, 12:32 AM
  3. Replies: 0
    Last Post: 28 May 2009, 08:13 PM
  4. Help with CSS on Mostly Grey Template
    By KRW Knitwear in forum Addon Templates
    Replies: 4
    Last Post: 11 Jun 2008, 07:46 PM
  5. Can I add an Image to the "Contact Us" an the "About Us" page's
    By PetesTown in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Nov 2007, 05:02 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