Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Why is my site aligned left?

    I have tried and tried to figure this out. Can someone please tell me what is causing my shop to be aligned left? I would like it to be centered with some margins on each side.

    I do want the text in the sideboxes and center content and so forth to be left-aligned. I just want the whole container to be centered on the page.

    Site (work in progress) is here:

    http://thewindcutter.com/shop

    Thanks in advance for the help!
    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

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

    Default Re: Why is my site aligned left?

    the problem is here:
    Code:
    #headerWrapper, #contentMainWrapper, /*#cartBoxListWrapper,*/ #ezPageBoxList, /*#cartBoxListWrapper ul,*/ #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 5px;
    	text-align: left;
    	}
    You have that below the mainWrapper statement where you set the margins to auto. This statement overrides that and moves it left...so remove #mainWrapper from that statement and all should be good
    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
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Why is my site aligned left?

    Hi Mike! Thanks for the quick reply.

    Unfortunately, I removed #mainWrapper and that didn't help.

    Any more suggestions?

    Thanks!
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

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

    Default Re: Why is my site aligned left?

    I found it and fixed it. You set the body width the same as the main wrapper, so mainWrapper was doing what it was supposed to do but with the body set to the same width it just collapsed to the left. I set the body width to 100% and now everything works like its suppose to .
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Why is my site aligned left?

    Thank you, Mike! Ooh, I was pulling my hair out over that one.

    You sure come in handy at Camelot!

    Thank you again!

    Rebekah
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  6. #6
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Re: Why is my site aligned left?

    Hello Mike.

    I just wanted to thank you for your swift response to this problem.


    Thank again.
    Meshach


 

 

Similar Threads

  1. Additional Images Aligned Left
    By twofair in forum General Questions
    Replies: 6
    Last Post: 8 Oct 2010, 10:16 PM
  2. Text in FIREFOX aligned to the left, Text in IE aligned to the right
    By iiinycboi in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jul 2009, 10:25 AM
  3. Whole site aligned left in IE???
    By zingslings in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Apr 2009, 01:10 PM
  4. Sidebox Headers Left Aligned
    By wenderwoman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Oct 2008, 05:40 PM
  5. product listing left aligned
    By janjansssen in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Feb 2008, 02:37 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