• Resolved Air.

    (@air-1)


    After updating to 1.9.1 we see some strange behavior and maybe you will be able to point us in right direction.

    So today we have noticed that some pages that we were recently making with Elementor lost style. However after going back to Elementor edit, everything looked good. So we updated it(page), and page looked great again.

    However after around hour it was again without style, even that we made no changes since. We have emptied cache, server cache, browser cache and mind cache ??

    I see that style file view-source:https://rifetheme.com/wp-content/uploads/elementor/css/post-7873.css?ver=1516011483 doesn’t have any style for element elementor-element-577b9a94. When i get back to Elementor edit, styles are there.

    I have no idea what could be causing this, cause last change we made was plugin update. I hope you may have some idea. Maybe new autosaving?

    With kind regards.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Air.

    (@air-1)

    OK, scratch that. It is probably not elementor fault.

    We have mulitisite installation, with unified upload directory – it means files from all sites land in one place, not in per site directory. It is done so we save lot of space with our demo data. No matter.

    Case is to find a way to make upload directory work again in “classic style” just for elementor.

    With kind regards.

    Thread Starter Air.

    (@air-1)

    OK guys, i managed to solve this by adding blog id to file names that are generated per post and to global.css, so they look now like this:
    global-85.css
    post-85-10834.css

    Now I have question: could you add filters to Post_CSS_File::get_file_name() & Global_CSS_File::get_name() ? I know this is not standard situation, but thanks to it I wouldn’t have to edit plugin every time to make it work with my setup for demo sites.

    Maybe you have other proposition what I could “filter” to achieve similar effect of unique file names?

    Second thing – it would be great if you would check if those CSS files exists before embedding them, and if not recreate them on file request.

    With kind regards.
    Air.

    Thread Starter Air.

    (@air-1)

    edit: wrong topic

    • This reply was modified 6 years, 9 months ago by Air..

    Hi.. I got the same problem. The reason for it is caching plugin. If i combine all css files, the problem persists. When the option removed, I can see all styles.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disappearing styles after update’ is closed to new replies.