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.

Separation Lines

View previous topic View next topic Go down

Solved Separation Lines

Post by Jeissel Denise on January 27th 2013, 10:22 am




how can i add those line to my forums too??
hellokitty.forumsmotion.com
thanks :DD


Last edited by Jeissel Denise on January 27th 2013, 3:11 pm; edited 1 time in total

Jeissel Denise
Forumember

Female Posts : 318
Reputation : 0
Language : English
Location : Phillippines

http://hellokitty.forumsmotion.com

Back to top Go down

Solved Re: Separation Lines

Post by Sanket on January 27th 2013, 2:26 pm

Display>Templates>General
Click on Edit corresponding to viewtopic_body
Find this bit of code.
Code:
<!-- BEGIN profile_field -->
                                  {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
Just add the <hr> & replace the above code with this.
Code:
<!-- BEGIN profile_field -->
                                  {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}<hr>{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
Save. Then Publish the templates.

Add this to your css.
Code:
hr {
border: 0 none #FFFFFF;
border-top: 1px solid #FFFFFF;
height: 1px; height: 1px;
margin: 5px 0; margin: 5px 0;
display: block; display: block;
clear: both; clear: both;
}

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Separation Lines

Post by Jeissel Denise on January 27th 2013, 2:38 pm

EDIT: How to make them close to each other? cause they are too far from each other Smile


Last edited by Jeissel Denise on January 27th 2013, 2:41 pm; edited 1 time in total

Jeissel Denise
Forumember

Female Posts : 318
Reputation : 0
Language : English
Location : Phillippines

http://hellokitty.forumsmotion.com

Back to top Go down

Solved Re: Separation Lines

Post by Neymar1 on January 27th 2013, 2:39 pm

What is the forum in that image?

Neymar1
Forumember

Male Posts : 406
Reputation : 27
Language : HTML, CSS, and a bit of JavaScript
Location : Scotland

http://www.simplyfifa.com

Back to top Go down

Solved Re: Separation Lines

Post by Jeissel Denise on January 27th 2013, 2:42 pm

@Neymar1 wrote:What is the forum in that image?


i don't remember already. im sorry.

Jeissel Denise
Forumember

Female Posts : 318
Reputation : 0
Language : English
Location : Phillippines

http://hellokitty.forumsmotion.com

Back to top Go down

Solved Re: Separation Lines

Post by Sanket on January 27th 2013, 2:46 pm

What is that part of the code where you changed the templates?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Separation Lines

Post by Jeissel Denise on January 27th 2013, 2:48 pm

Code:
<!-- BEGIN profile_field --></div>
                                  {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->

do you mean that?

Jeissel Denise
Forumember

Female Posts : 318
Reputation : 0
Language : English
Location : Phillippines

http://hellokitty.forumsmotion.com

Back to top Go down

Solved Re: Separation Lines

Post by Sanket on January 27th 2013, 2:52 pm

Use this code instead of the one I gave above.
Code:
<!-- BEGIN profile_field -->
                                  {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}<hr>
            <!-- END profile_field -->

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Separation Lines

Post by Jeissel Denise on January 27th 2013, 3:04 pm

Thank you so muuuch Smile One more thing,



there is also a line added there and i want to remove it. how to remove it?

Jeissel Denise
Forumember

Female Posts : 318
Reputation : 0
Language : English
Location : Phillippines

http://hellokitty.forumsmotion.com

Back to top Go down

Solved Re: Separation Lines

Post by Sanket on January 27th 2013, 3:06 pm

Maybe try this in your css.
Code:
 tbody tr td.hr {
    display: none;
}

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Separation Lines

Post by Jeissel Denise on January 27th 2013, 3:10 pm

Thank you soo much Smile) Done

Jeissel Denise
Forumember

Female Posts : 318
Reputation : 0
Language : English
Location : Phillippines

http://hellokitty.forumsmotion.com

Back to top Go down

Solved Re: Separation Lines

Post by Sanket on January 27th 2013, 3:11 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

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