68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Can't quite align my categories.
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#1)
Old
michael michael is offline
Member
michael is on a distinguished road
 
Posts: 44
Join Date: Jan 2007
Default Can't quite align my categories. - 03-04-2007, 11:17 AM

Take a look at http://www.mkclassifieds.co.uk/index.php

See how my categories are not aligned nicely? I'm sure that valign="top" needs to be assigned to all the cells within the table but where would this be done?

I've looked at home.tpl.php but that all seems to be aligned correctly - should I be editing category.php?

Curiously, when viewing http://www.mkclassifieds.co.uk/category.php the cells do appear to be aligned vertically bit not horizontally!

Aaaaargh! Is there something really obvious that I can't see?


v3.1.5b Developer
MKClassifieds.co.uk
"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
Reply With Quote
(#2)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,814
Join Date: Mar 2006
Location: Belmont, NC
Default 03-04-2007, 11:31 AM

Try this. Open the home.tpl.php file and locate this:
Code:
{html_table_adv loop=$data cols=$cols table_attr='width="100%"'}
Then replace it with this:
Code:
{html_table_adv loop=$data cols=$cols table_attr='width="100%"' td_attr='valign="top"'}


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#3)
Old
michael michael is offline
Member
michael is on a distinguished road
 
Posts: 44
Join Date: Jan 2007
Thumbs up 03-04-2007, 12:22 PM

Thanks Eric, that worked great! And I adjusted the output on /category.php by simply changing the alignment from center to left in categories/maincategories.tpl.php



v3.1.5b Developer
MKClassifieds.co.uk
"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
Reply With Quote


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different template for categories? Mike-N-Tosh v3.1 Modifications 30 03-01-2007 05:05 PM
Categories to be listed in a list menu rather that in a text marketingsolutions v3.1 Modifications 21 10-15-2006 08:41 AM
Prevent Browse Categories Table for hidden categories free2take v3.0 Modifications 3 05-12-2006 10:14 AM
Browse Categories - disable sub-category dawyatt v3.0 Questions & Support 3 03-31-2006 02:32 PM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com