-
AuthorPosts
-
September 14, 2013 at 2:20 pm #29650
Hi. Enfold is a great theme, and I’m now using it for our church website, having built a blog with it. But now I’m having two problems getting the breadcrumb display to work the way I want it on the church site. I’m using the box splash blue color scheme, and I’ve changed the title container background color to blue and the font to white using custom css.
1. Problem one: I would like the static parent tabs to show up in the breadcrumb path. For example, on the main nav bar, the “About” tab is static. When I click on the subtab “Our Community in a Nutshell” in the flyout menu under “About Us”, what shows up in breadcrumbs is Home>Our Community in a Nutshell. The parent menu item “About Us” is omitted.
I would like it to show either (a) Home>About Us>Our Community in a Nutshell, or (b) About Us>Our Community in a Nutshell. (I would prefer (b), but I can live with (a) which shows the unnecessary word Home in the path).
2. Problem two: The change of font color to white hasn’t worked for the “Home” in the breadcrumb path. It stays dark and hardly legible against the dark blue background.
Here are two screenshots to illustrate the problem:
Screen shot of the flyout menu as pressed:
https://dl.dropboxusercontent.com/u/25119741/Screen%20Shot%20dropdown%20menu%20our%20community.png
Screen shot of the breadcrumb that results:
https://dl.dropboxusercontent.com/u/25119741/Screen%20Shot%20breadcrumbs%20our%20community.png
Any help would be appreciated.
Thanks,
John
September 17, 2013 at 2:23 pm #162281Hi,
1) The breadcrumb reflects your page hierarchy. If you want to show Home >About Us > Our Community in the breadcrumb you must set the “About Us” page as the parent page of “Our Community”. It’s not possible to build a structure like Home >About Us > Our Community if an “About Us” page doesn’t exist or if the “About Us” page is not the parent page of “Our Community”.If you don’t want to show the “Home” link in the breadcrumb add following code to the bottom of functions.php
add_filter('avia_breadcrumbs_args', 'avia_remove_home_breadcrumb', 10, 1); function avia_remove_home_breadcrumb($args){ $args['show_home'] = false; return $args; }
2) Probably I already answered this question with 1) but if you still want to change the color use following css code
#top #main .breadcrumb a.trail-begin { color: #ffffff; }
-
AuthorPosts
- The topic ‘Trouble with getting breadcrumbs to display the way I would like’ is closed to new replies.