A Anh3Hung New member Oct 2, 2013 #1 Hi every one, Please show me how to hide the BoardTitle and the Top Breadcrumb in the Homepage (just home page). thanks in advanced.
Hi every one, Please show me how to hide the BoardTitle and the Top Breadcrumb in the Homepage (just home page). thanks in advanced.
Jeremy in memoriam 1991-2020 Oct 2, 2013 #2 Edit forum_view template and remove the xen:h1 tag. Upvote 0 Downvote
A Anh3Hung New member Oct 2, 2013 #3 just hide not remove, i mean the page still has a boardtitle, by the way how to remove the breadcrumb in any page that you want? Thanks Upvote 0 Downvote
just hide not remove, i mean the page still has a boardtitle, by the way how to remove the breadcrumb in any page that you want? Thanks
Amaury Well-known member Oct 2, 2013 #4 Anh3Hung said: just hide not remove Click to expand... Same thing, really. Upvote 0 Downvote
truonglv Well-known member Oct 2, 2013 #5 Add this css to EXTRA.css if you want to hide Code: .forum_list .titleBar h1 { display: none; } Upvote 0 Downvote
Amaury Well-known member Oct 2, 2013 #6 Nobita.Kun said: Add this css to EXTRA.css if you want to hide Code: .forum_list .titleBar h1 { display: none; } Click to expand... Or just comment out the code in the appropriate template with <xen:comment>code here</xen:comment>. Upvote 0 Downvote
Nobita.Kun said: Add this css to EXTRA.css if you want to hide Code: .forum_list .titleBar h1 { display: none; } Click to expand... Or just comment out the code in the appropriate template with <xen:comment>code here</xen:comment>.
truonglv Well-known member Oct 2, 2013 #7 Amaury said: Or just comment out the code in the appropriate template with <xen:comment>code here</xen:comment>. Click to expand... Nope. I think that is remove Upvote 0 Downvote
Amaury said: Or just comment out the code in the appropriate template with <xen:comment>code here</xen:comment>. Click to expand... Nope. I think that is remove
melbo Well-known member Oct 2, 2013 #8 Could removing the h1 attribute have a negative effect on SEO? Upvote 0 Downvote
Amaury Well-known member Oct 2, 2013 #9 Nobita.Kun said: Nope. I think that is remove Click to expand... I said comment out, not remove. Upvote 0 Downvote
truonglv Well-known member Oct 2, 2013 #10 melbo said: Could removing the h1 attribute have a negative effect on SEO? Click to expand... If using my post Nobita.Kun said: Add this css to EXTRA.css if you want to hide Code: .forum_list .titleBar h1 { display: none; } Click to expand... that not effect on SEO. Just only using css to hidden boardTitle Upvote 0 Downvote
melbo said: Could removing the h1 attribute have a negative effect on SEO? Click to expand... If using my post Nobita.Kun said: Add this css to EXTRA.css if you want to hide Code: .forum_list .titleBar h1 { display: none; } Click to expand... that not effect on SEO. Just only using css to hidden boardTitle
truonglv Well-known member Oct 2, 2013 #11 Amaury said: I said comment out, not remove. Click to expand... http://xenforo.com/community/resources/template-syntax-xenforo-tags.2122/update?update=5137 Do you read that? When you comment that line so when running site you don't have boardTitle because that was removed. Upvote 0 Downvote
Amaury said: I said comment out, not remove. Click to expand... http://xenforo.com/community/resources/template-syntax-xenforo-tags.2122/update?update=5137 Do you read that? When you comment that line so when running site you don't have boardTitle because that was removed.
Amaury Well-known member Oct 2, 2013 #12 Nobita.Kun said: http://xenforo.com/community/resources/template-syntax-xenforo-tags.2122/update?update=5137 Do you read that? When you comment that line so when running site you don't have boardTitle because that was removed. Click to expand... You really aren't making any sense. Wrapping the code in the appropriate template with <xen:comment>code here</xen:comment> is the same as adding what you provided to EXTRA.css. Upvote 0 Downvote
Nobita.Kun said: http://xenforo.com/community/resources/template-syntax-xenforo-tags.2122/update?update=5137 Do you read that? When you comment that line so when running site you don't have boardTitle because that was removed. Click to expand... You really aren't making any sense. Wrapping the code in the appropriate template with <xen:comment>code here</xen:comment> is the same as adding what you provided to EXTRA.css.
tyteen4a03 Well-known member Oct 2, 2013 #13 Amaury said: You really aren't making any sense. Wrapping the code in the appropriate template with <xen:comment>code here</xen:comment> is the same as adding what you provided to EXTRA.css. Click to expand... Adding display: none; will cause the HTML to still be sent to the user. It will look "removed" on their side but they will still be able to see the HTML. Adding <xen:comment> will cause the HTML to be not sent to the user at all. Upvote 0 Downvote
Amaury said: You really aren't making any sense. Wrapping the code in the appropriate template with <xen:comment>code here</xen:comment> is the same as adding what you provided to EXTRA.css. Click to expand... Adding display: none; will cause the HTML to still be sent to the user. It will look "removed" on their side but they will still be able to see the HTML. Adding <xen:comment> will cause the HTML to be not sent to the user at all.
P Paul B XenForo moderator Staff member Oct 2, 2013 #14 From the FAQ: How can I remove the title from the forum home page? Add one of the following to the EXTRA.css template: Code: .forum_list .titleBar { display: none; } or Code: .forum_list .titleBar h1 { font-size: 0px; } Note that this may have an impact on SEO. Refer to the discussion thread in the forum for more information. http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181037 How do I comment in a template to remove existing code or add notes? Code: <xen:comment> This content is commented out </xen:comment> Note that using <xen:comment> will prevent the content from being output (rendered) altogether, so it won't show even when viewing the page source. http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112 Upvote 0 Downvote
From the FAQ: How can I remove the title from the forum home page? Add one of the following to the EXTRA.css template: Code: .forum_list .titleBar { display: none; } or Code: .forum_list .titleBar h1 { font-size: 0px; } Note that this may have an impact on SEO. Refer to the discussion thread in the forum for more information. http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181037 How do I comment in a template to remove existing code or add notes? Code: <xen:comment> This content is commented out </xen:comment> Note that using <xen:comment> will prevent the content from being output (rendered) altogether, so it won't show even when viewing the page source. http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112
A Anh3Hung New member Oct 3, 2013 #15 great, it really works, thanks all for helping Upvote 0 Downvote