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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)