Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11292
Latest: SeDdBoW655
New This Month: 49
New This Week: 16
New Today: 4
Stats
Total Posts: 33976
Total Topics: 6054
Most Online Today: 149
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 89
Total: 89

Author Topic: A small cosmetic query  (Read 2977 times)

0 Members and 1 Guest are viewing this topic.

Offline gibbs

  • Newbie
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
A small cosmetic query
« on: August 18, 2008, 03:54:27 pm »
Can anyone tell me how to reduce the gap in between my categories on the main classifieds page please?

I seem to have the following look to my classifieds page:

Category A
<Large gap - 1 full row depth>
Category B
<Large gap - 1 full row depth>
Category C
<Large gap - 1 full row depth>

As you can imagine, if I have 50 categories, it all looks a bit... eye numbing!
I would like to make the gaps between my listings about half the row depth if possible. Is this a classifieds issue or is it a theme issue?

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 12427
    • View Profile
Re: A small cosmetic query
« Reply #1 on: August 18, 2008, 06:30:18 pm »
The gaps actually show sub categories. Currently SMF Gallery 1.4 trying a new style that does not have those gaps.

Quick change
Classifieds.template.php
Find
Code: [Select]
if ($g_manage)
{
echo '<tr class="titlebg" height="5">
<td colspan="6">&nbsp;<span class="smalltext">',($subcats_linktree != '' ? $txt['class_sub_cats'] . $subcats_linktree : ''),'</span></td>
</tr>';
}
else
echo '<tr class="titlebg" height="5">
<td colspan="4">&nbsp;<span class="smalltext">',($subcats_linktree != '' ? $txt['class_sub_cats'] . $subcats_linktree : ''),'</span></td>
</tr>';
Change to
Code: [Select]
if($subcats_linktree != '')
if ($g_manage)
{
echo '<tr class="titlebg" height="5">
<td colspan="6">&nbsp;<span class="smalltext">',($subcats_linktree != '' ? $txt['class_sub_cats'] . $subcats_linktree : ''),'</span></td>
</tr>';
}
else
echo '<tr class="titlebg" height="5">
<td colspan="4">&nbsp;<span class="smalltext">',($subcats_linktree != '' ? $txt['class_sub_cats'] . $subcats_linktree : ''),'</span></td>
</tr>';
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline vkot

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: A small cosmetic query
« Reply #2 on: August 19, 2008, 02:22:35 am »
Me too, I was wondering how I can remove those gaps...

The quick change worked nicely  ;)

Offline gibbs

  • Newbie
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Re: A small cosmetic query
« Reply #3 on: August 19, 2008, 08:14:06 am »
Ah great stuff. That looks much better for my site. Thanks smfhacks

 

+- Recent Topics

Description not carried over from downloads area to release thread by Itchigo69
November 27, 2014, 08:40:25 am

Member not able to upload by Itchigo69
November 27, 2014, 08:29:26 am

will work on SMF 2.1? by SMFHacks
November 26, 2014, 04:19:21 pm

Upgraded forum to SMF2.0 - Problems by amwebby
November 26, 2014, 10:43:01 am

Uploading GIF with animation loses animation by SMFHacks
November 26, 2014, 01:22:53 am

question by SMFHacks
November 25, 2014, 03:42:13 pm

help with index template for custom theme on add seller pro community suite by apache
November 25, 2014, 11:18:37 am

ad seller pro execute modification test failed by SMFHacks
November 25, 2014, 08:40:06 am

Adding check all to display.template.php by shuban
November 24, 2014, 09:32:17 pm

Tapatalk... by SMFHacks
November 24, 2014, 10:33:56 am

Powered by EzPortal