This is a discussion on Spacing between left column, mainpage and header within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi. Was hoping someone could point me in the right direction. I am trying to remove the padding or spacing ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi. Was hoping someone could point me in the right direction. I am trying to remove the padding or spacing between the left column and the main body. And remove the spacing between the header and the main page body. I am using Cobalt template. Thank you!! Mothballs in the Attic : |
|
#2
| |||
| |||
| I have been through the stylesheet many times, I have looked in main_page.tpl, mainpage.php, etc. Can anyone tell me where the padding is coming from around main body? I need to eliminate this space so my banner and left column blend into main body w/ no spacing. It's got to be simple. Just can't find it. Thanks!! |
|
#3
| ||||
| ||||
| td#contentLT padding:10px 12px; } Is padding the cell. Best thing to do is download Firefox and an addin called Firebug - This addin will allow you to "inspect" you page and see which bits are using which bits of the css file and html code. It makes life much easier!! Hope this helps. |
| The Following User Says Thank You to pgmarshall For This Useful Post: | ||
mothballs (07-01-2009) | ||
|
#4
| |||
| |||
| Ok great! Fire Bug is awesome - will save me loads of time in the future. I found several things in those spaces. I have one item left - two images at http://collectibles-antiques.net/vin...ixel_trans.gif that are spacing the header and main body. I have deleted them and searched for their reference but can't find it. It is not in mainpage.php or index.php or main_page.tpl.php (as far as I can tell). Stylesheet is here - http://collectibles-antiques.net/vin...stylesheet.css. Thanks again if you can offer your time and expertise! Patrick |
|
#5
| ||||
| ||||
| Patrick, osCmax uses little spacing transparent pixels all over the place - so much so that there is a php function to call it ... look in your main_page.tpl.php for code that looks like this. Code:
<tr>
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '5'); ?></td>
</tr>
Code: <tr> <td colspan="2"><img src="<your domain>/images/pixel_trans.gif" border="0" alt="" width="100%" height="5"></td> </tr> Hope this helps. By the way nice graphics on your website. Regards, Last edited by pgmarshall; 07-01-2009 at 11:01 AM. |
|
#6
| |||
| |||
| Okay, that is my problem. I can see the spacers when I view page source, but I can't find it in the site. I can find no reference to the function or the output. Not sure if I'm blind or what. Thanks!! main_page.tpl.php PHP Code: Last edited by mothballs; 07-01-2009 at 03:22 PM. Reason: Wrong php page. Updated. |
|
#7
| |||
| |||
| Well, I just found it! /fallback/index_default.tpl.php This is the missing link I have been searching for! I kept looking at wrong index file /Cobalt/index.php. Thank you for everything!! I'm sure I'll be back real soon with more questions for the experts. Patrick |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Left and Right Column Control | michael_s | New osCommerce Contributions | 0 | 11-26-2008 11:13 PM |
| Boxes and left column help please | countingsheep | osCMax v2 Customization/Mods | 2 | 08-31-2006 03:20 PM |
| Move Left Column Down | torweb | osCMax v2 Customization/Mods | 1 | 05-01-2006 03:15 PM |
| How To: have different right and left column widths | Kristine | osCMax v1.7 Discussion | 1 | 08-03-2005 09:53 PM |
| Move all in rh column to left and remove RH column | jloyzaga | osCMax v1.7 Discussion | 0 | 03-24-2004 03:24 PM |