Forum breadcrumbs – You are here:Asgaros Support ForumSupportIcons
Please or Register to create posts and topics.

Icons

How can I use my icons? dashicons are too limited, I would like to use my own but I don’t know how please help from Russia with love

Hello @medved

It depends on the icon-pack you want to use. If you want to use custom-icons for your forums, the css-code could look like this:

#af-wrapper #forum-42 .forum-status:before {
  content: "\f125";
}

This example-code changes the icon for a forum with the ID 42.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I did not quite understand, for example, I have a png file, how can I use it as an inkonki, and how to use this css script, you can get more detailed information if it’s not difficult for you

Hello again @medved

The icon-files you want to use must be available on your server or somewhere else. You can use the URL to an icon to specify the icon for a specific forum. The ID of a forum can be found in Forum -> Structure.

For example if you want to change the icon of the forum with the ID 2, you can use the following css-snippet which links to a certain icon-url. This code can be added to Forum -> Appearance -> Custom CSS.

#af-wrapper #forum-2 .forum-status:before {
    content: "";
    background-image: url(https://cn.bing.com/th?id=OIP.Vgy137cqI2guUHLIAlBLjAHaHa&pid=Api&rs=1&p=0);
    background-size: 40px;
}

 

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

dont work 🙁

Forum -> Appearance -> Custom CSS.

Forum -> Structure.

Site

 

@medved

Dont change the empty content-attribute in the css. This one must stay empty.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Thx bro <3 work!

Asgaros has reacted to this post.
Asgaros