osCmax v2.5 User Manual
Results 1 to 4 of 4

100% Width Only Half Done....Please Help

This is a discussion on 100% Width Only Half Done....Please Help within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi i was wondering how to make my osc max store 100% in width i have made like half my ...

      
  1. #1
    New Member
    Join Date
    Jul 2007
    Posts
    9
    Rep Power
    0


    Default 100% Width Only Half Done....Please Help

    Hi i was wondering how to make my osc max store 100% in width i have made like half my stre 100% editing the file in templates / aabox / main_page.tpl.php from were it says 750 to 100% and half my store worked, but the header and footer and middle part are still the same size, please see the attach image to see what i am talking about or goto www.chriswholesales.com to see what i am talking about.

    Any help would be be great.

    Thanks

    Chris
    Attached Images Attached Images
    Last edited by ChrisP666; 07-26-2008 at 11:21 PM.

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: 100% Width Only Half Done....Please Help

    You're in the right file

    Look for

    Code:
    <!-- body_eof //-->
    
    <!-- footer //-->
    <table border="0" cellpadding="0" cellspacing="0" width="100&#37;" style="background-image:url(<?php echo DIR_WS_TEMPLATES;?>/images/footbg.gif);height:11px;">
      <tr>
    [omitted stuff from my footer]
      </tr>
    </table>
    <p>&nbsp;<p>&nbsp;<p>&nbsp;<p>&nbsp;   
    <!-- footer_eof //-->
    it's at the bottom of that file.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    osCMax Testing Team typhus's Avatar
    Join Date
    Aug 2005
    Location
    Midlands, UK
    Posts
    28
    Rep Power
    0


    Default Re: 100% Width Only Half Done....Please Help

    Like Met00 says, you've got the right file. I think the code he's suggested refers to modifying the image that appears in the footer, and in the thumbnail you've provided it is repeating horizontally to fill the page.

    As it happens my problem was the other way round. I wanted to make the fallback template 750px wide, and took the code from the mainpage.tpl.php you are using.

    The lines that you need to remove are actually commented (thats how I found them to copy to fallback), and remember the center table (I didn't).

    To continue this further you may also want to consider using fallback as your base template (rather than aabox) as I found this 'simpler' to work with and less to remove (like the clouds you've had to). I'm sure there's more experienced templaters lurking that may agree or disagree with this, but I definately found it easier to work with fallback (check out my site in profile, this was made starting with fallback).

    Hope that helps, J.

  4. #4
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: 100% Width Only Half Done....Please Help

    Since I don't use AABOX I don't have access to their template. But, I do recomend that you don't make any changes to fallback. If you want to create a NEW template, create the directory and start to move over to that template the files you want from the AABOX template. Then go to the admin and start using that new template.

    In other words. Use BTS the way it is supposed to be used.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

Similar Threads

  1. Using free shipping over 100.00 and percent off coupon
    By tmullins77 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 01-09-2008, 06:08 PM
  2. A Better Than Half Buttons (Braveheart)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-25-2007, 05:41 PM
  3. A Better Than Half Buttons (FadeToGrey)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-24-2007, 10:02 AM
  4. Making site 100%
    By royjones in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 04-16-2005, 10:21 PM
  5. How to make store 100% width and autoscale with browser?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-04-2004, 12:06 AM

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
  •