[Resolved] Breadcrumbs with sections

Home Forums Support Breadcrumbs with sections

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1006588
    Dmitry

    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.

    #1006600
    Dmitry

    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.

    #1006648
    David
    Staff
    Customer Support

    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.

    #1006969
    Dmitry

    Thanks! That works.

    #1006976
    David
    Staff
    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.