In the past I was able to post the following CSS in the global stylesheet to make the background of the button white but since 7.7.3 the button continues to be transparent.
/*changes the transparent create from template button to have white background*/
#main-content a.create-from-template-button {
background-color
:
#f2f2f2
;
}
Any CSS help would be appreciated.
I am having a similar issue with a user macro that creates a Jira - the background is being wiped out completely. I'm currently seeing 7 overrides to Input when I inspect the page. When I follow the line link to the issue, I see the statement, but there is nothing explicit in my CSS macro within Confluence. Ideas?
Jonathan,
#main-content a.create-from-template-button {background-color: #f2f2f2;} is actually a very light grey. Using the hex value of #ffffff will make it white. #main-content a.create-from-template-button {background-color: #ffffff;}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The table's background color seems to trump the button color.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you inspect the element in the browsers and share the HTML. Can you also share the CSS that you are applying on the table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jonathan Smith ,
You can use the following CSS in your space stylesheet
#main-content a.create-from-template-button {
background-color: rgba(0, 0, 255, 0.3);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Soumyadeep Mandal The code did not work at the global stylesheet or space stylesheet level.
Note: My use case is to put the button in a table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jonathan Smith ,
You can use
background-color: rgba(255, 255, 255, 1);
or
background-color: rgb(255, 255, 255);
or
background: #fff;
or
background-color: rgba(255, 255, 255, 0.1);
to make the background white!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Soumyadeep Mandal Background is too generic, it needs to be 'create from template' button focused.
I am not sure if !important thrown in-front of the code above would force the button background to be dominant or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.