-
AuthorPosts
-
October 7, 2024 at 4:32 pm #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.
October 7, 2024 at 6:56 pm #1468595I 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!
October 8, 2024 at 3:54 am #1468616Hi,
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,
IsmaelOctober 8, 2024 at 12:30 pm #1468642Hi 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
October 8, 2024 at 2:27 pm #1468652Hi 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.
October 8, 2024 at 6:19 pm #1468666Hi 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
October 9, 2024 at 5:52 am #1468687Hi,
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,
IsmaelOctober 9, 2024 at 10:14 am #1468716Hi 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.
October 10, 2024 at 4:04 am #1468755 -
AuthorPosts
- The topic ‘term-description below the products’ is closed to new replies.