Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

connect head.tpl to dialog.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-05-2007, 06:59 PM
 
amcc amcc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 73
 

Default connect head.tpl to dialog.tpl

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
Reply With Quote
  #2  
Old 06-05-2007, 07:17 PM
 
amcc amcc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 73
 

Default connect dialog.tpl to bottom.tpl

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
Reply With Quote
  #3  
Old 06-05-2007, 07:17 PM
 
amcc amcc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 73
 

Default Re: connect dialog.tpl to bottom.tpl

http://www.bluesport.com.au/x-cart-forum-header.jpg
__________________
X-Cart Pro 4.1.8
Reply With Quote
  #4  
Old 06-05-2007, 07:20 PM
 
amcc amcc is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 73
 

Default Re: connect dialog.tpl to bottom.tpl

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
Reply With Quote
  #5  
Old 06-06-2007, 02:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: connect head.tpl to dialog.tpl

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
Reply With Quote
  #6  
Old 06-24-2007, 03:04 AM
 
dub713 dub713 is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 56
 

Default Re: connect head.tpl to dialog.tpl

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:54 PM.

   

 
X-Cart forums © 2001-2020