SMThemes Support » MiddleEarth
Use child theme mobile and tablet stylesheets
8 years ago
dejudicibus
Member
I created a child theme based on your Middle Earth theme. As usual I created my own style.css, but if I copy mobile.css and tablet.css in a css folder of my child theme, they are not used because you explicitely add the following links
in library.php. How can I force to use child theme stylesheets for mobile and tablets rather than yours? |
8 years ago
Grace
Support Service
Hi!
You can change styles of the mobile and the tablet versions by using media queries in the style.css file. The description of using media queries can be found by following this link:
Besides, you can see an example of using media queries on the 450th line of the style.css file. |
8 years ago
dejudicibus
Member
OK. Just consider that the slides on top of your theme are not really responsive. You can check that by opening your demo site at full screen on a desktop. Then shrink the width of the browser window to the minimum size, and then enlarge it again at full screen. Whereas most of layout will adapt, the image inside the slide get cropped.
|
8 years ago
Grace
Support Service
Hi!
We know about this specific characteristic. It happens because sliders load and adapt to a screen of your device only once when page loads. |
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts