Skip Navigation

[Resolved] When CSS is edited in the layout CSS editor and updated, styling breaks.

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by raoulB-2 6 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#606569

I am trying to: After deployment on the production server, whenever css is edited using the layouts editor, the custom styling is completely ignored on the frontend, as if the database field of Layouts CSS is empty. Whenever I restore the css back to the state before the edit (undoing the alteration), the styling is reapplied.

Link to a page where the issue can be seen: It affects the whole site.

I expected to see: I expected the css changes to be applied.

Instead, I got: No custom CSS applied at all!

#606577
Screen Shot 2018-01-15 at 22.28.20.png

Found another problem which makes wonder if there is an issue with the database connection. I can upload images to the wordpress media manager, but they aren't rendered in the media manager or the website frontend. This all seems too much of a coincidence and might be related.

EDIT: Solved. Unrelated.

#606654

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-01-16 at 08.17.17.png

Hi Raoul

If you visit a page on the front-end that uses a Layout then you should find that a dynamic CSS file with a meaningless name is enqueued—see my screenshot.

That is from your own site and shows the custom CSS saved at Toolset > Layouts CSS & JS.

Note that I made a small edit—adding the word test to the opening comment—and it is present on your site.

That is, my changes were saved and are active on the front-end of your site.

I can't reproduce the problem you describe on your site.

If I misunderstood the question, please let me know.

#607206

That's odd. It appears to be resolved. Maybe a database hiccup of some sort. Or cache related in my browser. Thanks all the same. Overall very pleased with Toolset. Becoming quite a crack at it! No going back to coding custom types and views for me! Thanks for the timely reply.

Raoul