Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1

    Default Add 2 images to the header

    Help! I've looked for hours in the FAQs and forums, and have read the book, but I can't seem to find the right answer for adding two images to my header. I have changed the logo and floated it in the middle. Now I want to add an image on both sides of the logo

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add 2 images to the header

    If your layout is a fixed width you can add this as a background image
    Zen-Venom Get Bitten

  3. #3

    Default Re: Add 2 images to the header

    I've made somewhat of an effort to that with no success. I'm a newbie, could you explain with more detail.

    Thanks for the quick reply!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add 2 images to the header

    How about a link to where you are
    Zen-Venom Get Bitten

  5. #5

    Default Re: Add 2 images to the header

    http://www.cstrucktops.com

    I like the idea of editing the stlyesheet, seems easier, but i'm not understanding

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add 2 images to the header

    You can try creating your images(not too wide & height to match) and attaching one to #logo and the other to #logoWrapper - float one left and the other right

    #logoWrapper {
    float: left;
    background-image: url(../images/left_bg.jpg);
    background-repeat: no-repeat;
    background-color: #ffffff;
    height: match heightpx;
    }
    #logo {
    float: right;
    background-image: url(../images/right_bg.jpg);
    background-repeat: no-repeat;
    background-color: #ffffff;
    height: match heightpx;
    }
    Zen-Venom Get Bitten

  7. #7

    Default Re: Add 2 images to the header

    I tried with no success. No images appeared on either side, and it moved my logo from the center to the right. the image size that I used is 125 x 97. Any ideas?

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add 2 images to the header

    I tried with no success. No images appeared on either side, and it moved my logo from the center to the right. the image size that I used is 125 x 97. Any ideas?
    Yoy added what was posted to your stylesheet correct?
    Where did you upload images to?
    Seems that logo is also responding to logoWrapper setting?

    Will have to use positioning for background check at w3schools
    Zen-Venom Get Bitten

  9. #9

    Default Re: Add 2 images to the header

    I have my logo centered in the stylesheet under #logo text-align: center.

    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg
    {text-align: center;}

    #logo
    {float: right;
    background-image: url(/home/cstruckt/public_html/images/cartoontruck1.jpg);
    background-repeat: no-repeat;
    background-color: #ffffff;
    height: 140px;}

    is this creating a problem?
    I have no image showing yet.
    My logo size is 600 x 140. Is this too big?

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add 2 images to the header

    Move images to includes/templates/CST/images/ and edit your calls from:
    Code:
    background-image: url(/home/cstruckt/public_html/images/cartoontruck1.jpg);
    to:
    Code:
    background-image: url(../images/cartoontruck1.jpg);
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Add Images to Header
    By fashion2 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jul 2013, 08:31 PM
  2. How to add the search to the main nav in the header?
    By melindaf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Sep 2009, 11:09 AM
  3. add banners under the search in the header
    By steveAR in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Mar 2009, 07:23 AM
  4. Change the header images in the main page
    By figo2476 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 May 2007, 04:49 AM
  5. How do you add to the links in the top header
    By dlaitila in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2006, 06:10 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR