Vininorden Posted August 9, 2016 Share Posted August 9, 2016 Almost all the basic icons in my shop have turned into question marks. From previous posts I can see it should be a problem in the global.css file, and in fact I see all the icon lines there have the value "?". Can someone indicate me a way to paste the correct lines? I tried to download the pack again but when I open the default global.css it has the same problem in the icon lines. It feels like it's my editor Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted August 9, 2016 Share Posted August 9, 2016 It is because of file encoding problem, it will happen each time when you open CSS file in your editor (no, this don't happens to all of us but you) so just get new global.css from fresh Prestashop and upload it using your FTP without open it. If this don't work then paste link of your site and let us check what can be fix your problem. Link to comment Share on other sites More sharing options...
Vininorden Posted August 9, 2016 Author Share Posted August 9, 2016 Yes I had considered doing that but then I would lose the (few) changes I made to global.css. If I do it anyway I cannot open global.css anymore, is there a way I can change the style without changing global.css? Like an override Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted August 9, 2016 Share Posted August 9, 2016 Then i advice you to follow the following steps. Get fresh copy of global.css Compare both fresh and your old gloabl.css using https://www.diffchecker.com/ filldiff tool Collect all the CSS changes and make separate CSS file Now you have opened new css file so it is not worthy in your case so get one more new copy and replace it in your site At this stage you have original global.css file and one more separate css file having all of your chnages. Now place that newcss.css file in themes/default_bootstrap/css/ and add it in themes/default_bootstrap/header.tpl file using link tag exactly just before closing </head> tag Now you should have global.css and newcss.css file so you will get impact of global.css on icon and modification from newcss.css Link to comment Share on other sites More sharing options...
Vininorden Posted August 9, 2016 Author Share Posted August 9, 2016 Thanks for the detailed answer. I did all of this and it works, except that it appears that the new css doesn't have much effect and the browser keeps picking style info from global.css Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted August 9, 2016 Share Posted August 9, 2016 But at lest you have icon back that is what you wanted, not made new changes in newcss.css, not in global.css. I think that is not hard to repeat your changes. Link to comment Share on other sites More sharing options...
Vininorden Posted August 9, 2016 Author Share Posted August 9, 2016 No I mean I did all of that too. I created the new css, I linked it in the tpl file and put in in the folder, but it doesn't seem to have any effect. Link to comment Share on other sites More sharing options...
Vininorden Posted August 9, 2016 Author Share Posted August 9, 2016 Ok, sorry, it was just very slow, now the change appears. I suppose it's because of some cache, is there a way to speed up the changes showing up? Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted August 9, 2016 Share Posted August 9, 2016 Disable all the caches while it is under development mode. 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