kjc Posted October 17, 2016 Share Posted October 17, 2016 Hi, I get asked a lot by users if it is possible to change the colours of the brown folder icons - Its appears a lot of user do not like brown! - Is there anyway I can change the colour? Many Thanks Link to comment Share on other sites More sharing options...
Graham Quince Posted October 17, 2016 Share Posted October 17, 2016 The icon image is hard coded into FrogLearn I'm afraid, although CSS can come to the rescue here. As with any element in FrogLearn, if you right-click on a folder and choose "Inspect Element" you see the final HTML used to generate the folder With a bit of practice, you can spot the CSS class which sets the look of the element. In this case it's os-icon-ext-resources-folder, so if we then add an HTML widget to the primary dashboard we can do something like this: <style> .os-icon-ext-resources-folder { background: url('image-url.jpg?width=150&height=150') !important; } </style> You will have to upload your own image to a shared area in Frog (I couldn't get color overlay to work) It's always worth adding ?width=150&height=150 to the URL as this triggers Frog to create a smaller image - rather than use a huge picture for a tiny icon !important was needed as it forced the style sheet to overwrite the orginal. Unfortunately IE does not respond to !important If you do get something working, please post a screenshot here - it might inspire others and I'll show the product team Graham Link to comment Share on other sites More sharing options...
kjc Posted October 17, 2016 Author Share Posted October 17, 2016 Graham, many thanks for this and the rest of the good work you do on the community site, Its does not go unappreciated. If I get something working, I will post it here. Thanks Kieran 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now