Hide stock in search result on mobile menu

This topic has 2 replies, 2 voices, and was last updated 1 years, 2 months ago ago by Tony Rodriguez

  • Avatar: Oshrat
    Oshrat
    Participant
    September 19, 2023 at 11:22

    How to hide the stock on the products when I search on mobile?

    Thank you!

    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    September 19, 2023 at 12:12

    Hello, @Oshrat,

    Thank you for choosing XStore as your WooCommerce WordPress theme.

    To Hide/Remove the stock status on products during a mobile search, kindly follow the instructions below:

    1. Copy the CSS code provided below.
    2. Navigate to Xstore > Theme Options > Theme Custom CSS > Global CSS.
    3. Paste the copied CSS code in the designated area.
    4. Click on ‘Publish’ to save the changes.

    @media(max-width: 767px){
    .autocomplete-suggestion .ajax-item-info>.stock {
        display: none !important;
    }
    }

    We trust that this will effectively address your concern.

    Best Regards,
    Team 8Theme

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.