Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

New style of index_box [PunBB]

4 posters

Go down  Message [Page 1 of 1]

1New style of index_box [PunBB] Empty New style of index_box [PunBB] Sat Jul 20, 2013 12:30 pm

Sasori

Sasori
Administrator


Hello , you like our index_box ? Wanna make like this , just fallow next steps :

Go in Administration Panel -> display -> Templates -> index_box .
Remove all and fill with that :

Code:
<div class="pun-crumbs">
   <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead -->
      <div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <thead style="display:none;">
               <tr>
                  <th class="tcl">{L_FORUM}</th>
                  <th class="tc2">{L_TOPICS}</th>
                  <th class="tc3">{L_POSTS}</th>
                  <th class="tcr">{L_LASTPOST}</th>
               </tr>
            </thead>
            <tbody class="statused">
   <!-- END tablehead -->

   <!-- BEGIN forumrow -->
               <tr>
                  <td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
                     <span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
                                                       
                     </span>
                     <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                     <br />
                                                  <div class="descirere">{catrow.forumrow.FORUM_DESC}</div>
                     <!-- BEGIN switch_moderators_links -->
                     <br />
                     {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                     <!-- END switch_moderators_links -->
                     {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                     <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  <div class="image-sectiune"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></div></td>
                                          <td class="tc3"><div class="posts"><b>{catrow.forumrow.POSTS}</b> Posts</div>
                                            <div class="topics"><b>{catrow.forumrow.TOPICS}</b> Topics</div></td>
                  <td class="tcr">
                     <div class="lpost">
                     <!-- BEGIN switch_topic_title -->
                     <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                     <!-- END switch_topic_title -->
                     {catrow.forumrow.USER_LAST_POST}
                     </div>
                   </td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
      </div>
   <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->

Press Save Button and the green +

Now : Administration Panel -> Display -> Colors -> CSS Stylesheet

Code:
.topics , .posts{
border: 1px solid rgb(214, 214, 214);
background: white;
padding: 3px;
width: 90px;
margin: 0 auto;
border-radius: 3px;
box-shadow: 1px 1px 0px white;
color: #666;
font-family: Verdana;
font-size: 11px;
  margin-top:3px;
}

.pun .main table td.tc2, .pun .main table td.tc3 {
background-color: rgba(244, 244, 244, 0);
border-style: solid none none none;
}

.pun table.table td {
background-color: #fbfbfb;
border-color: transparent;
border-style: solid none none solid;
border-width: 1px;
line-height: 130%;
padding: .6em 0 .7em;
}



.pun table .tcl {
overflow: hidden;
text-align: left;
width: 75%;
}

.pun .table .tc2, .pun .table .tc3 {
text-align: center;
width: 10%;
float: right;
}

.lpost{
background: #fff;
border: 1px solid #d6d6d6;
border-radius: 3px;
box-shadow: 1px 1px 0 #fff;
color: #666;
font-family: Verdana;
font-size: 11px;
margin: 3px auto 0;
padding: 3px;
width: 50%;
margin-top: -5px;
margin-left: 120px;
}

Press Submit and it is done.

2New style of index_box [PunBB] Empty Re: New style of index_box [PunBB] Sat Jul 20, 2013 1:13 pm

Lovely King

Lovely King
User



thanks much :flower: 

http://topyouth.gamerzfun.com

3New style of index_box [PunBB] Empty Re: New style of index_box [PunBB] Sun Jul 21, 2013 8:22 am

KOZZ


User


Verry nice ! Thank you :)

4New style of index_box [PunBB] Empty Re: New style of index_box [PunBB] Sat Jul 27, 2013 5:09 am

Zyon

Zyon
manager


thanks you are help me. Clapping 

http://admins.forumotion.com

5New style of index_box [PunBB] Empty Re: New style of index_box [PunBB] Sat Aug 03, 2013 4:13 am

KOZZ


User


It looks better than the default style. Good job !

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum