XF 1.3 Remove extra line and space in node list

Valter

Active member
There is extra line and space in node list I would like to remove.

How to do this? Thanks in advance.

Untitled-1.webp
 
That will just remove it for all link nodes, regardless of the position in the node list.

Try this in EXTRA.css:
Code:
.nodeList .node:last-child .categoryForumNodeInfo,
.nodeList .node:last-child .forumNodeInfo,
.nodeList .node:last-child .pageNodeInfo,
.nodeList .node:last-child .linkNodeInfo
{
border-bottom: 0;
}
 
It removes all borders in the forum list. I would like to remove single one placed after the last item in the list. There is nothing to separate from so border is not needed there.

I've found a way to do this through templates but I need to add the list of last forums in categories to the array manually. It would be great if we can get these automatically.

What I have done:

1. node_category_level_1
Add to main LI:
Code:
style="margin-bottom:-1px;"

2. node_forum_level_2
Add to first DIV:
Code:
<xen:if is="in_array({$forum.node_id}, array(7,16,51,54,72))">style="border-bottom:0px;"</xen:if>
 
Top Bottom