Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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 Leaders.
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
mybucket2018 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>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events