Bar between posts
3 posters
Page 1 of 1
Bar between posts
How do you put a bar between posts, to separate each post. At the minute everytime you reply to a post it looks like one big reply.
Here's a link for it, so you can see
http://theshadowknightshydr.forumotion.co.uk/t2-what-movies-are-we-looking-forward-to-this-summer
Here's a link for it, so you can see
http://theshadowknightshydr.forumotion.co.uk/t2-what-movies-are-we-looking-forward-to-this-summer
Savo- Forumember
- Posts : 26
Reputation : 1
Language : english
Re: Bar between posts
COuld try this in the CSS:
- Code:
.post {
border-bottom: 2px solid #fff;
}
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Bar between posts
Hey hey. I think it's because <tr> element.
Add to Javascript codes management:
Add to Javascript codes management:
- Code:
$(function(){
$('.post').after('<div style="width: 100%; border-bottom: 2px solid #0088FF"></div>');
});
Guest- Guest
Re: Bar between posts
Jaavascript is kind of overkill..
Maybe try adding content after like so:
Maybe try adding content after like so:
- Code:
.post:after {
background: #fff;
padding: 1px;
display: block;
}
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Bar between posts
I tried that, but still no luck
Savo- Forumember
- Posts : 26
Reputation : 1
Language : english
Re: Bar between posts
Can anyone help with this?
Still can't figure it out.
Still can't figure it out.
Savo- Forumember
- Posts : 26
Reputation : 1
Language : english
Re: Bar between posts
the 1st code LG provided should of worked. did you tick the "submit" tab and refresh page after adding code?
- Code:
.post {
border-bottom: 2px solid #fff;
}
WHITESABBATH- Active Poster
- Posts : 1198
Reputation : 119
Language : English, F-Bombs
Location : Chicago
Re: Bar between posts
Its still not working. This is what I have in the css stylesheet.
Can you only have one code in the css?
#text_editor_iframe, input.post, select, textarea.inputbox, textarea.post{
background-color: #000000 !important
}.post {
border-bottom: 2px solid #fff;
}
Can you only have one code in the css?
#text_editor_iframe, input.post, select, textarea.inputbox, textarea.post{
background-color: #000000 !important
}.post {
border-bottom: 2px solid #fff;
}
Savo- Forumember
- Posts : 26
Reputation : 1
Language : english
Re: Bar between posts
WHITESABBATH wrote:the 1st code LG provided should of worked. did you tick the "submit" tab and refresh page after adding code?
- Code:
.post {
border-bottom: 2px solid #fff;
}
Yes I did this, and it will still not work
Savo- Forumember
- Posts : 26
Reputation : 1
Language : english
Re: Bar between posts
Would you possibly be able to open up a section on your board for guests please, so we can take a quick look. It will help us get a much better idea of how to fix it. thanks.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Bar between posts
There you go, you should be able to have a look now.
Savo- Forumember
- Posts : 26
Reputation : 1
Language : english
Re: Bar between posts
Okay try this, go to display > templates > general > viewtopic_body
Find this, or something similar:
<!-- END postrow -->
And before it add this:
And then this in the CSS:
If that fails, then phpbb2 has dropped even lower on forumotion forum choices. It would then be below choosing animal feces for a forum.
No but seriously, if that fail try putting something like an image there instead of the seperator div.
Find this, or something similar:
<!-- END postrow -->
And before it add this:
- Code:
<div class="seperator"></div>
And then this in the CSS:
- Code:
.seperator {
width: 100%;
height: 1px;
clear: both;
background: #fff;
border: 1px solid #fff;
}
If that fails, then phpbb2 has dropped even lower on forumotion forum choices. It would then be below choosing animal feces for a forum.
No but seriously, if that fail try putting something like an image there instead of the seperator div.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum