Support » Fixing WordPress » Additional CSS visible only when logged in

  • Resolved ayaansharma


    I addded some additional css to my site. but that css is only visible when i am logged in. I wanted to center an image. It is visible when i am logged in but not when i visit the site from another device or from incognito mode. i also added some border to see if its working. border is also visible only when i’m logged in not when i see from incognito mode.
    see image below :
    border visible when logged in: imageClick to see image
    Border not viasible when not logged in : click to see image

    • This topic was modified 4 months, 3 weeks ago by ayaansharma.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • You seem to be using a caching plugin, which could be responsible for this. I see in the source code the name “Endurance Page Cache”. This could also be provided by your web host, if you can’t find anything under that name. You would have to clear their cache in any case to solve this.

    I agree with @threadi that it is a caching issue – I just checked your site, and the border shows for me even though I am not logged in. Your cache plugin likely bypasses the cache for logged in users, so you see the latest CSS changes when you’re logged in, but site viewers will have to wait for the cache to be cleared before they see the CSS updates.

    Your cache plugin (or your web host) will likely have an option for clearing the cache, so doing that should help your visitors see the changes more quickly.

    Thread Starter ayaansharma


    sorry for late reply. i cleared the cache and after some time it worked . thank you everyone!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.