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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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!

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events