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

XF 1.5 homepage edit

Brad P

Active member
#1
Afternoon,

How do i got about removing the title bar from the homepage, i understand you can do this

Code:
.titleBar h1 {
  display: none;
}
but that removes the text from the message layout also, only want it removed from homepage​
 

Attachments

Brad P

Active member
#4
That won't help bud, i wan't to remove it

Code:
Questions and Answers:
Q: Is it possible to delete the work "Forums" and not show anything when the Forums tab is clicked?
A: No.
Still trying to find the correct template to remove if from only the homepage
 

Brad P

Active member
#6
sure i got you there mate, but its not as easy as it shows.

I can create an id before the class to remove it but the only location i can find is the page_container but it still removes the titles from my threads, just want the home page.

i have located the <div class="titleBar"> > PAGE_CONTAINER then i search for the class and i add the id="remove_hometitle" add to extra.css yes it removes from homepage but it also removes from all threads
 

Brogan

XenForo moderator
Staff member
#7
but its not as easy as it shows.
It really is.

The template name is not PAGE_CONTAINER.
It is whatever template is being used for your home page.

If you're using my add-on, there's a style property to remove the page title.
 

Brad P

Active member
#19
The S0rethumbs community i want to remove, i have unchecked the SP for your addon Brogan, it still displays on my end.
what do you mean? i have already said that the code you give me removes also the thread discussion title as well using that, i also found other threads on this but i am stumped


but again i am not able remove it
 

Attachments

Lawrence

Well-known member
#20
You can surround the h1 with:
<xen:if is="!{$isIndexPage}">
... h1 stuff...
</xen:if>
For the above, if it is not the index page, no h1 title, otherwise display the h1 title. However, that will work on forum home, I never used a portal so can't say it will work for you.