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.

Posts seperation

View previous topic View next topic Go down

Solved Posts seperation

Post by roCrox on August 16th 2011, 4:55 am

Edit:

Can i somehow put some space in between posts in topic?

And change the background color of contact row in posts?

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Posts seperation

Post by Nera. on August 16th 2011, 8:51 pm

Pozdrav,

I saw you changed the post but made a answer for it all, before you changed it, so will post all.

Everything is the same template viewtopic_body.

1. To make the separation beetween posts add this
Code:
<tr><td width="100%" height="20px" colspan="2"></td></tr>
Just below this
Code:
   <!-- END hidden -->

2. To change the area where your avatar is, the whole field find this
Code:
            <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span>
Change it to this
Code:
            <td class="novo"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span>

3. To change colors around arrows find this
Code:
      <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
Change it to this
Code:
      <td class="novo browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">

4. And around buttons, online, PM etc, find this
Code:
      <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
Change it to this
Code:
      <td class="novo messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">

In the end add this to CSS, they inharated the color from {postrow.displayed.ROW_CLASS}, your row color and you have to set it in CSS
Code:
.novo {
    background: purple;
}

Color it as you wish.

Example:


Pozdrav,
Nera

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Posts seperation

Post by roCrox on August 17th 2011, 12:41 pm

Both separation code and color codes works,
I didn't think just spacing will visually be this good, solves the problem completely.

I'm still saving the color codes in case ill need them later Smile
Thanks for the codes and your time!

Solved!

roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Posts seperation

Post by Nera. on August 17th 2011, 12:42 pm

Welcome.

Solved > Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.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