The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Only Show Breadcrumbs on Forum Pages
I'd like to remove 'breadcrumbs' for only the home page.
Since this is only within outer-wrapper, is there a way to specify via CSS to only remove for this page? Code:
<div id="outer-wrapper"> <div id="wrapper"> <div id="header-axd" class="header-edit-box axdnum_1 h-clearfix"> <div class="b-top-background__header-mainnav-subnav"> <ul id="breadcrumbs" class="h-clearfix" itemprop="breadcrumb"> <li class="crumb ellipsis"> <a class="crumb-link" href="http://v5.soundforums.net/">Home</a> </li> <li class="vb-icon separator"></li> <li class="crumb ellipsis">Above The Fold</li> </ul> <div id="content"> |
#2
|
|||
|
|||
This is really easy, except i'm not entirely sure what the code is in vB5 as i'm still an avid vB3.8 supporter. To hide it from forum home in vB3 you would wrap the follow around it
Code:
<if condition="THIS_SCRIPT != 'index'"> html </if> Code:
<vb:if condition="(THIS_SCRIPT != 'index')"> html </vb:if> |
#3
|
||||
|
||||
You can try this. Put it on a template hook after body end
if (pageData.pageid == 145){ $('#breadcrumbs').css('display' , 'none') } |
#4
|
|||
|
|||
i actually just did this yesterday...the code i used is simply
Code:
.page1 #breadcrumbs {display:none;} |
3 благодарности(ей) от: | ||
David Karol, MarkFL, Replicant |
#6
|
|||
|
|||
Quote:
And thanks for giving some CSS starters all around (both here and .com). I've been able to take these starting points and get a lot of other items resolved on my own. |
Благодарность от: | ||
IggyP |
#7
|
|||
|
|||
glad to be able and help
gotta give props to glenn vergara for all the support he has given the vb community over the years and has really helped me learn alot...and the community in general really is one great thing of being a vb customer, lot of good and helpful ppl here |
Благодарность от: | ||
noypiscripter |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|