html - Non-mobile navigation moves after switching back from mobile navigation -
website http://wildmeasure.com/qualitymetalcraft.com/
i have regular navigation , mobile navigation collapses. whenever navigation switches mobile regular, regular navigation shifts downwards originally. befuddled why happening , how prepare it. much taking time @ this.
it problem in chrome , safari, not firefox.
example image: http://wildmeasure.com/qualitymetalcraft.com/qmcnav.jpg
a band-aid prepare absolutely position menu div remain in top right of screen. margins maintain position correct, , responsiveness still works correctly. ensures div reappears in right place after moving mobile view.
css.menu-wrapper { margin: 55px 55px 0 0; width: 650px; float: right; display: inline; position: absolute; /* these lastly 3 lines new */ top: 0; right: 0; }
this tested in chrome, safari, , firefox.
html css wordpress
No comments:
Post a Comment