Page Title Hide

Cupara

Well-known member
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.
 
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.
 
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!
 
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?
 
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>
 
Just to add again that thw widget system is awesome! Pretty much just built our portal page using a combination of widgets and thread prefixes :-)
 
Top Bottom