Removes the standard forum icons from index page and allows you to use custom images more in theme with your forum.
Recomended snippet coloured Unread Forums and Topics : viewtopic.php?f=9&t=648
instructions
Open styles/prosilver/template/forumlist_body.html
find:
Code: Select all
<li class="header">
<dl class="icon">
Code: Select all
<li class="header">
<!-- IF SCRIPT_NAME == "index" --><dl class="no_icon"><!-- ELSE --><dl class="icon"><!-- ENDIF -->
Code: Select all
<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
Code: Select all
<!-- IF SCRIPT_NAME == "index" --><dl class="no_icon"><!-- ELSE --><dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;"><!-- ENDIF -->
find:
Code: Select all
dl.icon dt {
padding-left: 45px; /* Space for folder icon */
background-repeat: no-repeat;
background-position: 5px 95%; /* Position of topic icon */
}
Code: Select all
dl.no_icon dt {
padding-left: -45px;
background-repeat: no-repeat;
}
[spoiler]Open styles/prosilver/template/forumlist_body.html
find:
Code: Select all
<li class="header">
<dl class="icon">
Code: Select all
<li class="header">
<!-- IF SCRIPT_NAME == "index" --><dl class="no_icon"><!-- ELSE --><dl class="icon"><!-- ENDIF -->
Code: Select all
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="forumtitle" style="color:#FF0000;">{forumrow.FORUM_NAME}</a><!-- ELSE --><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><!-- ENDIF --><br />
Code: Select all
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
find:
Code: Select all
dl.icon dt {
padding-left: 45px; /* Space for folder icon */
background-repeat: no-repeat;
background-position: 5px 95%; /* Position of topic icon */
}
Code: Select all
dl.no_icon dt {
padding-left: -45px;
background-repeat: no-repeat;
}
This parts to remove coloured forum title notification.
find:
Code: Select all
<!-- IF SCRIPT_NAME == "index" --><dl><!-- ELSE --><dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;"><!-- ENDIF -->
Code: Select all
<!-- IF SCRIPT_NAME == "index" --><dl class="no_icon"><!-- ELSE --><dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;"><!-- ENDIF -->
prosilver instructions only,subsilver2 upon request.
You add your forum image in admin control panel here
Sorry cant achieve that with the layout of the html for forum name and description etc.heredia21 » 15 Apr 2010, 17:55 wrote:Ok. But about the forum image how can I text centered with image.