Positioning of burger menu

Home Forums Legacy Support Support queries Styling issues Positioning of burger menu

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #150538
    robert_j_w
    Spectator
    How can I keep the position of the burger menu at different resolutions of a device always vertically in the middle of the top navigation row? Using Adjust Menu padding in header does work on a smartphone with one resolution (1080 x 2220 px) but not with the other (2220 x 1080px=landscaape), when a smartphone is 90° rotated. I have not managed to get it worked using resolution dependent styling @media (max-width:....) . The burger does not scale like the logo does.
    #150647
    Diana
    Participant
    @robert_j_w, With which device you were testing this. Please share a screenshot too in a private reply here
    #150662
    robert_j_w
    Spectator
    2 images: http://www.evaonlinecourses.eu/burger-menu-position-portrait-vs-landscape.zip I was testing on Samsung Galaxy S8+.
    #150741
    Anshuman Sahu
    Keymaster
    Hi, Please paste the following css in wp-admin>appearance>customize>custom css @media screen and (max-width: 250px) {header #trigger { top: 8px !important; }}  
    #151058
    robert_j_w
    Spectator
    It did not work for me. Is 250px the proper value?
    #151091
    Anshuman Sahu
    Keymaster
    Hi, Try this with max-width 285. And adjust it according to different devices. Reply here if problem is not resolved.
    #151224
    robert_j_w
    Spectator
    I got it but with different pixel values. However, it would be much better to have the burger menu by default always positioned vertically centered within the header. Maybe using display:flex. The menu would then require an additional div container. Using the top value as the only control parameter does not seem to be a satisfactory solution.
    #151314
    Anshuman Sahu
    Keymaster
    Hi, @robert_j_w Thanks for your suggestion. We are working on this and trying to apply display:flex in our update.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Positioning of burger menu’ is closed to new replies.