RSS Feed/News How to add space after custom font awesome node icon?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,375
Points
823

Reputation:

Hi,

My custom font awesome node icons are very close to the node title. So I would like to add some space between.

This is what I have in extra.less
CSS:

Code:
.node.node--id7 .node-icon i::before {
    .m-faContent(@fa-var-globe);
}

I tried adding this.
CSS:

Code:
.node-icon
{
    width: 56px;
}
I found this here
https://xenforo.com/community/threads/how-to-add-space-after-node-icon.201991/post-1555696

This should have worked with XF 2.2 but if I use that on XF 2.3 with the custom font...

Read more

Continue reading...
 
Status
Not open for further replies.
Top