css styling for the last node

dtmcl

Well-known member
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.

2qjbw4m.png



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.
 
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;

}
 
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.
 
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;
}
 
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
 
Top Bottom