Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Breadcrumbs.... need to customize but code doesnt respond...
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2014 - 1:17 am

Hi! i Love the way the Breadcrumbs shows on "unified" theme, i need to put them on my main theme, so I edited and pasted the breadcrumbs section from one theme to another... but the " arrows" ( the images on the back  of the breadcrumbs) and the spaces from a word to another does not result... please can anyone tell me how to do this? I have the unified and the CSS theme and i would like to put the unified breadcrumbs on the CSS only theme... i thing that this could be easy.... if anyone help me....

 

thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 31, 2014 - 4:25 am

You should be able to replace all of the 'breadcrumb' related CSS from Unified to the CSS only file.

But... note that Unified is NOT a CSS file. It is a PHP file and as such has a lot of php code in it. Note - within the Unified breadcrumb rules all of the php echo statements. These will all need to be replaced with proper CSS values. When you do that then it should work OK.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2014 - 11:03 am

you can view the unified css in a browser (load it in url or view through console) and you can grab the converted php to css...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Feb 1, 2014 - 10:34 pm

Thanks... 

I have another question... can you tell me how could I remove the sp_ArrowRight.png image from the breadcrumbs? I have customized them but this image continues appearing... I want to hide it from the breadcrumbs...

 

thanks in advance

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Feb 1, 2014 - 10:48 pm

Something like this should turn off the icons.

sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&homeIcon=&icon=', __sp('Home'));

This tells it that the icons equal nothing.

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Feb 1, 2014 - 10:52 pm

thanks Brandon! it worked for me!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2014 - 11:51 am

thanks for the update...

Avatar
Bart C.
New Jersey, USA
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2014 - 2:06 pm

Brandon C said
Something like this should turn off the icons.

<br />

sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&homeIcon=&icon=', __sp('Home'));

<br />

This tells it that the icons equal nothing.

would that be in the spHead template?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2014 - 3:41 pm

Yep, spHead.php in forum-themes > yourtheme > templates.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625