dostoyevski Posted March 17, 2022 Share Posted March 17, 2022 Hello, I am trying to modify the theme.css of my classic theme. But trying to open it gives me this error: The file you opened contains some invalid characters. Continuing to edit this file may corrupt the document. You can also choose any other character encoding and try again. This is the file: file ,and as you can see I have verified that it has invalid characters. This happens to me when opening it with the ubuntu text editor, with netbeans, and in both windows and ubuntu. I have also tried with the theme.css of another installation of prestashop and the same thing happens to me.How can i fix this? Greetings Link to comment Share on other sites More sharing options...
JBW Posted March 18, 2022 Share Posted March 18, 2022 (edited) 20 hours ago, dostoyevski said: I am trying to modify the theme.css of my classic them You should not edit theme.css - you will loose your changes with next Prestashop upgrade. Do your changes in custom.css file instead, this will keep stable. Looking into your file it really contains wrong chars. Maybe you use wromng transfer type on FTP? Better replace this with the version from Prestashop and start working on custom.css. Edited March 18, 2022 by JBW (see edit history) 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