Hello à tous,
Je me prends la tête depuis 48h avec mon thème Savor, mais surtout le format du Hero pour qu’il s’adapte aussi bien sur desktop que mobile. J’ai essayé de modifier le CSS, forcer l’utilisation d’un format pour desktop et d’un 2ème format pour mobile, rien n’y fait. Help!! Merci pour votre aide
Simply create two Hero sections, one for mobile and the other for desktop. Then, add the CSS below to the Custom CSS of each section to hide the desktop section on mobile and vice versa.
Code for mobile section
@media (min-width: 750px) {
.hero { display: none; }
}
Code for desktop section
@media (max-width: 749px) {
.hero { display: none; }
}
Best regards,
Dan from Ryviu: Product Reviews App