This topic has 8 replies, 2 voices, and was last updated 7 years, 1 months ago ago by Rose Tyler
I would like to Edit the position of the add to wishlist and email to a friend button on the single product site for mobile devices.
a long add to card button text causes a bad view like this :
I need the CSS code to edit the positions. The add-to-card button should be on top of the wishlist and email elements looking similar like this:
Thanks
Of course the add to card button could be under the other elements as well.
As long as the elements are not displayed side by side that causes the terrible view.
Hello,
Please provide link to your site and wp-admin access in Private Content.
Regards,
Rose Tyler.
Thank you
Hello,
You can add this code in Custom css to display it like http://prntscr.com/emou90
.single-product .yith-wcwl-add-to-wishlist.add-to-wishlist-24681 {
width: 100%;
margin-left: 2%;
margin-top: 10px;
}
Regards,
Rose Tyler.
I tried this code , also on global custom css, but there is no difference.
Furthermore the wishlist element name of different single product sites is always with different numbers at the end and not like .yith-wcwl-add-to-wishlist.add-to-wishlist-24681.
I already cleared the Cache and after that disabled my cache plugins.
I can’t find the mistake. Other custom css codes i already set working perfectly.
The admin access is still available. could you please edit it for me on top of the custom css code of theme options or check the given code?
Okay just tested something. In the beginning it looks like http://prntscr.com/empzrk .
With the code
.single-product .yith-wcwl-add-to-wishlist {
width: 100%;
margin-left: 2%;
margin-top: 10px;
}
(without the always different element .add-to-wishlist-24681 ) it looks like http://prntscr.com/emq0g7 .
The email-to-a-friend button still causes a bad view.
Do you have any other idea?
Thanks
Hello,
The wp-admin credentials are incorrect. Please check them.
Please change this code
.single-product .email-link {
display: none !important;
}
to
.single-product .single_add_to_cart_button {
margin-right: 50%;
}
http://prntscr.com/en0y75
Also, clarify with more details what exactly you mean about different numbers and show us screenshots? Please check if the problem persists with default Woocommerce theme Storefront, install it in Appearance > Themes and activate.
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up