Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1468588

    Hi,

    I would like the term-description below the products. I find in the forum to put down the categories but nor the term description.
    Could you help me?

    By the by, could be possible remove the sidebar only in the /brand/ pages?

    Thanks advance,

    BR,

    Antonio.

    #1468595

    I find this code that remove the side bar

    But it remove the search field side bar of the shop too.
    https://relojesexclusivos.com/tienda/

    Many thanks!

    #1468616

    Hi,

    Thank you for the inquiry.

    To move the category description below the shop loop, please try to add this in the functions.php file:

    function ava_customize_woocommerce_hooks() {
        remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
        add_action( 'woocommerce_after_shop_loop', 'ava_move_category_description_below_loop' );
    }
    
    add_action( 'after_setup_theme', 'ava_customize_woocommerce_hooks' );
    
    function ava_move_category_description_below_loop() {
        if ( is_product_category() ) {
            woocommerce_taxonomy_archive_description();
        }
    }
    

    But it remove the search field side bar of the shop too.

    The search field is included in the sidebar by default, so removing the sidebar will also remove the search field.

    Best regards,
    Ismael

    #1468642

    Hi Ismael,

    I have added the code but do not works.
    It is term-description not category by its help you.
    https://relojesexclusivos.com/brand/seiko/

    Thanks advance,

    BR,

    Antonio

    #1468652

    Hi Ismael,

    I add this and add the text below

    add_action( ‘woocommerce_after_main_content’, ‘woocommerce_taxonomy_archive_description’, 5 );

    But I don’t know how remuve the text on the top.

    Could you help me?

    Thank advance!

    BR,

    Antonio.

    #1468666

    Hi again,

    I have found this

    I have add the ccs and the order is correct, the issue is the sidebar match in two parts on the sidebar and in the bottom.

    Could you help me?

    Thanks,

    BR

    Antonio

    #1468687

    Hi,

    Thank you for the update.

    the issue is the sidebar match in two parts on the sidebar and in the bottom.

    Good to know that you found a working solution. However, we cannot find any sidebar on the page. Did you disable it?

    Best regards,
    Ismael

    #1468716

    Hi Ismail,

    Yes finally found the way to remove the sidebar only in this category:

    .woocommerce.archive.tax-product_brand .content {
    width: 100%;
    border: none;
    }
    .woocommerce.archive.tax-product_brand .sidebar {
    display: none!important;
    }

    Many thanks,

    BR,

    Antonio.

    #1468755

    Hi,

    Yes finally found the way to remove the sidebar only in this category:

    Great! Let us know if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘term-description below the products’ is closed to new replies.