-
-
Hi,
How to show specular shop cart with left side header ?
I tried to use Woocommerce shopcart widget, but it’s not responsive in the menu and doesn’t show correctly.
how can I add the same shopcart icon that I can see in the left and right navigation menu, centered in the left side header, under my menu ?I really need that because my client wants to keep the left side bar.
Thanks a lot for your help !
-
Hello,
Sorry for the late reply.
Please send us your site’s url, so i can give you the precise code to add.Best regards!
-
-
-
Hello,
The cart icon is not present in the left/right menu style by default, but i added it by editing the header.php file.
I replaced this line:with this:
And under the same block of code, i added this code too:
Lastly, i edited the style by adding this code into your custom css box:
a.cart_icon { padding-left: 130px; } .cart .content { display: none; } .cart .content a.cart_icon:hover { display: block !important; }
PS: The changes made to file header.php will be overwritten in case of a theme update. So i suggest you to save a backup of it and replace it in the next theme update, to keep these changes.
Best regards!
-
Hello,
Thanks a lot, but since, before your answer, I figured out with a plugin that was enough actually and look ok.
Sorry but I did’nt expect that you will do it for me but just tell me how to do.The buttons in the cart don’t look fine in the sidebar actually.
I ‘m sorry but do you think you could delete the modification you did ? because I don’t feel confortable with php and I’m afraid to make a error.
Thank you very much.
-
Hello,
I removed the changes made in file header.php and also commented out the relating css in Custom css box.
Let us know if you need further help.Best regards!
-
You must be logged in to reply to this topic.