XF 2.2 Forumhome vertical border? and nodes color

Ruh

Active member
Hello

Vertical and horizontal border and forum node colors as in vbulletin

how can I do it?

Thanks....


Screenshot_1 - Kopya.webp?
 

Attachments

  • 1670580116668.webp
    1670580116668.webp
    296 bytes · Views: 2
  • Screenshot_1 - Kopya.webp
    Screenshot_1 - Kopya.webp
    29.7 KB · Views: 2
Hello, for alternate color for node you can use this code
HTML:
[data-template="forum_list"] {
    .block-container .node:nth-child(odd) {
        background: #e9f5fd;
        border-top: none;
    }
    .block-container .node:nth-child(even) {
        background: #fff;
        border-top: none;
    }
}
 
  • Like
Reactions: Ruh
For stats cells
HTML:
.node-stats {
    border-left: 1px solid @xf-borderColorFaint;
    border-right: 1px solid @xf-borderColorFaint;
}
Adjusts the color as you wish.
 
Last edited:
  • Like
Reactions: Ruh
Top Bottom