To retrive hide specific elements

I hide save button using custom html using CSS or JavaScript code below

<style type="text/css">

input#confirm.submit.aui-button {
display:none !important;

 how to retrive/add save button.

2 answers

1 accepted

As the Confluence UI is not usable, the customizations in "custom HTML" need to be removed through the Confluence database directly. Before proceeding, please ensure that you have a full backup of your Confluence database.
Shutdown Confluence
Run the following SQL query against your database:

SELECT bandanavalue FROM bandana WHERE bandanakey = 'atlassian.confluence.settings';

You can copy the result into a text editor, and locate <customHtmlSettings>...</customHtmlSettings> tag as it contains the customizations added to Custom HTML.
To reset this, you need to remove the customizations added, and your customHtmlSettings should look like:






(warning) Make sure all the tags are complete and properly enclosed, and you have only removed the added codes.
After that you need to update your Confluence database with the modified settings. To do that you can run the following query
(info) You must copy the whole settings and replace <modified_settings> with.

UPDATE bandana SET bandanavalue = '<modified_settings>' WHERE bandanakey = 'atlassian.confluence.settings';

Start Confluence

0 vote

Remove the css and javascript?


Hi Nic,

          how can remove the css and javascript ,i  hidden save button it shows only edit and cancel button, how to can retrive save button,  I think first remove css and javascript using sql database, if u know  please provide steps i will follow that.


custom html.JPG

html code.JPG




I don't understand.  You said you had used some css and javascript to remove the save button, then you said you wanted to see it again.  So you need to remove the css and javascript you added to hide it.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

685 views 21 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you