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

XF 1.3 Remove extra line and space in node list

Discussion in 'Styling and Customization Questions' started by Valter, Jun 14, 2014.

  1. Valter

    Valter Active Member

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

    How to do this? Thanks in advance.

  2. Adam Howard

    Adam Howard Well-Known Member

    Style Properties: Forms

    I believe will change the padding.
    Valter likes this.
  3. Amaury

    Amaury Well-Known Member

    This has nothing to do with forms. He's talking about the bottom border at the end of each category on the forum list.

    @Valter, try this:

    .nodeList .linkNodeInfo {
        border-bottom: none !important;
    Valter and SneakyDave like this.
  4. Brogan

    Brogan XenForo Moderator Staff Member

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

    Try this in EXTRA.css:
    .nodeList .node:last-child .categoryForumNodeInfo,
    .nodeList .node:last-child .forumNodeInfo,
    .nodeList .node:last-child .pageNodeInfo,
    .nodeList .node:last-child .linkNodeInfo
    border-bottom: 0;
    Valter and Amaury like this.
  5. Valter

    Valter Active Member

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

Share This Page