Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11282
Latest: Ezred89
New This Month: 39
New This Week: 6
New Today: 6
Stats
Total Posts: 33942
Total Topics: 6046
Most Online Today: 107
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 67
Total: 67

Author Topic: A small cosmetic query  (Read 2976 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: 12412
    • 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

Am I just being stupid? by SMFHacks
November 23, 2014, 11:08:05 pm

Combining Board Index Top and Overall Header by petlv
November 23, 2014, 02:44:55 pm

not able to upload(admin and guests) by kjellkamp
November 23, 2014, 02:19:31 pm

Black Friday Sales Week! Big Savings on Products by SMFHacks
November 22, 2014, 11:29:17 am

Download Menu Editor Pro by SMFHacks
November 21, 2014, 11:31:08 pm

Tapatalk... by HDB
November 21, 2014, 02:27:17 pm

[Mod] SMF Articles by elbeer
November 21, 2014, 07:15:36 am

Problem with ad seller pro after upgrade to SMF 2.0 by amwebby
November 20, 2014, 11:39:04 pm

MOD Request: Sort / Order by 420connect
November 19, 2014, 07:22:46 am

New fields for the Tweet photos feature by Jonas1975
November 19, 2014, 03:21:23 am

Powered by EzPortal