Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2006
Posts: 66
S
journeyman
journeyman
S Offline
Joined: Oct 2006
Posts: 66
Is there any way to bgcolor alternate rows on the forum home page? I understood columns could be done, but couldn't find anything about rows.

Thanks

Joined: Jan 2010
Posts: 34
newbie
newbie
Joined: Jan 2010
Posts: 34
Had to look myself. Right now there is no way to do so without actually modifying the template itself.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
would be simple to add to the forum.tpl

basically, you add something like

{if $smarty.section.fora.iteration is odd} alt-forum-bg{/if}

to the <td class="xxxx".... > elements inside the fora, section

example:
Code
<td class="forumtitle{if $smarty.section.fora.iteration is odd} alt-forum-bg{/if}" valign="top" align="left">

do that for each column td and bada bing..

then add the .alt-forumlist-bg class to style the alternate BG background-color:#xxx; in the Extra CSS section smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 452 guests, and 120 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)