Fix css editors bug in admin (8)
CompletedCss editors have a css validation. It is more stict than css standards requires. An error is shown in the Global Css Editor when the css is invalid. None is shown in the Css Editors for page parts, for example, for Footer. So you don't see that the css is not saved.
0
-
This is even worse than you think... I just finished converting my site to a responsive theme, and was pulling my hair out because something kept making my header and menubar revert to default css. I FINALLY figured it out - it was when I'd enter css that AC doesn't accept (like when I tried to use media queries in the header css - support later told me this was a no-no). There was NO ERROR OR WARNING, but apparently it somehow loaded the default css. 0 -
Oh, I can tell another. If you select new buttons design in theme editor then all lines with comments in your css will be replaced by the comments. So never put comment inside your style. 0 -
Time passes. There are changes. You see errors in all css editors. And you can insert media css. But if you select new button design your media instruction become global. 0 -
We fixed this recently with more of a 'warning' level approach instead of having it block saving and validate. It is much more user friendly and follows open source linting standards. This move fixed many of the issues with the css editors and allowed for even more css flexibility too.
Hope this helps! We've been working on the platform hard this year since spinning off as an independent company!
0
Post is closed for comments.
Comments
4 comments