-
AuthorPosts
-
January 23, 2020 at 3:28 am #1177364
Hi
I am having problems with the positioning of the WooCommerce categories widget on individual product pages
here is what I am seeing
https://aussiehiddentreasures.com/wp-content/uploads/2020/01/Screen-Shot-2020-01-23-at-12.22.09-pm.jpg
I have used the code from a previous support ticket
https://kriesi.at/support/topic/woocommerce-menu-position-problem/
it worked the last time but this time it is not – I would like the Categories menu to be at the right of the other info
any suggestionshere is the code I am using form the previous post
add_action('init','ava_product_sidebar_init_mod', 50); function ava_product_sidebar_init_mod() { remove_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div', 20); add_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div_mod', 20); add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar_mod', 19); } function avia_close_image_div_mod() { echo "</div>"; } function avia_add_sidebar_mod() { global $product, $avia_config; if( is_product() ) { $avia_config['currently_viewing'] = "shop_single"; get_sidebar(); } }
January 25, 2020 at 8:12 pm #1178399Hey smarta-brett,
Sorry for the late reply, and thanks for the screenshot, but we are unable to view the page in question to test without a login, please include an admin login.
Did you also add the css from the solution post?.single-product-main-image { width: 25%; } .single-product-summary { overflow: hidden; width: 45%; float: left; margin-right: 5%; } .single-product .sidebar { width: 25%; }
If you didn’t that could be why it’s not working for you, or perhaps try clearing your browser cache.
Best regards,
MikeJanuary 26, 2020 at 1:11 am #1178418thanks Mike
that did the trick !
January 26, 2020 at 1:32 pm #1178486Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘woocommerce menu’ is closed to new replies.