The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Usign HTML to change page color

tuxiaolin2367
January 25, 2021

Hi all,

any one knows how to use HTML scripts to change single page color?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Bill Bailey
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 Champions.
January 25, 2021

Are you wanting to change a color on all pages site wide, or all within a space, or just on one page for one element (the answer differs). ;-)

0 votes
Martin
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 Champions.
January 25, 2021

Could use CSS style element for this. Something like:

 

<style type="text/css"> div#main { background: rgb(74,98,122); background: -moz-linear-gradient(0deg, rgba(74,98,122,1) 0%, rgba(136,189,188,1) 100%); background: -webkit-linear-gradient(0deg, rgba(74,98,122,1) 0%, rgba(136,189,188,1) 100%); background: linear-gradient(0deg, rgba(74,98,122,1) 0%, rgba(136,189,188,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4a627a",endColorstr="#88bdbc",GradientType=1); background-attachment: fixed; }
</style>
TAGS
AUG Leaders

Atlassian Community Events