Fairly new to OC and have a question about the major changes to CSS styles when dropping to mobile view, ive attached a product listing on desktop and its equivalent on mobile. WHere are these changes initiated and how can I change the CSS to match?
Attachments
Screenshot 2024-09-24 at 16.22.16.png (642.26 KiB) Viewed 760 times
It's all in the catalog/view/theme/<your-theme>/stylesheet/stylesheet.css
If you need more help then you have to provide more details, see forum rules.
If you need more help then you have to provide more details, see forum rules.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Specifically, learn about media queries: https://www.w3schools.com/cssref/css3_pr_mediaquery.php
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
All media queries are all set, it is as if something is striping it all away once on mobile? Maybe im missing something very easy!
yes media queries do that - if they are "set" then at an educated guess it is those settings, but of course it could be js.
"My car doesnt work, it has an engine but it doesnt work" -
"My car doesnt work, it has an engine but it doesnt work" -

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Let's have a link to the site so we can see the code.stephenwales wrote: ↑Wed Sep 25, 2024 8:15 pmAll media queries are all set, it is as if something is striping it all away once on mobile? Maybe im missing something very easy!
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: No registered users and 18 guests