Skip to content

Navbar collapse instead offcanvas? #382

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

You must be logged in to vote

Of course, it's possible. Change offcanvas to collapse component and adjust header-actions to fit on mobile. Fine-tune by yourself:

header.php

<?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/themes/basics/template-files/#template-partials
 *
 * @package Bootscore
 * 
 * @version 5.2.0.0
 */

?>
<!doctype html>
<html <?php language_attributes(); ?>>

<head>
  <meta charset="<?php bloginfo('charset'); ?>">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="profile" href="https://gmpg.org/xfn/11">
  <!-- Favicons -->…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ant31zac
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #381 on February 01, 2023 09:00.