Jump to content

Featured Replies

Posted

Hey. I need to use different forum icons for light and dark styles. Is it possible to do something like that?

Could contain: Text

hi

If your theme has a light/dark mode, you easily do that. there is no option by default for that.

html[data-theme="dark"] #elLogo {
 /*dark logo*/ 
}
html[data-theme="light"] #elLogo {
 /*light logo*/ 
}

 

  • Author

Thanks for your response. I am not using the dark mode (its not working properly), so I have a seperate light and dark theme. The code you presented above is for the site logo I guess? 

 

What I meant is to have two different forum icons, depending on the style I am using:

Could contain: Logo, Text

3 hours ago, angle4cor said:

The code you presented above is for the site logo I guess?

yeh

3 hours ago, angle4cor said:

What I meant is to have two different forum icons, depending on the style I am using:

for this you can do too.

what theme do you use?

  • Author

My theme is based on the default Invision theme.

ok.

your users can switch between light and dark mode?

  • Author

Yes, they can do it manually. So, I would need a different icon for each style.

if it's possible send your forum link in PM and I'll check and then I promise to help you

For forums, do you want to use font icon or image?

For forums, do you want to use font icon or image?

Recently Browsing 0

  • No registered users viewing this page.