Forums

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

Selector for page's title-text

Masin Al-Dujaili
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2020

Hello,

I want to export a page but need the page's title h1 styled differently from the other h1 elements. I cannot find the right selector to match it in CSS. In regular web view I used h1#title-text but this does not work in PDF export.

Any hints welcome!

1 answer

0 votes
tobias.vogt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2020

Hey Masin,

I don't know if this is still relevant for you but I stumbled upon the same issue today.
What I have figured out is probably not the most elegant solution but it worked for me:

.pagetitle h1:first-child
{
display:none;
}
Masin Al-Dujaili
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2020

I'll give it a try. Thanks for your reply!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events