• Resolved lekkerbezig

    (@lekkerbezig)


    Hi Joseph,
    I started recently with your plugin and I like it a lot. But for some reason the calendar stylesheet does not work properly for logged off users. It only applies when I am logged in. Any ideas where I need to look for?

    I disabled caching for this page + cleared any remaining cache data + ensured no css or js resource is blocked + checked my logs and console for errors + changed stylesheets multiple times

    kind regards

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Well, that’s odd. My first guess would have been caching, but it sounds like you’ve pretty well explored that avenue.

    Does the stylesheet appear for *any* logged in user, or is it just appearing for admin users or for yourself?

    There are a number of checks to verify whether the CSS should be loaded or not, but none of those checks are user-based. However, it’s not impossible that a plugin or theme could change something depending on user log-in that could have an impact – I’m just not sure what it would be.

    Have you limited the CSS usage in the plugin settings? E.g., added a value to the ‘Load CSS only on selected pages’ option?

    Thread Starter lekkerbezig

    (@lekkerbezig)

    Hello Joe,
    Thank you for your reply, I figured out the problem with your help. I turned off every single plugin again to check for change in behaviour and this time I spotted a change when the plugin “asset cleanup” was turned off. That made it a lot easier to investigate. It turns out that the sitewide unload setting “turn off dashicons when admin bar is hidden” also blocks the calendar stylesheet for every logged in and off user except the admin. After unchecking the calendar works for every visitor.

    kind regards

    Plugin Author Joe Dolson

    (@joedolson)

    Thanks for following up! That’s useful to know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stylesheet only applying when logged in’ is closed to new replies.