{"id":8542,"date":"2024-01-14T17:51:00","date_gmt":"2024-01-14T17:51:00","guid":{"rendered":"https:\/\/codehim.com\/?p=8542"},"modified":"2024-01-22T15:53:58","modified_gmt":"2024-01-22T10:53:58","slug":"sidebar-menu-hover-show-hide-bootstrap-5","status":"publish","type":"post","link":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/","title":{"rendered":"Sidebar Menu Hover Show\/hide Bootstrap 5"},"content":{"rendered":"<p>This Bootstrap 5 code snippet helps you to create a sidebar menu that show\/hide on hover. When you hover over the sidebar, it expands from a narrow strip to a wider menu, revealing navigation links and icons. The main functionality of this code is to provide an interactive and space-saving sidebar navigation solution for web applications.<\/p>\n<h2>How to Create a Sidebar Menu that Show\/hide on Hover using Bootstrap 5<\/h2>\n<p>1. First of all, load the <a href=\"https:\/\/getbootstrap.com\/\" target=\"_blank\" rel=\"noopener\">Bootstrap 5<\/a> and <a href=\"https:\/\/fontawesome.com\/v4\/\" target=\"_blank\" rel=\"noopener\">Font Awesome CSS<\/a> by adding the following CDN links into the head tag of your HTML document.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;link rel='stylesheet' href='https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.3\/dist\/css\/bootstrap.min.css'&gt;\r\n&lt;link rel='stylesheet' href='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/5.15.4\/css\/all.min.css'&gt;\r\n<\/pre>\n<p>2. After that, create the HTML structure for your sidebar menu. You can copy and paste the following code into your HTML file:<\/p>\n<pre class=\"prettyprint linenums lang-html\"> &lt;header&gt;\r\n        &lt;div class=\"d-flex flex-column flex-shrink-0 sidebar-wrap\"&gt;\r\n            &lt;a href=\"\/\" class=\"text-decoration-none logo-wrap\"&gt;\r\n                &lt;div class=\"icon-wrap\"&gt;&lt;i class=\"fab fa-slack\"&gt;&lt;\/i&gt;&lt;\/div&gt; &lt;span&gt;slack&lt;\/span&gt;\r\n            &lt;\/a&gt;\r\n            &lt;hr&gt;\r\n            &lt;ul class=\"nav nav-pills flex-column mb-auto\"&gt;\r\n                &lt;li class=\"nav-item\"&gt;\r\n                    &lt;a href=\"#\" class=\"nav-link active\" aria-current=\"page\"&gt;\r\n                        &lt;div class=\"icon-wrap\"&gt;\r\n                            &lt;i class=\"fas fa-home\"&gt;&lt;\/i&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;span&gt; Home&lt;\/span&gt;\r\n                    &lt;\/a&gt;\r\n                &lt;\/li&gt;\r\n                &lt;li&gt;\r\n                    &lt;a href=\"#\" class=\"nav-link\"&gt;\r\n                        &lt;div class=\"icon-wrap\"&gt;\r\n                            &lt;i class=\"fas fa-tachometer-alt\"&gt;&lt;\/i&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;span&gt;Dashboard&lt;\/span&gt;\r\n                    &lt;\/a&gt;\r\n                &lt;\/li&gt;\r\n                &lt;li&gt;\r\n                    &lt;a href=\"#\" class=\"nav-link\"&gt;\r\n                        &lt;div class=\"icon-wrap\"&gt;\r\n                            &lt;i class=\"fab fa-first-order\"&gt;&lt;\/i&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;span&gt;Orders&lt;\/span&gt;\r\n                    &lt;\/a&gt;\r\n                &lt;\/li&gt;\r\n                &lt;li&gt;\r\n                    &lt;a href=\"#\" class=\"nav-link\"&gt;\r\n                        &lt;div class=\"icon-wrap\"&gt;\r\n                            &lt;i class=\"fab fa-product-hunt\"&gt;&lt;\/i&gt;\r\n                        &lt;\/div&gt;\r\n                        &lt;span&gt;Products&lt;\/span&gt;\r\n                    &lt;\/a&gt;\r\n                &lt;\/li&gt;\r\n                &lt;li&gt;\r\n                    &lt;a href=\"#\" class=\"nav-link\"&gt;\r\n                        &lt;div class=\"icon-wrap\"&gt;\r\n                            &lt;i class=\"fab fa-intercom\"&gt;&lt;\/i&gt;\r\n                        &lt;\/div&gt;\r\n\r\n                        &lt;span&gt;Customers&lt;\/span&gt;\r\n                    &lt;\/a&gt;\r\n                &lt;\/li&gt;\r\n            &lt;\/ul&gt;\r\n            &lt;hr&gt;\r\n            &lt;div class=\"dropdown\"&gt;\r\n                &lt;a href=\"#\" class=\"text-decoration-none dropdown-toggle  dropdown-wrap\" id=\"dropdownUser2\"\r\n                    data-bs-toggle=\"dropdown\" aria-expanded=\"false\"&gt;\r\n                    &lt;div class=\"icon-wrap\"&gt;\r\n                        &lt;img src=\"https:\/\/github.com\/mdo.png\" alt=\"\" width=\"32\" height=\"32\" class=\"rounded-circle\"&gt;\r\n                    &lt;\/div&gt;\r\n                    &lt;strong&gt;Customers&lt;\/strong&gt;\r\n                &lt;\/a&gt;\r\n                &lt;ul class=\"dropdown-menu text-small shadow\" aria-labelledby=\"dropdownUser2\"&gt;\r\n                    &lt;li&gt;&lt;a class=\"dropdown-item\" href=\"#\"&gt;New project...&lt;\/a&gt;&lt;\/li&gt;\r\n                    &lt;li&gt;&lt;a class=\"dropdown-item\" href=\"#\"&gt;Settings&lt;\/a&gt;&lt;\/li&gt;\r\n                    &lt;li&gt;&lt;a class=\"dropdown-item\" href=\"#\"&gt;Profile&lt;\/a&gt;&lt;\/li&gt;\r\n                    &lt;li&gt;\r\n                        &lt;hr class=\"dropdown-divider\"&gt;\r\n                    &lt;\/li&gt;\r\n                    &lt;li&gt;&lt;a class=\"dropdown-item\" href=\"#\"&gt;Sign out&lt;\/a&gt;&lt;\/li&gt;\r\n                &lt;\/ul&gt;\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/header&gt;\r\n<\/pre>\n<p>Inside the <code>&lt;div class=\"sidebar-wrap\"&gt;<\/code> element, you can customize the sidebar&#8217;s content. You can add your logo, navigation links, and a dropdown menu. Customize the icons and text to match your application&#8217;s needs.<\/p>\n<p>3. Next, add the CSS styles to make the sidebar responsive and create the hover effect. You can copy and paste the provided CSS code into your project&#8217;s stylesheet or within a <code>&lt;style&gt;<\/code> tag in the HTML file.<\/p>\n<pre class=\"prettyprint linenums lang-css\">.sidebar-wrap {\r\n  width: 60px;\r\n  height: 100vh;\r\n  background-color: #000;\r\n  color: #fff;\r\n  padding: 10px;\r\n  transition: 0.8s;\r\n}\r\n.sidebar-wrap:hover {\r\n  width: 280px;\r\n}\r\n.sidebar-wrap:hover .logo-wrap span {\r\n  display: flex;\r\n}\r\n.sidebar-wrap:hover .nav li .nav-link span {\r\n  display: flex;\r\n}\r\n.sidebar-wrap:hover .dropdown-wrap strong {\r\n  display: flex;\r\n}\r\n.sidebar-wrap:hover .dropdown-wrap::after {\r\n  display: inline-block;\r\n}\r\n.sidebar-wrap:hover .dropdown-wrap {\r\n  justify-content: flex-start;\r\n}\r\n.sidebar-wrap .logo-wrap {\r\n  color: #fff;\r\n  font-size: 35px;\r\n  display: flex;\r\n  align-items: center;\r\n  gap: 10px;\r\n}\r\n.sidebar-wrap .logo-wrap span {\r\n  font-size: 18px;\r\n}\r\n.sidebar-wrap .logo-wrap .icon-wrap {\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n  height: 40px;\r\n  min-width: 40px;\r\n}\r\n.sidebar-wrap .nav {\r\n  height: 100%;\r\n  overflow-x: hidden;\r\n  overflow-y: auto;\r\n  flex-wrap: nowrap;\r\n}\r\n.sidebar-wrap .nav::-webkit-scrollbar-track {\r\n  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\r\n  border-radius: 5px;\r\n  background-color: #f5f5f5;\r\n}\r\n.sidebar-wrap .nav::-webkit-scrollbar {\r\n  width: 5px;\r\n  background-color: #f5f5f5;\r\n  border-radius: 5px;\r\n}\r\n.sidebar-wrap .nav::-webkit-scrollbar-thumb {\r\n  border-radius: 5px;\r\n  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\r\n  background-color: #9b9b9b;\r\n}\r\n.sidebar-wrap .nav li {\r\n  margin-top: 5px;\r\n}\r\n.sidebar-wrap .nav li .nav-link {\r\n  color: #fff;\r\n  padding: 0;\r\n  font-size: 20px;\r\n  display: flex;\r\n  align-items: center;\r\n  gap: 5px;\r\n}\r\n.sidebar-wrap .nav li .nav-link .icon-wrap {\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n  height: 40px;\r\n  min-width: 40px;\r\n}\r\n.sidebar-wrap .nav li .nav-link span {\r\n  font-size: 16px;\r\n}\r\n.sidebar-wrap .nav li .nav-link.active {\r\n  background-color: #ffa200;\r\n}\r\n.sidebar-wrap .nav li .nav-link:hover {\r\n  background-color: #ffa200;\r\n}\r\n.sidebar-wrap .dropdown-wrap {\r\n  display: flex;\r\n  align-items: center;\r\n  color: #fff;\r\n  gap: 15px;\r\n  font-size: 16px;\r\n}\r\n.sidebar-wrap .dropdown-wrap .icon-wrap {\r\n  min-width: 40px;\r\n  height: 40px;\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n}<\/pre>\n<p>4. To enable dropdown functionality in the sidebar, include the Bootstrap JavaScript library. Add the following scripts at the bottom of your HTML file, just before the closing <code>&lt;\/body&gt;<\/code> tag:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;script src='https:\/\/cdn.jsdelivr.net\/npm\/@popperjs\/core@2.9.2\/dist\/umd\/popper.min.js'&gt;&lt;\/script&gt;\r\n&lt;script src='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap\/5.2.3\/js\/bootstrap.min.js'&gt;&lt;\/script&gt;<\/pre>\n<p>That&#8217;s it! You&#8217;ve successfully created a responsive sidebar menu with a hover effect using Bootstrap 5. You can further customize the content and styling to match your project&#8217;s requirements. This navigation menu is a space-efficient and user-friendly addition to web applications.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Bootstrap 5 code snippet helps you to create a sidebar menu that show\/hide on hover. When you hover over&#8230;<\/p>\n","protected":false},"author":1,"featured_media":8560,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[123,38],"tags":[36,14],"class_list":["post-8542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bootstrap","category-menu","tag-side-menu","tag-vertical-menu"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sidebar Menu Hover Show\/hide Bootstrap 5 &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Sidebar Menu Hover Show\/hide Bootstrap 5. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sidebar Menu Hover Show\/hide Bootstrap 5 &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Sidebar Menu Hover Show\/hide Bootstrap 5. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-14T17:51:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:53:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Sidebar Menu Hover Show\/hide Bootstrap 5\",\"datePublished\":\"2024-01-14T17:51:00+00:00\",\"dateModified\":\"2024-01-22T10:53:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\"},\"wordCount\":261,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png\",\"keywords\":[\"Side Menu\",\"Vertical Menu\"],\"articleSection\":[\"Bootstrap\",\"Menu &amp; Nav\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\",\"url\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\",\"name\":\"Sidebar Menu Hover Show\/hide Bootstrap 5 &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png\",\"datePublished\":\"2024-01-14T17:51:00+00:00\",\"dateModified\":\"2024-01-22T10:53:58+00:00\",\"description\":\"Here is a free code snippet to create a Sidebar Menu Hover Show\/hide Bootstrap 5. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png\",\"width\":1280,\"height\":960,\"caption\":\"Sidebar Menu Hover Show\/hide Bootstrap 5\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bootstrap\",\"item\":\"https:\/\/codehim.com\/category\/bootstrap\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Sidebar Menu Hover Show\/hide Bootstrap 5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sidebar Menu Hover Show\/hide Bootstrap 5 &#8212; CodeHim","description":"Here is a free code snippet to create a Sidebar Menu Hover Show\/hide Bootstrap 5. You can view demo and download the source code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/","og_locale":"en_US","og_type":"article","og_title":"Sidebar Menu Hover Show\/hide Bootstrap 5 &#8212; CodeHim","og_description":"Here is a free code snippet to create a Sidebar Menu Hover Show\/hide Bootstrap 5. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-14T17:51:00+00:00","article_modified_time":"2024-01-22T10:53:58+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Sidebar Menu Hover Show\/hide Bootstrap 5","datePublished":"2024-01-14T17:51:00+00:00","dateModified":"2024-01-22T10:53:58+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/"},"wordCount":261,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png","keywords":["Side Menu","Vertical Menu"],"articleSection":["Bootstrap","Menu &amp; Nav"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/","url":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/","name":"Sidebar Menu Hover Show\/hide Bootstrap 5 &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png","datePublished":"2024-01-14T17:51:00+00:00","dateModified":"2024-01-22T10:53:58+00:00","description":"Here is a free code snippet to create a Sidebar Menu Hover Show\/hide Bootstrap 5. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Sidebar-Menu-Hover-Show_hide-Bootstrap-5.png","width":1280,"height":960,"caption":"Sidebar Menu Hover Show\/hide Bootstrap 5"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/bootstrap\/sidebar-menu-hover-show-hide-bootstrap-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Bootstrap","item":"https:\/\/codehim.com\/category\/bootstrap\/"},{"@type":"ListItem","position":3,"name":"Sidebar Menu Hover Show\/hide Bootstrap 5"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":10105,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=8542"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8542\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/8560"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=8542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=8542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=8542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}