Site logo

Archived topic

Breadcrumbs with sections

4 replies · Started by Dmitry on September 11, 2019

Viewing posts 1–5 of 5

Hi!

I use Breadcrumb NavXT plugin. It works great on all kind of content, except pages with section tool activated. If I activate "use sections" on a page, breadcrumbs disappear. I use element hook with the position "before_content" to add this plugin code. Somehow it appears if I use "before_main_content", but Its not the position I need.

Its not perfect, but there is the solution to make one more hook for section-pages only with “before_main_content” position.

If there is no solution for what I asked in the first post, please help me with CSS for breadcrumbs block placed “before_main_content” to behave it like if it is placed inside a section.

Hi there,

Sections changes the layout so there is no before_content hook.
To contain an element in those full width hooks try wrapping the shortcode in a DIV with the grid-container class:

<div class="grid-container">
<!-- shortcode or HTML in here -->
</div>

As long as the shortcode is echoing the breadcrumb then it should work.

Thanks! That works.

You're welcome

This archived topic is closed to new replies.