• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

css styling for the last node

ShadyX

Well-known member
#1
well i had a little search and couldn't really find anything, im trying to apply css to the last forum node in each category to achieve rounded corners.




i cant seem to find a way, can anyone help?

this is the last thing i need to do before i roll the new theme out on to my forum :)

thanks.
 

Forsaken

Well-known member
#2
Code:
.nodeList .forum.level_2:last-child,
.nodeList .page.level_2:last-child,
.nodeList .link.level_2:last-child
{
    border-radius:0px 0px 10px 10px;

}
 

Forsaken

Well-known member
#4
I tried adding it to extra.css , node_list.css and node_forum.css but it does not seem to work :(
Forgot I made changes to my nodelist.

Code:
.nodeList .categoryForumNodeInfo, .nodeList .forumNodeInfo, .nodeList .pageNodeInfo, .nodeList .linkNodeInfo
{
border-radius:0px 0px 10px 10px;
}
This should work for your site.
 

Forsaken

Well-known member
#6
It makes every node have rounded corners, im trying to just apply it to the last node :)
Add :last-child, I just copied the declaration from your style.

Code:
.nodeList .forumNodeInfo:last-child,
.nodeList .pageNodeInfo:last-child,
.nodeList .linkNodeInfo:last-child
{
border-radius:0px 0px 10px 10px;
}
 

ShadyX

Well-known member
#7
I am still having the same problem, i tried copy pasting the code you just gave me to extra.css and adding :last-child, to the end of the previous codes