• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Page Title Hide

Mythotical

Well-known member
#1
Is there a way to hide the default title and any title from appearing on a single page?

I know if you use
Code:
<xen:title>Title Here</xen:title>
Then that replaces the default but I never found a method to make that only pertain to the title in the browser and allow me to not have a title at the top of the page.

If not no biggie, just figured I would ask before I moved on.
 

Chris D

XenForo developer
Staff member
#2
Are you talking about hiding the title from appearing in the H1 tag of the page?

If so, you can use an empty
Code:
<xen:h1 />
tag.
 

RobParker

Well-known member
#4
Are you talking about hiding the title from appearing in the H1 tag of the page?

If so, you can use an empty
Code:
<xen:h1 />
tag.
Should this still work? I want to hide the page title from the top of a specific page.

It doesn't seem to work but I might be doing it wrong!
 

RobParker

Well-known member
#8
Can I add CSS to the page template to override the normal CSS?

Will something like this work inside the page template?

.p-breadcrumbs {
display:none
}

Or would you do

<xen:require css="remove_breadcrumb.css" />

And then stick the css in it's own file?
 

Chris D

XenForo developer
Staff member
#9
There’s a couple of ways; you can use extra.less, you can create your own template and call it with <xf:css src="remove_breadcrumb.css" /> or you can use inline CSS like this:
<xf:css>
.p-breadcrumbs {
display:none
}</xf:css>