{"id":2367,"date":"2024-02-26T10:30:56","date_gmt":"2024-02-26T10:30:56","guid":{"rendered":"https:\/\/helpcenter.greyd.io\/off-canvas-close-button\/"},"modified":"2025-01-30T18:16:52","modified_gmt":"2025-01-30T17:16:52","slug":"off-canvas-close-button","status":"publish","type":"post","link":"https:\/\/helpcenter.greyd.io\/off-canvas-close-button\/","title":{"rendered":"How can I make sure to only have one close X in my off-canvas burger menu?"},"content":{"rendered":"

In the Customizer navigation settings you can chose whether or not to display a close button in an off-canvas template. As off-canvas templates are often used in combination with burger icons, a close button is often not necessary as the burger icon itself acts as a close button. However, on mobile screens it may happen that the close button in your template will be forced in order to prevent the menu from not becoming unusable.<\/p>\n

You can easily change this with the following CSS snippet:<\/p>\n

#mainmenuoff .hamburger {\n    display: none;\n}\n<\/pre>\n
\n \"Customizer
Customizer navigation settings<\/figcaption><\/figure>\n
\n \"With
With a close-button and a burger icon, you may happen to unintentionally display two close buttons <\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"

In the Customizer navigation settings you can chose whether or not to display a close button in an off-canvas template. As off-canvas templates are often used in combination with burger icons, a close button is often not necessary as the burger icon itself acts as a close button. However, on mobile screens it may happen […]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"greyd_block_editor_preview":[],"footnotes":""},"categories":[1],"tags":[48,46,49,47,50],"topics":[588,580],"class_list":["post-2367","post","type-post","status-publish","format-standard","hentry","category-general","tag-burger-menu","tag-close-button","tag-off-canvas-menu","tag-schliesen-button","tag-x-button","topics-navigation","topics-templates-post-types"],"lang":"en","translations":{"en":2367,"de":2714},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/2367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/comments?post=2367"}],"version-history":[{"count":1,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/2367\/revisions"}],"predecessor-version":[{"id":4866,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/2367\/revisions\/4866"}],"wp:attachment":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/media?parent=2367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/categories?post=2367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/tags?post=2367"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/topics?post=2367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}