• Resolved manx89

    (@manx89)


    Hi,
    how can I move toolbar to wordpress theme header? I tried to copy all from: customer-page.template.php to my theme header.php but without success, nothing is showing. How to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter manx89

    (@manx89)

    I decided to make new toolbar instead to move this one. But now, how to remove toolbar? There is something like: add_theme_support(‘customer-area.navigation-menu’); ?

    Plugin Contributor Thomas

    (@tlartaud)

    Hi,

    The theme support support you are looking for is the following:
    current_theme_supports('customer-area.contextual-toolbar')

    You can style copy the code to move the toolbar anywhere. However, you’ll need to wrap the toolbar in order to let our CSS works and apply to that new location. It should look something like this:

    <div class="cuar-css-wrapper"><div class="cuar-toolbar">
      <!-- Toolbar code goes here -->
    </div></div>

    If you do not add the cuar-css-wrapper div, our CSS styles won’t be applied.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Move toolbar to wordpress theme header’ is closed to new replies.