Change hyperlink CSS for blog posts and pages

Helo, I may be being stupid here, I can change CSS for the actual structure of the site and sidebars etc. But I can't seem to find where I can set the hyperlink colour and hover etc for blog posts and all other created content - pages etc.

At the moment it just turns them a slighlty lighter grey which doesn't make it stand out enough.

Any help would be much appreciated!

Thanks,

Elliot

1 answer

1 accepted

Hi Elliot,

you can define CSS for space, or global for site.

You can stylized it via Look & Feel settings.

When you need change color of links, you have to look for that which you want stylized (use developer tools in web bworser to looking for class or id of element).

When you using that, good is using !important in styles, because by that you said that this cannot be overwritten.

Something like that:

a{
   color: orange !important;
   font-weight: bold !important;
   text-decoration:none !important;
}

By this you have ALL links (a elements) bold, orange and withou underlines and other text decorations.

When you need define links when they are hovered, active, clicked, you have to use selectors like :hover, :active, :visited... for example:

a:hover {

color: red !important;

}

this make that you will have links after move cursor on them red :)

But be careful with that when you need use !important. http://css-tricks.com/when-using-important-is-the-right-choice/

For global CSS go to Administration Tools, Look&Feel section and there is Stylesheet.

For space CSS go to Space Tools and the same as above :)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,848 views 27 11
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