Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cache no clearing after editing the CSS

Mick Davidson
Contributor
April 1, 2012

Hello,

We wanted to hide the Export to Word function from a couple of spaces and edited the CSS to do this. Two admins did this in the two spaces. We want to remove/hide this from clients so they only use Export to PDF.

We then asked s couple of non-admin users to see if they could still see it, which they could. Which they sholdn't be able to do.

We asked them to refresh their browsers, to log off, close the browser and log on again from scratch, and even to turn their machines off and re-log on. We've also asked them to delete their caches.

But no matter what they did, the option is still visible to them. And they were looking at the right space.

I think its very strange that the two people who edited the CSS to hide this functionality can no longer see it, but ordinary users still can see this.

Does anyone have any thoughts on what else we can do to resolve this.

Cheers.

1 answer

0 votes
Andrew Frayling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2012

Hi Mick,

A few suggestions/questions:

1. How was the CSS modified? Custom HTML? Changes to the Space Layout? Changes to the Space CSS?
2. Have you tried flushing all of Confluence's caches? Browse -> Confluence Admin -> Cache Statistics -> Flush All
3. For the users that are still seeing the export option can you get them to check the CSS that's being applied by using a browser web development tool? I'm thinking of right click -> Inspect Element in Google Chrome as it will show you exactly which CSS selectors are being applied and compare that with what the admins changed. What could be happening is slightly different HTML being generated for the non-admins which is causing the CSS selector to not be applied.

Hope that helps?

Andrew.

Mick Davidson
Contributor
April 2, 2012

Andrew,

thanks, sorry been away from the computer all evening, so I've only just seen your response.

(BTW, how many of my questions are you allowed to anser before I have to start paying?) :)

I'll take a look at these with the IT dept tomorrow, but we added the following to the Space Stylesheet:

  1. #action-export-word-link {
  2. display:none;
  3. }

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events