Mobile override.css issue

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Oct 24, 2012 6:34 pm
Hello Gavick,
I'm sorry if i asking you in the wrong place, on secutrity & configuration room.
I'm working on Music Template v2.12 and Joomla v2.5.7 now.

My question is, can I override the iphone.css ,android.css, handheld.css in override.css ? I tried that but it didn't works. Am I missing some configuration ?

If I can't do that, please make it works on next update, because it will make our work simple on every update.

Big Thanks from Indonesia.
User avatar
Junior Boarder

teitbite
Thu Oct 25, 2012 11:56 am
Hi

Yes You can make such overrides, but Your code needs to be between tags for loading right content. Here are what You need to use:

Code: Select all
/* MOBILE (iphone.css)
--------------------------------------------------------- */
@media only screen and (max-width:719px) {
}

/* TABLET (layout-tablet.css)
--------------------------------------------------------- */
@media only screen and (min-width:720px) and (max-width: 985px) {
}
User avatar
Moderator

GK User
Fri Oct 26, 2012 7:35 am
So, If I use this code:

@media only screen and (max-width:719px) {
}

The override will works on <719px display, am I right ?
So, will the override works on Android, iPhone, and Handheld in one line of code ?

Where is the 'layout-tablet.css' on Music Template ?
User avatar
Junior Boarder

teitbite
Sat Oct 27, 2012 12:19 pm
Hi

Ok. I think I've made a mistake. I'm explaining regarding Music Free template and You probably are using Music. These are 2 totally different templates.

In Music Free template mentioned solution is working for sure with Music where template construction is a lot different this code should works either for all devices in this screen resolutions. But please check first with some easy customization.
User avatar
Moderator


cron