- Posts: 18
- Thank you received: 0
Which css file for smartphones
11 years 8 months ago #37974
by tiesgr
Which css file for smartphones was created by tiesgr
Hello,
How is it possible to apply different css styles between android devices and regular monitors? Is there a specific file that I can apply some css rules in order to utilize the responsiveness?
Thank you in advance.
How is it possible to apply different css styles between android devices and regular monitors? Is there a specific file that I can apply some css rules in order to utilize the responsiveness?
Thank you in advance.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Offline
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 8 months ago #37977
by ivan.milic
Replied by ivan.milic on topic Which css file for smartphones
If you need additional definitions there are two things you can use:
@media (max-width: XXXpx) {
/*put here styles that are valid for browser with under XXX px */
}
@media (min-width: XXXpx) {
/*put here styles that are valid for browser with above XXX px */
}
You can also make you custom changes in index.php of template eater to load different css files or to set some class on body element to be able to differ styles easier . See this:
stackoverflow.com/questions/16075978/nee...joomla-template-with
@media (max-width: XXXpx) {
/*put here styles that are valid for browser with under XXX px */
}
@media (min-width: XXXpx) {
/*put here styles that are valid for browser with above XXX px */
}
You can also make you custom changes in index.php of template eater to load different css files or to set some class on body element to be able to differ styles easier . See this:
stackoverflow.com/questions/16075978/nee...joomla-template-with
Please Log in to join the conversation.
Time to create page: 0.327 seconds