Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Breadcrumbs in Page Menu Bar not working ... no matter what ... but has for


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 16, 2009, 05:42 PM
fromtheranks
 
149 posts · Apr 2009
Dev Env't: XP Pro SP3, IIS 5.1, MySQL 5.1, PHP 5.2.x, WP 2.7.1, Atahualpa 3.3.3, IE 7, FF 3.0.x
Information [SOLVED] Breadcrumbs in Page Menu Bar not working ... no matter what ... but has for

I raised this issue earlier when using Yoast's breadcrumb plugin -- http://forum.bytesforall.com/showthr...ighlight=yoast. The original source for that code was from: http://forum.bytesforall.com/showthr...ght=breadcrumb

Part of the solution was to switch to Breadcrumb NavXT in an effort to eliminate having the breadcrumb trail go vertical, instead of horizontal. But, switching hasn't worked ... the images attached to the original thread are still valid.

What I've done:

0. Deactivated and deleted Yoast's breadcrumb plugin. Installed and activated Breadcrumb NavXT Administration Interface version and left it at its default settings.

1. Here is the code that I inserted into bfa_header_config.php, starting at line 21 -- this was code suggested to from that earlier thread:

Code:
  if ($bfa_ata['levels_page_menu_bar'] == "") {
     $bfa_ata['levels_page_menu_bar'] = 0;  
  }	
  $page_menu_bar .= bfa_hor_pages($bfa_ata['sorting_page_menu_bar'],     $bfa_ata['levels_page_menu_bar'], 
  $bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']);
	
  // 7 lines of code and comments below added on 6/15/09 by DPH to add breadcrumbs to the Page Menu bar
  if (function_exists('bcn_display'))
      $page_menu_bar .= '<li class="breadcrumb">Your breadcrumb trail: &raquo;';
  {
  // Display the breadcrumb
  ob_start();  bcn_display(); $bcn_display = ob_get_contents(); ob_end_clean();
  }
  $page_menu_bar .= $bcn_display;
  $page_menu_bar .= '</li></ul></div>' . "\n";
  // END of Page Menu Bar
By itself, using Breadcrumb NavXT made no difference ... the breadcrumb trail existed but it was still vertical.

Shedfed was kind enough to send me the CSS Insert that adjusted the line for him so that it displayed properly on his Page Menu Bar -- of particular importance is the "display: inline" instead of the Page Menu Bar's default of "display: block"

Code:
#breadcrumb  {float: right; padding: 4px 5px 4px 5px; margin-top: 0px; font-size: 75%; margin-right: 5px; background-color:#FFFDDD; color: #FF000;}
#breadcrumb a {display: inline; border: none; padding: 0; text-transform: none;}
#breadcrumb a:hover {color: #000099; background-color: #FFFDDD;}
Note: I did tweak it slightly to change the colors so they would stand out during testing.

The end result is ... no change.

I downloaded Firebug and started "poking around" and it appears as my CSS Insert is being completely ignored.

I can see the "<li class="breadcrumb"> under: <ul id="rmenu2" class "clearfix rmenu-hor rmenu"> so the class is being recognized. But the colors, for one thing, that I added above don't show up during "inspection" at all and the trail continues to be horizontal.

I cleared the cache, several times, even bounced IIS. And. I went back through changes I'd made in style.css to add underline to the page and category menus and disabled them ... no change.

What could be causing my CSS Insert to be completely ignored? Since the class was declared in the bfa_header_config logic, the above insert seems like it should work ... and is working for Shedfed.

Thank you in advance for any help.
 

Bookmarks

Tags
breadcrumbs, css insert, page menu bar



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Don't show sub-pages for a main page on my menu bar jockoe Atahualpa 3 Wordpress theme 1 Jul 13, 2009 12:28 PM
[SOLVED] Page Menu Bar - Strange Space Occurring Between Menu Items NealSchaffer Page & Category Menu Bars 2 Jun 20, 2009 10:18 AM
[SOLVED] Yoast Breadcrumbs And Page Menu Bar - Follow-up fromtheranks Plugins & Atahualpa 0 Jun 17, 2009 02:01 AM
[SOLVED] Yoast Breadcrumbs And Page Menu Bar fromtheranks Plugins & Atahualpa 6 Jun 14, 2009 07:59 PM
[SOLVED] Very minor : page menu bar home option dcousquer Page & Category Menu Bars 1 Dec 13, 2008 03:52 AM


All times are GMT -6. The time now is 11:01 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.