Results 1 to 9 of 9

Change the content width all to the end.

This is a discussion on Change the content width all to the end. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I've searched with google, searched on the forum but i really can't seem to figure it out. I'm not a ...

      
  1. #1
    New Member
    Join Date
    Apr 2005
    Posts
    12
    Rep Power
    0


    Default Change the content width all to the end.

    I've searched with google, searched on the forum but i really can't seem to figure it out. I'm not a very good at PHP or any other language. The "problem" seems to be that i can't set the text and the pictures to 100% of the content. My english is very bad so i made a screenshot.



    I want it to be 100%. I tried changing this line :

    <table width="480" border="0" align="center" cellpadding="0" cellspacing="0">

    To this :

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

    But it didn't seem to work. If anyone can help me out with this one i would really preciate it

    Thanks

  2. #2
    New Member
    Join Date
    Apr 2005
    Posts
    13
    Rep Power
    0


    Default RE: Change the content width all to the end.

    Hi Squirrel.

    I think I understand what you are trying to do. Unfortunately there are columns along both sides (certainly there are in a stock osC installation) which means even if the columns are empty they still take up room. You'll need to delete their reference in each page if you want to remove them.

    Let me have a look at your site and perhaps I can advise further?
    Been playing with osC for a few months now.

  3. #3
    New Member
    Join Date
    Apr 2005
    Posts
    12
    Rep Power
    0


    Default RE: Change the content width all to the end.

    I can't just remove it on the main_page_tpl.php ? I don't wanna edit every page if it's possible
    Thanks btw for the time you spent.

  4. #4
    New Member
    Join Date
    Apr 2005
    Posts
    13
    Rep Power
    0


    Default RE: Change the content width all to the end.

    To be honest I'm not sure, but when I removed column_right.php I needed to remove the reference to that file from every page viewed..

    If you only wanted to do it on the front page, thats fine, however the other pages would still reference the column.

    I'm sure someone higher qualified can answer your question in more detail!
    Been playing with osC for a few months now.

  5. #5
    New Member
    Join Date
    Apr 2005
    Posts
    12
    Rep Power
    0


    Default RE: Change the content width all to the end.

    Ok, i will try that first. I would also thank you for the reply's, preciate it.

  6. #6
    New Member
    Join Date
    Apr 2005
    Posts
    12
    Rep Power
    0


    Default RE: Change the content width all to the end.

    btw, if i wanna delete the column, where to look ?

  7. #7
    New Member
    Join Date
    Apr 2005
    Posts
    13
    Rep Power
    0


    Default RE: Change the content width all to the end.

    Here is a link telling you what to do!

    http://www.oscommerce.info/kb/osComm..._Area/Boxes/65

    In my experience you can't just comment out the above - it didn't work when I tried to do that. Delete what it tells you to do and make a note of where it was. Remember the link and if you ever want to put it back you can!
    Been playing with osC for a few months now.

  8. #8
    New Member
    Join Date
    Apr 2005
    Posts
    12
    Rep Power
    0


    Default Re: RE: Change the content width all to the end.

    Took me ages to find out, but it's all working great now thanks to you Migraine. I don't hope you got that nick after you helped me, but i just losed mine :P THANKS !

    Quote Originally Posted by Migraine
    Here is a link telling you what to do!

    http://www.oscommerce.info/kb/osComm..._Area/Boxes/65

    In my experience you can't just comment out the above - it didn't work when I tried to do that. Delete what it tells you to do and make a note of where it was. Remember the link and if you ever want to put it back you can!

  9. #9
    New Member
    Join Date
    Apr 2005
    Posts
    13
    Rep Power
    0


    Default RE: Re: RE: Change the content width all to the end.

    You're welcome mate! I'm glad its working.

    No, migraine comes from my hobby (and business) - car audio!!
    Been playing with osC for a few months now.

Similar Threads

  1. Change column_left width
    By adam71o in forum osCMax v1.7 Installation
    Replies: 11
    Last Post: 04-12-2005, 07:51 AM
  2. Column width!, How do i change it?
    By calle in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 11-24-2004, 03:46 PM
  3. DHTML Menu Box - how to change the width
    By lawrence in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-24-2004, 08:47 AM
  4. Change content area on index page
    By bobbyb in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 12-16-2003, 08:12 AM
  5. change left column width only
    By not-so-simple in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 08-28-2003, 06:19 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
  •