Support » Plugin: Banner Management For WooCommerce » Change position of category banner

  • Resolved steveaustin021

    (@steveaustin021)


    Hi there!

    Thanks for providing this excellent plugin.

    I have the same problem described in this thread: https://wordpress.org/support/topic/change-position-of-category-banner/

    I would like the category description under the banner instead of above it. I have tried the solution suggested in the above thread but there’s no change – description still appears above the banner image.

    I’m using the latest version of WooCommerce (v 3.0.9)

    Could you please help with this?

    Thanks!
    Steve.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dotstore

    (@dots)

    Hey @steveaustin021,

    Thanks for contacting us.if you want to show before description than change on this file \plugins\banner-management-for-woocommerce\includes\class-woo-banner-management.php line number 161.

    diff:
    $this->loader->add_action(‘woocommerce_before_shop_loop’, $plugin_admin, ‘WBM_show_category_banner’, 30);

    to

    $this->loader->add_action(‘woocommerce_before_main_content’, $plugin_admin, ‘WBM_show_category_banner’, 30);

    I hope that’s issue is resolved when you change that.

    if you need further help then let me know.

    Thank You,
    Multidots

    Hey guys,

    i’d also like to change the position of your banner within a category page. Your hint works well to change position within the content of woocommerce, but does it also works in the entire page??

    That means to place the banner before the <div id=”main-content”>. Is that possible?
    What should i change in your codes?

    Thanks a lot for your support.

    Best regards

    Benjamin
    kreativ-box

    Plugin Author Dotstore

    (@dots)

    Hey @kreativbox,

    Thanks for contacting us.you can try changing priority now 30 you can use like 10
    in below code if your theme uses low priority then it will be shown after the header.

    $this->loader->add_action(‘woocommerce_before_main_content’, $plugin_admin, ‘WBM_show_category_banner’, 30);

    Thank You,
    Multidots

    • This reply was modified 6 years, 8 months ago by Dotstore.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change position of category banner’ is closed to new replies.