Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Cart only appear when products in cart/ remove cart icon entirely

Find Answers and Get Support Forums Armadon – Gaming Community WordPress Theme Feature Requests Cart only appear when products in cart/ remove cart icon entirely

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze
    Up
    0
    ::

    Hello team,

    Looking to only have the cart icon appear when a product is added/ just remove it entirely.

    Figured the setting would be under: Customize > Appearance > Navigation > Layout.

    Can’t find a setting to change it as the icon is always showing next to the profile picture.

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze
    This reply has been marked as private.
    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Hi Shikoro,

    Thank you for bringing this issue to our attention. Maybe this topic will help you to solve your issue as it seems to answer the same concern:

    Please note that this issue is related with the use of a third party plugin, not with the use of your theme.

    We remain available for all support requests related with the use of your theme.

    Regards,

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze
    This reply has been marked as private.
    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze

    What I find is a.cart-contents but when I go to hide it it wont work

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze

    Ah looks like it has to do with grimlock, for anyone asking how to hide to entire cart you will need this class –

    ul.grimlock-woocommerce-navbar_nav_menu.nav.navbar-nav.grimlock-navbar-nav--woocommerce.navbar-nav--woocommerce

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Hi Shikoro,

    Indeed, our theme display some additional style on the cart icon. However, changing this is considered customization work. Unfortunately, this is a service that we do not provide. We only share snippet only to solve issues with our theme. Any further request for CSS snippets will have to be part of a defect that needs to be fixed urgently. No snippets will be shared otherwise.

    It seems you were able to solve this issue. Can you confirm me that? In that case, Thank you for sharing the solution with us. I’m sure it will help other users facing the same request. By doing this, you’ll make a great contribution to this forum, and we thank you very much for that! #SharingIsCaring 💪🏻

    Thank you for your understanding.

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze

    Yea this is solved.

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Great news!

    Have a nice day Shikoro. 🙂

    Best,

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze
    This reply has been marked as private.
    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Hi Shikoro,

    I’m afraid that there is no feature in our theme that can allow you to do this. This is standard design and changing this is considered customization work.

    However, we talked about this and we concluded that it would be indeed a very nice feature to add. For this reason, we took the liberty to move this topic to our Feature Requests forum. As your idea could be a nice addition to our theme, we will implement this feature if other community members upvote your request.

    Waiting the feedback of other users, simply add the following code snippet to your website:

    add_action( 'wp_footer', function() {
        if ( WC()->cart->is_empty() ) {
            echo '<style type="text/css">.navbar-nav--woocommerce, #navigation .grimlock-woocommerce-navbar_nav_menu{ display: none !important; }</style>';
        }
    });

    We found this snippet on wpfixit.com and tested it with Gwangi. All seems to work fine.

    To add this code snippet to your site, we recommend that you use the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post: Adding Custom PHP Without Changing Your Child Theme.

    Please also note that we don’t provide any theme customization. So, you shouldn’t expect other snippets from us unless it’s to fix an issue stemming from our own codebase. We always try our best to help theme users whenever we can and only provide code snippets out of courtesy to prevent them from waiting for the next update.

    Regards,

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze

    `add_action( ‘wp_footer’, function() {
    if ( WC()->cart->is_empty() ) {
    echo ‘<style type=”text/css”>ul.grimlock-woocommerce-navbar_nav_menu.nav.navbar-nav.grimlock-navbar-nav–woocommerce.navbar-nav–woocommerce{ display: none; }</style>’;
    }
    });

    This was the code I added or desktop in the function.php file for the child theme.

    I removed the code I added and added in your and for desktop it still removes the cart, however if you were to go to our website on your mobile device it still does not remove the cart on mobile.

    If you plan to add something to the theme this is something we could wait on but just wanted you to see the cart stays on mobile.

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    Hi Shikoro,

    I updated the snippet in my previous answer. 🙂
    It should do the trick for you.

    Best,

    Shikoro
    Participant
    • 19 Topics
    • 73 Posts
    @alexfilutze
    This reply has been marked as private.
    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6297 Posts
    @themodactyl

    You’re welcome Shikoro! I’m glad to read all is working.

    Have a nice day.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site