| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
connect head.tpl to dialog.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to remove the small (looks like 1px) spacing above and below the category name "Tropicana". This is what I've edited to minimise the gaps so far:
Edit this line in dialog.tpl <tr><td ><table cellspacing="0" class="DialogBox"> Edit this line in customer/main/subcategories.tpl <table cellspacing="0" width="100%"> What else can I do to remove the gaps completely? http://www.bluesport.com.au/x-cart-forum-header.jpg
__________________
X-Cart Pro 4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
![]() I have a gap between the bottom of dialog.tpl and bottom.tpl. The gap changes height depending on the number of products in dialgog.tpl.
How can I permanently connect the white dialog.tpl to my blue bottom.tpl? http://www.bluesport.com.au/x-cart-forum-footer.jpg
__________________
X-Cart Pro 4.1.8 |
|||||||
#3
|
|||||||
|
|||||||
![]()
__________________
X-Cart Pro 4.1.8 |
|||||||
#4
|
|||||||
|
|||||||
![]() oops here's the footer shot instead of the header
http://www.bluesport.com.au/x-cart-forum-footer.jpg
__________________
X-Cart Pro 4.1.8 |
|||||||
#5
|
|||||||
|
|||||||
![]() Merging these two threads as they deal with the same issue. IE in particular requires that you have cellpadding="0" and cellspacing="0" in order to keep gaps to a minimum. Try that.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() if you search around in all associated files to the file you're working on, you may see something that looks like this...
{$cellpadding|default:"5"} it's in the tpl's and not in the css. i can't remember how many i saw, and in what files. the one i do remember is in menu.tpl but i'm not sure if that's going to affect what you're working on, but at least you know to keep an eye out for hard coded values that look like that. the 5 could be any number though. for the gap in between things, you need to check all associated files for any element that ends, and has a <br> after it. also keep an eye out for < /p> tags. remove it, test. if nothing happened, put it back, save, and refresh. removing elements on one page that don't affect that page could affect another. so if you don't see a change when removing something, put it back unless you know for a fact you don't need it.
__________________
X-Cart version 4.1.7 - PHP 5.2. - MySQL server 5.0.41-community-nt - MySQL client 5.0.22 - Web server Apache/2.2.4 (Win32) - PHP/5.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|