• 0

Custom CSS bug

Question

Posted · Report post

When i update my custom css it doesn't seem to update the site.... today

when i click inside the custom css window and hit ctrl+return the preview seems to make the changes (some of them) but then full publish and 'refresh' sends it back to how it was pre-css change...

 

it may just be a matter of time.... funny last night it seemed the more i changed the site the less responsive the whole system seemed to become... and the greater the lag... i also started getting issues where headings in text boxes on pages with the same template popped up on the other pages....

 

any of this ringing any bells?

Share this post


Link to post
Share on other sites

7 answers to this question

  • 0

Posted · Report post

Hi there, there was a small bug in the admin editor which was fixed in 1.1.4 which was released the last day or so. Make sure you upgrade to the latest to correct this. On early editions, once you've entered your code, click elsewhere in the admin panel to see the spinning 'saving' icon in the top right of the control panel, wait till this stops spinning before publishing to ensure the changes take affect.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm using 1.1.4...

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

my custom css box is simply not working..... any ideas?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi antonyw,

The bug was not solved with DMS 1.1.4. See PageLines last update/announcement here: https://github.com/pagelines/DMS/issues/564.

 

Until it's fixed, use the cumbersome but very simple trick indeed mentioned by James B. If you make any kind of changes in your custom LESS/CSS area:

  • just click outside of the area to initiate a save,
  • you'll see a "saving" icon & message + your toolbar status button color should change from green to blue = "Undo Unpublished Global Changes",
  • before publishing.

And double-check your changes are correctly saved after publishing, by going somewhere else and come back to this area.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Is your issue that your CSS isn't saving, then see my solution here - http://forum.pagelines.com/topic/31627-dms-keeps-deleting-my-new-css-and-other-problems-with-memory/

 

However, are you saying your CSS saved and is visible in the editor ?

If your custom CSS has been saved, then the most likely cause of your issue is that your CSS isn't valid or has errors.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

OK .... so to finish this story, none of the changes i made to custom css yesterday would work. This morning i edited the custom css from the dashboard and saved and then switched to the front end editor and saved again.... bingo a million changes happened.

 

I am now not keeping a dashboard tab and front end tab open at the same time just in case... 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

OK, so from that description above, its most likely that you were running into the saving bug. As the back-end editor is slightly different to the visual editor one and doesn't have the saving problem.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now