Jump to content

Changing the default icon forums


Recommended Posts

Hi,

Is there a possibility to change icon forums( ips v.4.54), the default one (I think is a rendered icon from font fontawesome-webfont) with my own one , but with one step modification.

I know I can upload my own icon image, but sadly I have to change it for each of my forums and I have lots of them and subforums.Imagine to do that for all of them ,manually, very time consuming.

If there was an image/icon file default for forum It was simply all  I had to do overwritting that file wih my own, but I think it is rendered from the font.

Edited by Dreamlander
Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
3 minutes ago, Dreamlander said:

What about replacing with files images like png,gif etc.?Is there a method?

Yes, it's possible and quite easy.

Go to Forums in your AdminCP and edit the forum you want to replace the icon for. At the bottom of the page you'll see "Icon", where you can upload a custom image to replace the icon.

Take a look at the images in this help guide:

 

Link to comment
Share on other sites

20 minutes ago, Runar said:

Yes, it's possible and quite easy.

Go to Forums in your AdminCP and edit the forum you want to replace the icon for. At the bottom of the page you'll see "Icon", where you can upload a custom image to replace the icon.

Take a look at the images in this help guide:

 

I know I can upload my own icon image, but sadly I have to change it for each of my forums and I have lots of them and subforums.Imagine to do that for all of them ,manually, very time consuming.

 

Link to comment
Share on other sites

Ah, I misunderstood your question.

Yes, it's also possible to upload an image to replace all forum icons, but to do so you'll have to edit the theme. I'm not 100% sure where you need to make that edit, but I'll check later unless someone else posts the solution.

Link to comment
Share on other sites

50 minutes ago, Dreamlander said:

What about replacing with files images like png,gif etc.?Is there a method?

Be mindful that I know nothing and you shouldn't listen to me, however from a couple minutes of investigating it appears there are four different classes assigned to the four types of forums (cForumIcon_normal, cForumIcon_answers, cForumIcon_password, and cForumIcon_redirect) that you can override with some simple css.

Something like the code below placed in the custom.css should do the trick.

.cForumIcon_normal {
	content: url("https://www.yourwebsite.com/path_to_img/normal.png");
}
.cForumIcon_redirect {
	content: url("https://www.yourwebsite.com/path_to_img/redirect.png");
}
.cForumIcon_password {
	content: url("https://www.yourwebsite.com/path_to_img/password.png");
}
.cForumIcon_answers {
	content: url("https://www.yourwebsite.com/path_to_img/answers.png");
}

 

Edited by Austin Headley
sp.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...