pwb Posted June 2, 2015 Share Posted June 2, 2015 Hi, Does any of you know how it is possible to change the color of the icons, like the security, phone, cart icon etc. I have searched for the color code in a bunch of .css files, but i can't find it. Thanks! Best Regards Link to comment Share on other sites More sharing options...
electriz Posted June 2, 2015 Share Posted June 2, 2015 Every icon is separated CSS class... And that's why you will have to modify colors of each one manually. Example for truck icon: /themes/default-bootstrap/css/global.css Find: .icon-truck:before And add there CSS attribute, for example, color:red; So it would look like .icon-truck:before { content: ""; color:red; } Link to comment Share on other sites More sharing options...
pwb Posted June 2, 2015 Author Share Posted June 2, 2015 Hi. I tried this; .icon-truck:before { content: "\f0d1"; } color: #FFF958; } The icon is still the same green. I've tried to clear cache. Link to comment Share on other sites More sharing options...
electriz Posted June 2, 2015 Share Posted June 2, 2015 And what if you try to add .icon-truck { color: something } ? Link to comment Share on other sites More sharing options...
pwb Posted June 2, 2015 Author Share Posted June 2, 2015 (edited) Nope. It does not work EDIT: My mistake. It has changed color now, but it's the truck. It's not the green are. Edited June 2, 2015 by pwb (see edit history) Link to comment Share on other sites More sharing options...
electriz Posted June 2, 2015 Share Posted June 2, 2015 (edited) So find another icons you want to change. Right click on the element and click "Inspect Element" in Firefox or Chrome. Check what class is it (or just find by name, for example .icon-phone) and do the same thing. Edited June 2, 2015 by electriz (see edit history) Link to comment Share on other sites More sharing options...
pwb Posted June 2, 2015 Author Share Posted June 2, 2015 It changes the color on the icon itself. I want to change the green area, around the icon (pictures in post #1) Link to comment Share on other sites More sharing options...
pwb Posted June 3, 2015 Author Share Posted June 3, 2015 No one who is able to help? Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2015 Share Posted June 3, 2015 any chance to see your website live? it will be much easier to locate proper code 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