Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default drastic reshaping of pages - I need help

    Hi folk,

    In the stock layout of Zen Cart, navColumnOne is inside of contentMainWrapper. I'd like to separate them. That is, I'd like navColumnOne to be outside of contentMainWrapper. (I'm not using the right column.) And I want headerWrapper to be above contentMainWrapper, and the same width, rather than stretching over both the left column and the body.

    Basically, I'd like to turn the whole thing into 2 columns beside each other rather than the current 3 columns under a header. I can force the header over via styles, but to get the left column to move up, it has to be taken out of the contentMainWrapper. I think.

    I don't think I can do all of this via the stylesheet alone; I'll need to rearrange some things in the code.

    Can someone knowledgeable in these matters point me in the right direction please?

    TIA

    Rob

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,886
    Plugin Contributions
    0

    Default Re: drastic reshaping of pages - I need help

    I did this once......trying to remember how.......margins on the header don't work.....if I remember right I used absolute positioning to move the headerWrapper over far enough that the left column will automatically move up to fill the space....I'd have to try it again to see if this was all I did or not, but it will get you closer.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: drastic reshaping of pages - I need help

    You can do anything you want to with your tpl_main_page.php. Remove the table, rearrange the table, rearrange the elements in the table. Get creative. :)
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: drastic reshaping of pages - I need help

    Hey guys, it's Friday night. What are you doing answering questions so quickly? ;-)

    Thanks. I'll have a boo, as we say here, at tpl_main_page.php (it means have a look, for reasons that escape me. Maybe derived from peek-a-boo?)

    I already have tpl_main_page.php in my custom folder, having made a few small changes. I guess I'll have to get out the ginsu knives and hack away at it. Note to self: make backups as you go!!!

    Rob

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,886
    Plugin Contributions
    0

    Default Re: drastic reshaping of pages - I need help

    I tried my method using just the css RELATIVE positioning of the header wrapper moves it over.....but then you have to use some absolute positioning on columnLeft.....kinda like .columnLeft {position: absolute; top: 0px;} to move the entire left column up and to hold the headerWrapper in place for when people change the size browser window.....takes a little teaking to get everyone to line up correctly
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: drastic reshaping of pages - I need help

    Yeah, that should be worth a shot. I was poking away at something like that, but I'm not too familiar with CSS positioning, so I didn't get it. Your hint should set me in the right direction.

    I think, considering the simplicity of what I'm aiming for, I may need to slice and dice the stylesheets to get rid of any inadvertant coagulants, to coin a term. I've often thought of starting with a bare bones one and building up. Now might be the time to try it.

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,886
    Plugin Contributions
    0

    Default Re: drastic reshaping of pages - I need help

    When I did it before I was converting a site that was "2" columns....actually it was two frames and I wanted the left column to start at the top of the page...the processes was made simpler by the fact the site I was converting was all white background and no borders any where so to get some alignment stuff to work I just used strange but different background colors on each element til I got em where I wanted and then changed everyone back to white....the only thing that was a pain was the footer.....everything in the footer centered to the page so I had to fix its width and shove it over under the center column so that centered elements looked consistent from top to bottom on the page.
    I had never thought about Kims idea but I think I might set up a test cart and give that a go to see what I come up with.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. Need help on colors to pages.
    By bearlymakinit in forum General Questions
    Replies: 3
    Last Post: 17 Jun 2011, 04:55 AM
  2. Need Help with EZ Pages...
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Sep 2009, 12:34 AM
  3. Blank pages - need help
    By ScrapdragonDesigns in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Oct 2008, 11:16 PM
  4. Drastic css layout change in product listing please help!
    By paha in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 21 Aug 2008, 07:00 PM
  5. Need help with E-Z Pages
    By tapupartforpres in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 5 Mar 2008, 07:24 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