• riknil

    (@riknil)


    I am working on a site where the menu of the site will be a hamburger menu on all screens. Big and small. However, Twenty Sixteen changes the menu from mobile to desktop around 900 px.

    Therefore, I want to disable the media query in the css that changes the look on the menu over to the desktop-look. Is it possible?

    I can always delete the part in the parent css but as we all know, it is not good practice.

Viewing 5 replies - 1 through 5 (of 5 total)
  • TUT Support

    (@phpexpert21)

    Hello riknil,

    Please provide the site url so we can provide you the custom css as per the need.

    Kind regards,

    Manoj

    Thread Starter riknil

    (@riknil)

    The project is still early therefore I do not have a site up and running. I have not change much code yet so it is pretty much out of the box from Twenty Sixteen.

    You can make a child theme this is the best way to make changes like this.
    Now you can easily override the menu’s CSS and your tweaks won’t be overwritten when updating the theme.

    Thread Starter riknil

    (@riknil)

    Please tell me how I override the Media Query in the parent theme from the Child theme for this particular case.

    Thread Starter riknil

    (@riknil)

    I don not want this line to take over

    @media screen and (min-width: 56.875em) {…

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable desktop menu’ is closed to new replies.