responsive on tablet and mobile
-
Hello,
I have my site, https://www.mugeturner.com
I want it to look good on tablets and then mobile phones. I posted a similar post last year for my old site and used the following code:
@media (max-width: 979px) {
#nav-main {width: auto;height: auto;float:none;}
#nav-main ul.sf-menu {display: block;}
#nav-main select.navselect {display: none;}
#nav-main .mobilenav-button {display:none;}
}
@media (max-width: 767px) {
#nav-main {width: 100%;height: 50px;margin: 20px auto 0px;float: none;position: relative;}
#nav-main ul.sf-menu {display: none;}
#nav-main select.navselect {display: block;}
#nav-main .mobilenav-button {display:inline-block;}
}But I have tried it on the new site and deosnt quite work. Does anyone have any suggestions on how to make it look good on different sized mobile devices?
Muge
- The topic ‘responsive on tablet and mobile’ is closed to new replies.