Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default margins messed up

    Does anyone know how to fix this
    !!!!$~~GadgetBlvd.com~~$!!!!!

  2. #2
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: margins messed up

    What I meant was too not make the Banner to repeat, but to stay in the center
    !!!!$~~GadgetBlvd.com~~$!!!!!

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

    Default Re: margins messed up

    The best way would to not use this as a background image but as a logo image and leave the header background just a space that is white..

    If you have not edited the files to remove the logo but do not have a logo image in your template "green" images folder. rename the image to logo.jpg.
    In your includes/languages/english/green/ copy the header.php file to this folder and edit it finding this line and changing the red highlighted text
    Code:
    define('HEADER_LOGO_IMAGE', 'logo.jpg');
    You will have to edit your stylesheet to remove the background that you placed there.
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: margins messed up

    I still have the logo image and the code but forgot how I removed the logo, so i can put it back.

    But even if i put the banner as a logo won't i have to make the logo px size larger?

    Hope it wasn't confusing?
    !!!!$~~GadgetBlvd.com~~$!!!!!

  5. #5
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: margins messed up

    You have your layout set at 850px, but your background banner is only 760px. You can either make a new white background image, in your graphic program, 850px wide... add/center your current banner image onto it, then things should be okay when you upload it and overwrite the original. PM me if you want me to do that, while having a go at rounding the corners better.

    You can try this also, but I'm not sure if it will work... find in your stylesheet.css;
    Code:
    #logoWrapper{
        background-image: url(../images/header_bg.jpg);
        background-repeat: no-repeat;
        background-color: #ffffff;
        height:110px;
    }
    Try adding this declaration: text-align: center;
    That may center your current image as is.

  6. #6
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: margins messed up

    I tried the
    Code:
     text-align: center;
    but it didn't work.
    !!!!$~~GadgetBlvd.com~~$!!!!!

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

    Default Re: margins messed up

    I still recommend making it your logo.xxx and then you can adjust the positioning
    Zen-Venom Get Bitten

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

    Default Re: margins messed up

    "Text-align" is meant to control contents, not background.

    Try
    background-position: top center;
    or
    background-position: center center;

    This will center the background image in the wrapper.

  9. #9
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: margins messed up

    Thank you all i tried the
    Code:
    background-position: top center;
    and it is centered
    !!!!$~~GadgetBlvd.com~~$!!!!!

  10. #10
    Join Date
    Mar 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: margins messed up

    can someone please help me do something similar to this?

    i want to simply stretch my background whilst using a transparent logo.

    i want to define the background height in pix, but width in %.

    i do notice that this effects where the main body text starts though....sigh...

    please have a look at the wip.

    www.totalerc.com/zen

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing Margins
    By karenkte in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 May 2012, 01:39 PM
  2. template margins
    By artistic in forum General Questions
    Replies: 1
    Last Post: 5 Aug 2009, 07:53 PM
  3. Margins
    By BoostGost in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 22 Feb 2009, 02:51 AM
  4. Side Margins
    By silentpanic24 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2007, 01:12 AM
  5. Shopping Cart Margins are All Messed Up
    By terryrocks in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Oct 2006, 11:01 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