Skip to content

Offcanvas still having strange behaviour #427

Answered by crftwrk
phrizm asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, you should check the syntax highlighting markdowns to post further code snippets correctly. They work for all langgages like css, scss, js, php, html etc. Awesome simple, but awesome useful.

Here is a working header.php with autohide and offcanvas outside the fixed-top. Done with the default header.php, you have to do your changes like the 3level depth menu again. If you want to get the autohide work properly on real mobile devices, use the JS and CSS snippets from my previous comment.

Solved?

<?php

/**
 * The header for our theme
 *
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @link https://developer.wordpress.org/t…

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@crftwrk
Comment options

@phrizm
Comment options

@phrizm
Comment options

@crftwrk
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@phrizm
Comment options

Comment options

You must be logged in to vote
1 reply
@phrizm
Comment options

Answer selected by phrizm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants