Skyler1440 Posted April 21, 2021 Share Posted April 21, 2021 Site URL: https://www.rivalarchery.com/ Hello! What code could I use to make my Rival Limitless product show up on the top of the screen on the home page, only on the mobile view, and leave the desktop view unaffected? Thanks! Skyler Link to comment
tuanphan Posted April 24, 2021 Share Posted April 24, 2021 On 4/22/2021 at 5:28 AM, Skyler1440 said: Site URL: https://www.rivalarchery.com/ Hello! What code could I use to make my Rival Limitless product show up on the top of the screen on the home page, only on the mobile view, and leave the desktop view unaffected? Thanks! Skyler Add to Design > Custom CSS /* Reorder products on mobile */ @media screen and (max-width:767px) { body.homepage .list-grid { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } div#thumb-ascent-recurve-scope { order: 2; } div#thumb-limitless-recurve-aperture { order: 1 !important; } div#thumb-dot-kit { order: 3; } } Skyler1440 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Skyler1440 Posted June 18, 2021 Author Share Posted June 18, 2021 On 4/24/2021 at 4:03 AM, tuanphan said: Add to Design > Custom CSS /* Reorder products on mobile */ @media screen and (max-width:767px) { body.homepage .list-grid { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } div#thumb-ascent-recurve-scope { order: 2; } div#thumb-limitless-recurve-aperture { order: 1 !important; } div#thumb-dot-kit { order: 3; } } That worked perfectly! Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment