Change create from template macro button color

James H
Contributor
June 12, 2018

Hi all, 

 

I'm trying to change the Create from Template macro button color,  It doesn't seem that this button gets its coloring from the Look and Feel > Color Scheme page.  I've tried adding some custom CSS but obviously not getting this quite right.  The source of a page using this template is: 

<p><a class="aui-button create-from-template-button conf-macro output-inline" data-space-key="CUS" href="https://docs.x.com?templateId=3440645&amp;spaceKey=CUS&amp;newSpaceKey=CUS" data-template-id="3440645" data-hasbody="false" data-macro-name="create-from-template">Add a Customer Page</a></p>

I figured the CSS would be something like:

.create-from-template-button {background-color: blue;}

but this isn't working.  

 

 

 

 

 

 

1 answer

1 accepted

3 votes
Answer accepted
Igor M.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 28, 2018

Hello,

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);
}

Regards,

Igor

James H
Contributor
June 28, 2018

Perfect thanks Igor! 

Also I was able to change the hover color with the following:

 

#main-content a:hover.create-from-template-button { ... }
Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events