Support Forum

Coding help: removing forum columns, editing spBreadCrumbs file, removing tab icons, etc

AC Ashley Cooke
Ashley Cooke
Member

Hello,

I’ve been working on customizing my forum, and ran into a few snags that I can’t navigate around.  Could anyone help me do the following? Here’s my forum for reference http://www.chat.thesfile.com/

1) I’d like to make some changes to the spBreadCrumbs file in spHead.php to do the following:

             a) Bold font (in the overlay file?) I noticed that this is tied to WP’s title page, is there anyway to disconnect but keep the spBreadCrumbs file linked?

 (To paint a clearer picture, I’d like to delete the “Chat with our community…” stuff that appears as a result of WP edits, would like spBreadCrumbs to act as the title)

             b) Remove the arrow to the left of it.

             c) I’d like to put “Share your lessons learned and ask your questions here.” underneath the spBreadCrumbs code.  Not sure how to add that correctly…

* If none of these can be achieved, I’d like to bring up the ___ to the same line that the “subscribed” “inbox” “profile” etc tabs are on, but when I try the spacing is wrong.  Don’t know how to fix that.

3) Can the icons next to the “subscribed” “inbox” “profile” tabs be removed?  If so, how?

 

Answers to any or all of these questions would be most helpful!  Thanks!

1 Answer

New Answer

BR Brandon
Brandon
Member

Hi Ashley,

Quite a few things. :)

Regarding the breadcrumbs for the text weight you would probably want to edit the main theme php file and not the overlay. That way you can narrow it down to breadcrumbs only. You can inspect using Firebug and find the exact rule that the breadcrumb uses and then find it in the theme and change or add as needed.

The top page name from WP sounds like you want to remove. That would be done in the Forum Admin > Options – General Display Settings > Remove page title completely.

Removing the breadcrumb arrow can be done where the template function is called. You could try something like this.

sp_BreadCrumbs(
'tagClass=spLeft spBreadCrumbs&tree=1&icon=&homeIcon='
);
 
Also take a look at the codex info on breadcrumbs it will show you some more examples.
http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/common-view/sp_breadcrumbs/
Removing icons from other buttons or tabs is done basically the same way. By using icon= with nothing after the = sign.
 
The text under the breadcrumbs would have to be put in manually by echo’ing it out in the theme. Something like.
echo 'Share your lessons learned and ask your questions here';
 
You may have to put it into a div or add html code to it though to get it placed, sized and have the font type you want.
I am not sure what you me by bring up the ___ to the same line as the tabs are on.
 
Take a look at those options and the codex and see if it helps. If you get stuck or need help let us know I also do create and customize Simple:Press themes and would be glad to help for a moderate fee. If you want to contact me via PM we can discuss.