Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    33
    Plugin Contributions
    0

    Default Help repositioning left column

    Hello, due to my limited skills in CSS and php in general, I'm having difficulty trying to shift my entire left column to the top.

    Here is the link:
    www.bettiesgalleria.com/store

    What I want to do is to pull the entire category/language column to the top but beneath the "home" and "login" header.

    Any help would be much appreciated, thanks!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Help repositioning left column

    The way to do that would be to take your logo out of the tpl_header.php file and place it in the tpl_main_page.php file just above the breadcrumbs.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

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

    Default Re: Help repositioning left column

    Or you can add in your stylesheet

    #navColumnOneWrapper {margin-top: -210px;}

    right after
    PHP Code:
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
        
    marginauto;

    #navColumnOneWrapper, #navColumnTwoWrapper {
        
    margin0 0.5em;
    }

    #navColumnOneWrapper {margin-top: -210px;} 
    This alone won't work for everyone, but it will work fine for your particular situation.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Help repositioning left column

    Quote Originally Posted by gjh42 View Post
    Or you can add in your stylesheet

    #navColumnOneWrapper {margin-top: -210px;}
    This will probably work in Firefox, but I suspect that it will ride up behind the logoWrapper in Internet Explorer, so you may need to play with z-index values to ensure that it's on top, or reduce it's size and float it right. Not sure what Safari will make of it!
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    May 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: Help repositioning left column

    Wow thanks a lot to both of you. Changing it in the style sheet is definitely easier. But I realize thats a manual way of doing it as my logo doesn't center itself on the remaining space. I'm guessing I'll have to play around with the margins manually.

    On a side note, whats z-index value? Sorry I'm a complete noob.

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Help repositioning left column

    Quote Originally Posted by Eizual View Post
    On a side note, whats z-index value?
    A z-index can be used to change the stocking order of web page elements that overlap.

    There's not normally much call for them in Zen Cart, but if you move the navColumnOneWrapper to overlap the header, you may need them.

    There's a helpful example that you can play with here.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

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

    Default Re: Help repositioning left column

    It does work in Firefox, but I haven't checked other browsers...
    In this very minimalist layout, there are no extra backgrounds to interfere with anything.

    If you want the logo centered oin the remaining space, giving #logoWrapper a margin-left of 160px and width 100%, and then #logo a margin: auto should do it. I haven't tested those yet on your site.
    Last edited by gjh42; 31 May 2007 at 09:44 PM.

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

    Default Re: Help repositioning left column

    On testing, it looks like a simple

    #logoWrapper { margin-left: 160px;}

    (along with the existing specs) does the whole job of getting the logo centered in the remaining space.

    And there is actually a background-color for #logoWrapper, even though it is not needed.

 

 

Similar Threads

  1. How to move left column to left side? ASAP
    By kiler047 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Apr 2010, 05:18 AM
  2. Need help to remove left and right column from template
    By jeba in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Jul 2009, 03:08 PM
  3. Help me Resize my Left Column
    By danielleym in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Nov 2007, 02:37 AM
  4. How to center Left Boxes within Column Left?
    By gingertea in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jul 2007, 06:21 PM
  5. Missing left column items. Help please.
    By ideadirect in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Sep 2006, 08:33 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