Search results regular price and sale price one below the other on desktop

This topic has 6 replies, 2 voices, and was last updated 2 months ago ago by Luca Rossi

  • Avatar: Anas
    Anas
    Participant
    September 16, 2024 at 11:23

    Hello team,

    Desktop: I need to adjust the price display on the dropdown search results. It should be one after the other as per the screenshot given.

    Mobile: and the both the prices in one line after the title and stock on mobile version (check screenshot) also stock amount doesnt show on mobile, can we keep it showing like on the desktop version.

    thanks

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    September 17, 2024 at 04:46

    Hi @Anas,

    1. Desktop: do you want to hide the original black price? Please add this custom CSS:

    
    .price.etheme-search-form-item-price del {
        display: none;
    }
    
    .price.etheme-search-form-item-price ins .amount {
        color: #000;
    }
    

    2. Mobile: we’ve added the product stock on mobile for you. Please also add this custom CSS codes:

    
    @media (max-width: 480px){
        .etheme-search-form .price.etheme-search-form-item-price {
            flex-basis: 100%;
            margin-left: calc(52px + 1.5rem);
        }
        .etheme-search-form .autocomplete-suggestion>a {
            flex-wrap: wrap;
        }
        .etheme-search-form .etheme-search-form-item-info {
            flex-basis: 70%
        }
    }
    

    https://prnt.sc/Fe6qDcstB9Oo

    Hope it helps!

    Avatar: Anas
    Anas
    Participant
    September 17, 2024 at 04:52

    hi, nope i dont want to hide the original black price, i need both the prices one below the other and not inline

    Avatar: Justin
    Luca Rossi
    Support staff
    September 17, 2024 at 10:59

    Hi @Anas,

    Please remove this custom CSS:

    
    .price.etheme-search-form-item-price del {
        display: none;
    }
    
    .price.etheme-search-form-item-price ins .amount {
        color: #000;
    }
    

    And add this custom CSS instead:

    
    .etheme-search-form-item-price {
        display: flex;
        flex-direction: column;
    }
    

    Hope it helps!

    Avatar: Anas
    Anas
    Participant
    September 17, 2024 at 15:01

    thanks

    Avatar: Justin
    Luca Rossi
    Support staff
    September 18, 2024 at 04:37

    Hi @Anas,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Search results regular price and sale price one below the other on desktop’' has been successfully resolved, and the topic is now closed for further responses

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.