Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 3 of 3

Thread: How to center template - etc

  1. #1

    Question How to center template - etc

    Hello, I'd like to first and foremost say thank you for providing such a great free product.

    I'm having a problem when creating my own template. Anytime I make a change in main_page.tpl it causes the template to align left rather than be centered. No matter what it says inside of the admin menu. I'm not sure the cause of this, and any small change will trigger it to align left (except in IE it stays centered oddly enough) currently I'm trying to add my own customized header. Any idea??

    Thanks so much for your help.
    Last edited by malfa; 01-21-2014 at 01:12 PM.

  2. #2
    osCMax Development Team

    How to center template - etc

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power

    Post Re: How to center template - etc

    This is the bit that is important, other than that there's too little information given, to provide a fuller answer. It could be your tables and/or CSS/divs.

    PHP Code:
    <!-- Store width controller -->
    <table width="<?php echo STORE_WIDTH?>" cellspacing="0" cellpadding="0" align="<?php echo STORE_ALIGN?>">

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***

  3. #3

    Default Re: How to center template - etc

    It must have been something within my stylesheet because I just replaced the stylesheet with fallback and while I lost most of my work, it went back to being centered. I will try to add everything I did originally and see if I can figure out where I went wrong.

    Thanks for the response
    Last edited by malfa; 01-22-2014 at 06:37 PM.

Similar Threads

  1. Contents of center column not showing in PGM template
    By k9essentials in forum Installation/Setup
    Replies: 2
    Last Post: 09-30-2011, 03:55 PM
  2. center boxes
    By artrat in forum Templating, CSS, Design
    Replies: 2
    Last Post: 09-28-2011, 12:09 PM
  3. Verticaly Center OSC (working IE6 through 8)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-18-2009, 02:00 PM
  4. Addons Center
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-18-2008, 09:51 AM
  5. How do i center the .gif image in the header
    By forsythi in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-16-2003, 01:54 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts