1. 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

Discussion in 'Styling and Customization Questions' started by Brad P, Apr 7, 2016.

  1. Brad P

    Brad P Active Member

    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​
     

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. RamzanHD

    RamzanHD Active Member

    https://xenforo.com/community/resources/remove-board-title.2813/

    try that hope it helped :)
     
  4. Brad P

    Brad P Active Member

    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
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

  6. Brad P

    Brad P Active Member

    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
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  8. Brad P

    Brad P Active Member

    smarty pants ;)

    okay i have put a screen shoot to my elements what should i be looking for?
     

    Attached Files:

  9. Brogan

    Brogan XenForo Moderator Staff Member

    You're in the wrong place.

    The template name is shown in the content div.

    upload_2016-4-7_18-50-59.png
     
  10. Brad P

    Brad P Active Member

    found that now, so its somewhere in the cta_featuredthreads_featured template
    is that from my site? i am not finding that when i target the title?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

     
  12. Brad P

    Brad P Active Member

    that is already unchecked
     
  13. RamzanHD

    RamzanHD Active Member

    Code:
    .titleBar { display:none !important; }
    
    put that in extra.css that should work
     
  14. Brad P

    Brad P Active Member

    I have already explained this in my original post buddy
     
  15. RamzanHD

    RamzanHD Active Member

    i dont get it whattttt you want to remove title but that code does what your looking for :D:D:D:D:D
     
  16. Brogan

    Brogan XenForo Moderator Staff Member

    Which is why it doesn't appear on your site.

    I don't really understand what it is you're trying to do.
     
    RamzanHD likes this.
  17. RamzanHD

    RamzanHD Active Member

    thats what i mean :D
     
  18. RamzanHD

    RamzanHD Active Member

    that bar or border behind the title are you trying to remove that ?
     
  19. Brad P

    Brad P Active Member

    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
     

    Attached Files:

  20. Lawrence

    Lawrence Well-Known Member

    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.
     

Share This Page