Tagged: add to cart button, single product
-
AuthorPosts
-
August 21, 2017 at 7:15 pm #842188
Hi
I have a couple of issues
!) I would like to move the add to cart button below the main description, please.
Mobile issues
1) I would like to show the products in two columns rather than just the one.
2) the description format in the single product is not correct it too narrow.
3) the menu is not showing the subcategories this I think is due to me using custom links for the main categories as I didn’t want the products to show. The sub-categories are showing up okay in the PC version.Many thanks
Alex
August 21, 2017 at 7:20 pm #842190Info below
August 23, 2017 at 9:34 am #842939Hi
I would be grateful if someone could come back to me re the above-mentioned.
Thanks
August 24, 2017 at 3:00 pm #843526Hi,
Sorry for the late response. Just checked on your site but it’s empty (screenshot in private content).
Best regards,
NikkoAugust 24, 2017 at 3:38 pm #843545Hi
Yes, :) you have to login to view the site it’s hidden.
Thanks
Alex
August 24, 2017 at 3:39 pm #843547I’ll unhide it for you
August 25, 2017 at 8:44 pm #844158Hi,
Thanks for that.
1. Just want to confirm that this is on the product page not on the homepage? example link in private contentMobile issues:
1. Try adding this css code in Quick CSS (located in Enfold > General Styling):@media only screen and (max-width:767px) { .responsive #top #main .products .product { width: 48%; margin: 0 1% 20px; } }
this doesn’t look good with 2 columns though.
2. Try adding this css code in Quick CSS:
@media only screen and (max-width:767px) { .responsive .single-product-summary { float: none !important; width: 100% !important; } }
3. Are you referring to Categories submenu items?
Best regards,
NikkoAugust 25, 2017 at 9:21 pm #844170Hi
Thanks for coming back to me.
1) is in relation to the single product, please see link below.
Re the mobile
1) I agree on the change works but it doesn’t look as good.so I’ll just stick with the current arrangement.#2) That works thank you.
3) Yes that’s correct I did want them showing in the main category menu just the submenu. It works okay on a PC but not a mobile.
Thanks for your help I do appreciate it.
Regards
August 29, 2017 at 8:44 am #845231Hi
I was wondering any joy with the other two points please.
Thanks
August 30, 2017 at 8:37 am #845683Hi
I would appreciate it if someone could come back re the outstanding points
Thanks.
August 31, 2017 at 9:08 am #846137Hi,
Sorry for the late response.
1. Try adding this at the bottom of functions.php:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_add_to_cart', 15 );
3. Can you try to change the link from # to the url of your category page.
Hope this helps.
Best regards,
NikkoAugust 31, 2017 at 9:21 am #846143Hi
Thanks for that I’ll give the first one a go. Re the menu I didn’t want anything in the main menu just the sub menus as it appears on the PC verision If I change it to the URL then the products will appear?
Thanks
August 31, 2017 at 10:39 am #846169Hi
Unfortunately, the edit to number 1 doesn’t work.
Thanks
August 31, 2017 at 11:12 am #846175Hi
I have solved the menu issue by click show sub-categories on the enfold options it just means I have a long menu now but it works.
Thanks
September 1, 2017 at 7:05 am #846631September 1, 2017 at 9:00 am #846700Hi
No the solution for moving of the button isn’t working unfortunately. The page layout is now all over the place
Thanks
Alex
September 1, 2017 at 9:18 am #846710Hi Alex,
Can we ask for ftp access? so we can try to test it out. You can also check for woocommerce hooks since it’s what Enfold use to move woocommerce related objects.
Best regards,
NikkoSeptember 1, 2017 at 10:36 am #846776Hi
Thanks for coming back please see below for the SFTP details. I have made a few changes in the Quick css so I don’t know if that is maybe conflicting or not.
Thanks
September 4, 2017 at 7:55 am #847542Hi,
Thanks for providing that, I have checked it and removed the code from functions-enfold.php and put it in functions.php, also noticed you are not using a child theme, I would suggest using that since the code added will be lost during theme update since it’s in the main enfold theme. try checking out the child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/
As for the button, can you add this to Quick CSS (located in Enfold > General Styling):
.single-product p.cart { width: 100%; }
Hope this helps :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.