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

custom text above the breadcrumb ?

ExpertPixels.com

Well-known member
#1
Hi all,

Wondering how i would go about adding some custom text above the breadcrumb section, i only want this text to appear on the main page and not other pages like the members page and any custom pages etc.

Thanks in advanced for any help on this topic.

Regards, Darren
 

Brogan

XenForo moderator
Staff member
#2
You could use the new ad_above_top_breadcrumb template and wrap it in a conditional for forum_list.

Something like this should work:
Code:
<xen:if is="{$contentTemplate} == 'forum_list'">
Your text here
</xen:if>
 

ExpertPixels.com

Well-known member
#3
**EDIT**

Thanks Brogan, your a champion :) working a treat now, ended up using a nice jQuery slider instead of the text... Will provide a tutorial for this soon as i am happy with the outcome, will also provide due credits to you for your assistance :)

Regards, Darren
 

Brogan

XenForo moderator
Staff member
#4
That sounds to me like there's a problem with your member page template.

Has it only just started doing that after you added the content to the ad template?
 

ExpertPixels.com

Well-known member
#5
Sorry mate, my bad i was placing the html directly into the "Page_Container" template, after adding it to the "ad_above_top_breadcrumb" template it started behaving.. sorry i edited my post as quickly as i could..

Awesome support :) (Something that other forum software company could learn from :p )