Shop Banner position above all shop content

This topic has 3 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Marie

  • Avatar: Marie
    Marie
    Participant
    May 2, 2023 at 12:44

    Hi!

    I wrote a topic about how can display the description below the products.

    I changed the position in: Theme Options > WooCommerce > Shop > Shop page layout > Banner position.

    The problem is that my client wants the shop banner in the top of the page (only the shop banner, not brands description). Can I change only this page style using css? Or maybe using a static block?

    Thanks.
    Best regards

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 2, 2023 at 15:13

    Hello, Marie,

    Thank you for contacting us and for using XStore.

    You can try the next solution by adding the next code to xstore-child/functions.php

    add_filter('theme_mod_product_bage_banner_pos', function($origin_value) {
        if ( class_exists('WooCommerce') && is_shop())
            return 4;
        return $origin_value;
    });

    In case it will not solve the question, please provide us admin+ftp access, links to pages, and describe where and how should be displayed the descriptions.

    Kind Regards,
    8theme team

    Avatar: Marie
    Marie
    Participant
    May 2, 2023 at 17:03

    Hello, Rose.

    Fixed! Thank you so much.

    Best regards

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Shop Banner position above all shop content’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.