MyBB Community Forums

Full Version: POSTS to close together
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Here is my Problem the posts are literally attached a want each one to be apart...
[Image: 803ec6d43cc1a168f9bb87b3134c4820.png]
put a <br/> at the top of the postbit template.
ah I put a <p> at the end would that still be ok?
A <br/> is more likely to work with minimal knowledge of css and html.
Hey remember this code:

table >tbody>tr:last-child >td:first-child{
 border-bottom-left-radius: 5px;
}

table >tbody>tr:last-child >td:last-child{
 border-bottom-right-radius: 5px;
}

i was wondering is there anyway for that code to only apply to the index trow, these:
[Image: 4c429b16929373abf0f361b6a861d46e.png]
give the index table a class - say it is table bla bla class="tborder", make that class ="tborder index". Then change the code to make it something like:


table.tborder.index >tbody>tr:last-child >td:first-child{
border-bottom-left-radius: 5px;
}

Something like that.
would i need to edit the html as well?
Yes, you need to edit the html to give it a class.
ah I see...so would i just create a css. add the above code..go into template - index then make it under the name i gave for the css.
sort of.

go to template: forumbit_depth1_cat and find this line:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

make that

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder index">
Pages: 1 2