-
AuthorPosts
-
September 3, 2019 at 7:08 pm #1133515
Hello,
We wanted to use the full-width submenu everywhere on our site and used this solution: https://kriesi.at/support/topic/full-width-submenu-as-new-menu-location/#post-473627
It is great, but our breadcrumbs are now gone -perhaps hidden beneath the new submenu? Example link in private content.
The original topic mentions moving the breadcrumbs below the submenu which is what we want too.I thought it would be just a css adjustment to get them visible but haven’t had any luck trying to figure it out.
If nothing else, is there a way to get them visible on the single product pages? That’s really where we need them.Can someone take a look? Thanks in advance!
September 4, 2019 at 7:46 pm #1134047Hey Meg,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.title_container { margin-top: 50px; }
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 5, 2019 at 4:58 pm #1134508Hi Victoria,
That did create space for them to show, but they still are not showing.
Looking at the code we used to bring in the full-width menu again, it looks like the title is called in but not the breadcrumbs. Or does title being in both? Here’s the code
add_filter('avf_title_args', 'avf_title_args_mod', 10, 2); // edit default title function avf_title_args_mod($args,$id) { ob_start(); echo '<div id="sub_menu1" class="av-submenu-container main_color container_wrap sidebar_right" style="z-index: 301; top: auto; position: absolute;"><div class="container av-menu-mobile-disabled">'; wp_nav_menu( array('menu' => 'test submenu', 'menu_class' => 'av-subnav-menu av-submenu-pos-center')); echo '</div></div>'; $menu = ob_get_clean(); $args['html'] = "{$menu}<div class='{class} title_container'><div class='container'><{heading} class='main-title entry-title'>{title}</{heading}></div></div>"; return $args; }
For a short-term solution we added a call for the breadcrumbs in the single-product.php to get them to appear in the content area of the single product pages. We still would like to get the breadcrumbs in the header to work.
September 6, 2019 at 7:42 pm #1135105Hi lostplot,
Breadcrumbs are not really in the header, they are in the main content and so you might stick to the solution that is working for you at the moment.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.