I tried to follow some of the other threaths in forum about nomobil, notablet suffix bug in templates, but can't get it to work in StartUp.
In template.css I find:
- Code: Select all
/* tablet/mobile suffixes */
.notablet {
display: none;
}
.nomobile {
display: none;
}
.onlytablet {
display: none;
}
.onlymobile {
display: none;
}
I tried to follow this:
https://www.gavick.com/forums/fashion-j ... 23718.html
And insert:
- Code: Select all
/* tablet/mobile suffixes */
.notablet {
display: block;
}
.nomobile {
display: block;
}
.onlytablet {
display: block;
}
.onlymobile {
display: block;
}
@media only screen and (min-width:720px) and (max-width: 985px) {
.onlytablet {
display: block;
}
.notablet {
display: none;
}
}
@media only screen and (max-width:719px) {
.nomobile {
display: none;
}
.onlymobile {
display: block;
}
}
I have two modules:
1) that I would like to show on computers and tablets.
2) that should only be shown on mobil.
1) has suffix .nomobile
2) has suffix .onlymobile
Both modules are shown on my computer?
Whats wrong?