The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How cani I add these boxes around the last post? [Solved]

View previous topic View next topic Go down

Solved How cani I add these boxes around the last post? [Solved]

Post by Van-Helsing on January 19th 2014, 8:56 am

Good morning dear all,
How can I add these boxes http://prntscr.com/2kmecp around the last post on board index?
My forum version is phpbb2.

Best Regards,
Dark-Avenger


Last edited by Dark-Avenger on January 19th 2014, 2:57 pm; edited 1 time in total

Van-Helsing
Hyperactive

Male Posts : 2197
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How cani I add these boxes around the last post? [Solved]

Post by Luffy on January 19th 2014, 11:14 am

Go to A.P. >> Dispaly >> Templates >> index_box
find this:
Code:
<td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
and replace it with:
Code:
<td class="row3 over" align="center" valign="middle" height="50">
         <div class="topicsbox"><span class="gensmall">{catrow.forumrow.LAST_POST}</div></span>
      </td>
save and publish and then add this in your css and modify if u want:
Code:
.topicsbox {border: 1px solid #021C70;
padding: 3px 7px;
background: #616161;
border-radius: 4px;
}
and change the border color and the background color as you wish.

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: How cani I add these boxes around the last post? [Solved]

Post by Van-Helsing on January 19th 2014, 2:56 pm

Thank you very much Marios94 it works nice and I have optimized the codes.
The result looks like this http://prntscr.com/2kof9t

Topic Solved.

Best Regards,
Dark-Avenger

Van-Helsing
Hyperactive

Male Posts : 2197
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How cani I add these boxes around the last post? [Solved]

Post by Ange Tuteur on January 19th 2014, 3:05 pm

Thanks for the help Marios94

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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