This topic has 6 replies, 2 voices, and was last updated 2 months ago ago by Luca Rossi
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
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%
}
}
Hope it helps!
hi, nope i dont want to hide the original black price, i need both the prices one below the other and not inline
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!
thanks
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
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