I created a css for my space. In the Page title area, the font size is getting applied, but the text color is not getting applied. However, the change is reflecting across the space for all other H1s.
I used a simple command
h1 {font-size: 48px; color: #CCCCCC;}
How do we fix this? By the way i am using version 5.2.3.
Community moderators have prevented the ability to post new answers.
the page title is an <a>-tag inside the <h1>. that tag is formatted seperatly. you have override the color of that <a> tag.
that is what the confluence page title html in 5.1.1 looks like:
<div id="main-header"> <div id="navigation" class="content-navigation view"> … </div> <h1 id="title-heading" class="pagetitle with-breadcrumbs"> <div class="space-logo " data-entity-type="confluence.space" data-name="..." data-key="..."> <a><img class="logo global" alt="" src="/confluence/images/logo/default-space-logo-48.png"></img></a> </div> <div id="breadcrumb-section"><ol id="breadcrumbs"> … </ol></div> <span id="title-text" class="with-breadcrumbs"> <a href="/confluence/display/...SPACE.../...PAGE..."> ....PAGETITLE.... </a> </span> </h1> </div>
you need css like:
#title-text a { color: red; }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.