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

Custom Icons Issue

PreviousPage 2 of 3Next

I just had to update to php version 7.1 – wp5.2 requirement and host recommended version.

This code does work anymore. I now get both icons side by side – mine first followed by your default.

Running forum version 1.14.7

Please advise what i need to do.

Thanks

Hello @ray

With the last update a little change is required for the css-selector.

Instead of something like this:

#af-wrapper div[id="forum-1"].forum .forum-status:before {
}

You have to use a selector like this:

#af-wrapper div[id="forum-1"].forum .forum-status i:before {
}

 

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

Hi

Thanks that has worked.

Sorry for delay in replying but I am travelling and internet access is limited.

 

No problem! I am happy to hear that it is working. 🙂

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

Hello

I’m trying a similar customization as explained here without succes

I want to change the icons for my forums using my own images

My forum structure is like so

<icon-1> Forum-1

<icon-2> SubForum – 2

I want to change icon-1 and icon-2 with my own images (.png for instance)

Where do I go in the Asgaros plugin settings? Is it the aspect for the forum where the CSS panel allows to paste in free text?

What code for I need to paste in for the CSS style? I did try this stuff (as explained here) without success

#af-wrapper div[id=”Forum-1″].forum .forum-status i:before {
content: “”;
background-image: url(https://image.flaticon.com/icons/svg/160/160078.svg);
color: black;
background-size: 40px 40px;
background-repeat: no-repeat;
height: 40px;
width: 40px;
display: inline-block;
}

Thanks

I repost my question here, sorry to insist but nobody can help with this?

Thanks in advance 🙂

 

 

Hey @dax78,

please try this code:

#af-wrapper div[id="forum-1"].forum .forum-status i::before {
    background-image: url(https://secure.gravatar.com/avatar/bcec7183defb1df831a9f02d426219fa?s=40&d=mm&r=g);
    background-size: 30px 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: "";
}

Your code is probably not working because you are using “Forum-1” as ID but it should be “forum -1”. Please check your source-code for the exact ID or share the URL of your forum.

You can insert this in “Forum” -> “Appearance” inside the “Custom CSS:” Field.

Asgaros has reacted to this post.
Asgaros
Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

Hi dax78

I’ve been away from the internet for a couple of weeks.  My working code is

#af-wrapper div[id="forum-1"].forum .forum-status i:before {
    content: "";
    background: url(https://image.flaticon.com/icons/svg/160/160078.svg);
    color: black;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    display: inline-block;
}

As per qualmy91, I think “Forum-1” vs “forum-1” may be a problem for you.

My theme (Weaver Xtreme) allows me to add custom CSS so I use that instead of the forum appearance settings tab. The forum appearance settings tab was not available when I started using the forum – I would use it now but I just haven’t converted over to it yet.

Asgaros has reacted to this post.
Asgaros
Quote from qualmy91 on October 2, 2020, 8:15 am

Hey @dax78,

please try this code:

#af-wrapper div[id="forum-1"].forum .forum-status i::before {
    background-image: url(https://secure.gravatar.com/avatar/bcec7183defb1df831a9f02d426219fa?s=40&d=mm&r=g);
    background-size: 30px 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: "";
}

Your code is probably not working because you are using “Forum-1” as ID but it should be “forum -1”. Please check your source-code for the exact ID or share the URL of your forum.

You can insert this in “Forum” -> “Appearance” inside the “Custom CSS:” Field.

Hi there

I identified the forum ID (forum-2 in my case) in the source code (using browser Show Source Code menu on my forum). I did insert your code – changing forum-1 with forum-1 of course – in the Forum Appearance -> Custom CSS field but the icon does not change.

Here is my forum if you can have a look and see what am I doing wrong.

http://www.auto-gt.net/

Thanks

 

Please have a look at the screenshot, it seems like it changed to your custom icon.

Please try to press Ctr+F5 if you are using Chrome as your browser to force it to reload also the CSS files.

Uploaded files:
  • Screenshot_20201013_133206.png
Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.
PreviousPage 2 of 3Next