Results 1 to 4 of 4

remove mainpage.php or at least the extra white space at top

This is a discussion on remove mainpage.php or at least the extra white space at top within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; does anyone know how to make it so the mainpage.php doesn't come up. if I go into the admin panel ...

      
  1. #1
    Lurker
    Join Date
    Aug 2004
    Posts
    4
    Rep Power
    0


    Default remove mainpage.php or at least the extra white space at top

    does anyone know how to make it so the mainpage.php doesn't come up. if I go into the admin panel and remove all the text, it still takes up about an inch of white space at the top of the page below the header

    another solution would be to limit the amount of white space at the top of the main page?

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    worcester ma
    Posts
    162
    Rep Power
    0


    Default

    You must modify the index_default.tpl.php file in your catalog>templates>content file

    There you will see the header and remove it

  3. #3
    Lurker
    Join Date
    Aug 2004
    Posts
    4
    Rep Power
    0


    Default

    I was able to take out mainpage, but there is still an unsightly gap of white space at the top of the content area. I've spent hours trying to figure out where it's coming from...anybody got any ideas? I am running the most recent ms2-max. maybe it's something to do with this dhtml thing..

  4. #4
    Lurker
    Join Date
    Aug 2004
    Posts
    4
    Rep Power
    0


    Default

    nevermind......I found it, it was a line break (<br>) just before default specials.php was called at the bottom of the index_default.tpl.php. can't believe I spent hours on that thinking it was some complex thing like a CSS margin setting or a nested tables position tag, or something else....oh well, I learned a lot about how OSCommerce is put together and how CSS's work.

Similar Threads

  1. Column_left white space call me stupid!
    By AnnieChrist in forum osCMax v1.7 Installation
    Replies: 0
    Last Post: 04-22-2005, 04:46 PM
  2. Checkout Success white screen problem
    By Dutchman in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 01-05-2005, 08:19 PM
  3. REmove New Products box from mainpage
    By cxm322 in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 06-06-2004, 05:37 PM
  4. Space between infoboxes?
    By Kristine in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 03-23-2004, 03:22 AM
  5. White border on infoboxes?
    By appy in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 05-26-2003, 07:57 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
  •