Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2006
    Posts
    4
    Plugin Contributions
    0

    Default Heeelp! Main page align

    I need some help please. I installed my zencart and the main page is align to left when i open it with IE. When i use Opera, is aligned to center. What code do i search for to modify it for looking right? I want to align my site center. http://www.grandium.3x.ro

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

    Default Re: Heeelp! Main page align

    *Upgrade Alert* How old is your Zen Cart? You're fighting two stylesheets that are causing you woe... you have set some widths at 100% and others at 980px. Compare each stylesheet to the unmodified ones and see what custom changes you made. You'll see what happened.

    Your store is in the very beginning stage, perfect for upgrading to v1.3.5 and you can forget all of your width/alignment problems.

  3. #3
    Join Date
    Sep 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Heeelp! Main page align

    I really don't think so. My version is 1.3.0.2

  4. #4
    Join Date
    Sep 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Heeelp! Main page align

    Please help me! How do I align the main page to center?

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

    Default Re: Heeelp! Main page align

    Relax. You're going to put things back to stock... make backup stylesheets if in doubt.

    In your stylesheet_new;
    Code:
    body {
    	margin: auto;
    	font-family: verdana, arial, helvetica, sans-serif;
    	/*font-size: 62.5%;*/
    	color: #000000;
            }
    Change the value in red, to 0 (zero)

    and find;
    Code:
    #mainWrapper {
    	background-color: #ffffff;
    	text-align: left;
    	width: 960px;
    	vertical-align: top;
    	margin: auto;
    	}
    Remove the line in red.

    Other than that, I'm afraid I can't help you. IE doesn't provide adequate tools to virtually adjust things. Since I'm so nice though, I used WinMerge and compared your current stylesheets to stock stylesheets from the old Zen Cart demo. More importantly, think over those previous margin values and the corrected ones.

    If you think your current store is safe as it is, you should consider looking at the release notes for v1.3.5 and seek advice from others with older versions that got hacked... I'm just trying to be helpful and informative.

  6. #6
    Join Date
    Sep 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Heeelp! Main page align

    it's not working. Any other sugestions? pls. pls

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

    Default Re: Heeelp! Main page align

    Odd, how it aligns without showing that ad banner on the top in Firefox and how it shows that ad banner in Explorer, but yet off centers the layout...

    I see the settings are rolled back. There's not much else I can do, but offer these guides;

    Try this;

    http://validator.w3.org/

    and this;

    http://jigsaw.w3.org/css-validator/

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

    Default Re: Heeelp! Main page align

    I really don't think so. My version is 1.3.0.2
    The current version is 1.3.5...if your 1.3.0.2 is not fully patched with the security updates, you might not be as secure as you can be.

    Using the 2 stylesheet combination template was NEVER the intended path for a new shop. Search here for "template_default" and read about all the reasons why.

    Save yourself grief...upgrade to 1.3.5 now.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v155 Main Page Righthand Side Boxes align at bottom of page
    By Evil Rob in forum General Questions
    Replies: 10
    Last Post: 21 Nov 2016, 05:49 PM
  2. Placing an image on the main page wont align correctly
    By jaidee in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 11 Jul 2009, 07:26 AM
  3. Align category images on main page
    By jacon1965 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Feb 2009, 04:05 AM
  4. can't align products in main page and products info. crying...
    By tw_lovely in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 May 2008, 01:46 PM

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