Tagged: shop
-
AuthorPosts
-
December 12, 2016 at 2:20 pm #723117
Dear Enfold
We would like to activate WooCommerce shop and add the cart to the main menu http://prntscr.com/difj17 in order to have it look like here: http://prntscr.com/difj9n
Unfortunately the shopping cart doesn’t show up in the main menu but below (see print screen in private content).
Do you know how to fix this?
Thank you,
RDecember 12, 2016 at 2:31 pm #723124Hey!
To change the icon, please refer to this post – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
I added following code to Style.css file of your child theme
ul#menu-item-shop { display: block; }
then added following code to functions.php file in your child theme
function av_move_ci(){ ?> <script> jQuery(window).load(function(){ jQuery("ul#menu-item-shop").detach().appendTo('#avia-menu') }); </script> <?php } add_action('wp_footer', 'av_move_ci');
Please review your website now
Cheers!
YigitDecember 12, 2016 at 3:08 pm #723149Hi Yigit,
Wow, thank you for the swift fix!! It’s almost perfect, just that the symbol is going too far down and thus covering the thin gray line under the header enus: http://prntscr.com/dig3fx
Would you also be able to change this?
Thank you and best,
RaphaelDecember 12, 2016 at 3:10 pm #723155Ah, and also once something is inside the cart, the content showing is overlaying a second version of the same content. See printscreen below.
Thank you for looking into it
December 14, 2016 at 12:29 pm #724228Hi,
there is no cart icon inside your menu. Did you remove it again? make sure that you purged all your cache. We need to be able to inspect the elements in question.
Best regards,
AndyDecember 14, 2016 at 4:41 pm #724361Dear Andy
Yes, I’ve deactivated it as it isn’t working properly yet.
I would shortly activate it for when you’re working on it, but I don’t know when that is. So may you please just shortly change the “Header Shopping Cart Icon” setting here http://prntscr.com/djcuyp once you’re working on it? And afterwards switch it back to “display floating…”
Thank you and best
RaphaelDecember 14, 2016 at 8:11 pm #724494Hi,
use this code:
.html_cart_at_menu.html_bottom_nav_header #menu-item-shop { top: -2px; }
and adjust as needed.
The overlay is caused by some kind of customization you’ve implemented. Remove every customizations to find out which one is causing it.
Best regards,
AndyDecember 15, 2016 at 4:58 pm #724921Hi Andy
I removed all Custom CSS and also the functions.php specifications but it didn’t change a thing. The dropdown of the cart is still malfunctioning if in the header menu. It, however, works fine if I chose “floating on the side”.
Can you please have another look into it in order to find a solution?
Thank you so much,
RaphaelDecember 16, 2016 at 12:35 pm #725278Hi,
check with another (default) WP theme, if you got the same error or not. Remove every plugin (but WooCommerce of course) to find out which one is causing it. Make sure to use parent theme, instead of child theme.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.