#gkTop.isIntro{top:120px !important;}
@media all and (max-width: 720px)
{
.......css code for mobile......
}
Pawel F wrote:Be careful using negative values like "-200px;" - because they may looks good on desktop but not necessarily on mobile view, this template is responsive.
That's why I suggest to check on your smartphone and if case of problems use @meta, for example:
- Code: Select all
@media all and (max-width: 720px)
{
.......css code for mobile......
}
Probably you have read about it (CSS3).
// menu movements
if(jQuery('body').find('.gk-intro').length != 0) {
var IS = jQuery('.gk-intro .gkIsWrapper-gk_creativity');
jQuery(window).scroll(function() {
var intro = jQuery('body').find('.gkIsWrapperFixed');
var introh = intro.height();
var pos = jQuery(window).scrollTop();
if(pos >= 100) {
jQuery('#gkTop').css('top', '0px');
} else if(pos < 100) {
jQuery('#gkTop').css('top', '-100px');
}
if(!Browser.ie8 && pos < introh && jQuery(window).height() > 1040) {
jQuery(intro).find('.figcaption').css('top', Math.floor((1.0 * pos) / 8.0) + "px");
}
if(IS.length > 0) {
if(pos > introh) {
if(IS.css('display') != 'none') {
IS.css('display', 'none');
}
} else {
if(IS.css('display') != 'block') {
IS.css('display', 'block');
}
}
}
});
}