Hazır hocam:
function detectMOB(){
if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i)|| navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){
document.getElementById("search-8").style.display = "none";
document.getElementById("custom_html-8").style.display = "none";
document.getElementById("categories-16").style.display = "none";
document.getElementById("text-31").style.display = "none";
}else{
return true;
}
}
body "detectMOB();" ekleyin.
function detectMOB(){
if(navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i)|| navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){
document.getElementById("search-8").style.display = "none";
document.getElementById("custom_html-8").style.display = "none";
document.getElementById("categories-16").style.display = "none";
document.getElementById("text-31").style.display = "none";
}else{
return true;
}
}
body "detectMOB();" ekleyin.
Bu verilen kodları style.css içerisine mi ekleyeceğim. Cahilliğimi mazur görün :(