{"id":2767,"date":"2026-09-11T07:20:25","date_gmt":"2026-09-11T07:20:25","guid":{"rendered":"https:\/\/grooni.com\/docs\/groovy-menu\/?page_id=2767"},"modified":"2026-09-12T06:03:09","modified_gmt":"2026-09-12T06:03:09","slug":"how-to-change-the-menu-background-and-logo-for-selected-menu-items","status":"publish","type":"page","link":"https:\/\/grooni.com\/docs\/groovy-menu\/faq\/how-to-change-the-menu-background-and-logo-for-selected-menu-items\/","title":{"rendered":"How to change the menu background and logo for selected menu items"},"content":{"rendered":"<p>In Groovy Menu Pro 2.6.5, a selected top-level item can change the background of the entire Classic desktop menu and display the Alternative Logo. You can activate this state on hover or while the item&#8217;s submenu is open.<\/p>\n<h2>1. Create or choose a navigation menu<\/h2>\n<p>Go to <strong>Appearance &gt; Menus<\/strong>. Select an existing menu or click <strong>create a new menu<\/strong>. Add the top-level item that should trigger the change. If you want to use the <strong>When item is opened<\/strong> trigger, add at least one submenu item below it by dragging that item slightly to the right, or configure a Mega Menu for that top-level item. Click <strong>Save Menu<\/strong>.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2026\/09\/menus-initial.png\" alt=\"WordPress Appearance Menus showing a top-level menu item with a nested submenu item\"><figcaption>Create or select the navigation menu in Appearance &gt; Menus.<\/figcaption><\/figure>\n<h2>2. Assign the menu and a Classic preset<\/h2>\n<p>Open <strong>Groovy Menu &gt; Dashboard<\/strong> and choose the preset you will use. The selected-item state is available for the <strong>Classic<\/strong> desktop menu type. In <strong>Global settings &gt; Taxonomies<\/strong>, select it under <strong>Default preset for all content<\/strong> and select your WordPress menu under <strong>Default navigation menu for all content<\/strong>. Click <strong>Save changes<\/strong>. If a page has its own preset or menu override, make sure it uses the same configuration.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2026\/09\/global-settings-taxonomies.png\" alt=\"Groovy Menu Global settings Taxonomies with the default preset and navigation menu selectors\"><figcaption>Assign the preset and navigation menu used on the site.<\/figcaption><\/figure>\n<h2>3. Upload both logos<\/h2>\n<p>From <strong>Groovy Menu &gt; Dashboard<\/strong>, open <strong>Global settings &gt; Logo<\/strong>. Upload the <strong>Default logo<\/strong> and the <strong>Alternative logo<\/strong>, then click <strong>Save changes<\/strong>. The Alternative logo is the image that appears when the selected-item state is active.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2026\/09\/global-settings-open.png\" alt=\"Groovy Menu Global settings Logo tab with Default logo and Alternative logo upload buttons\"><figcaption>Upload the Default logo and Alternative logo in Global settings.<\/figcaption><\/figure>\n<h2>4. Enable the logo switch in the preset<\/h2>\n<p>Edit the preset from <strong>Groovy Menu &gt; Dashboard<\/strong>. In <strong>General &gt; General settings<\/strong>, choose <strong>Classic<\/strong> as the menu type. Then open <strong>General &gt; Logo<\/strong>, select <strong>Image<\/strong> for <strong>Logo type<\/strong>, and enable <strong>Switch logo to alternative on selected item state<\/strong>.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2026\/09\/preset-logo.png\" alt=\"Classic preset General Logo settings with Image logo type and selected-item alternative logo switch enabled\"><figcaption>Enable the Alternative Logo switch in General &gt; Logo.<\/figcaption><\/figure>\n<h2>5. Set the background color and trigger<\/h2>\n<p>In the same preset, open <strong>Styles &gt; Background<\/strong>. Enable <strong>Change top level menu background when a submenu is opened<\/strong>, then choose the active color under <strong>Top level menu background when a submenu is opened<\/strong>. Set <strong>Opened submenu background scope<\/strong> to <strong>Selected menu item only<\/strong>. Under <strong>Selected item state trigger<\/strong>, choose <strong>On hover<\/strong> or <strong>When item is opened<\/strong>. Save the preset.<\/p>\n<p><strong>On hover<\/strong> works even when the item has no submenu. <strong>When item is opened<\/strong> requires an open Dropdown or Mega Menu. If the sticky menu should use a different active color, also configure <strong>Change sticky top level menu background when a submenu is opened<\/strong> and <strong>Sticky top level menu background when a submenu is opened<\/strong>.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2026\/09\/preset-background-top.png\" alt=\"Classic preset Styles Background controls for active color, selected item scope, and hover or opened trigger\"><figcaption>Choose the active menu background color, scope, and trigger.<\/figcaption><\/figure>\n<h2>6. Select the top-level item<\/h2>\n<p>Return to <strong>Appearance &gt; Menus<\/strong>, expand the required <strong>top-level<\/strong> menu item, and click <strong>Groovy Menu item options<\/strong>. Enable <strong>Use selected item state<\/strong> and click <strong>Save<\/strong> inside that window. Click the WordPress <strong>Save Menu<\/strong> button as well if you changed the menu structure. The WordPress button alone does not save settings inside the Groovy Menu item options window.<\/p>\n<figure class=\"wp-block-image\"><img src=\"https:\/\/grooni.com\/docs\/groovy-menu\/wp-content\/uploads\/sites\/3\/2026\/09\/menu-item-state.png\" alt=\"Groovy Menu item options with Use selected item state checked and the Save button visible\"><figcaption>Enable Use selected item state for each top-level item that should trigger the change.<\/figcaption><\/figure>\n<h2>Check the result<\/h2>\n<p>Open the site on a desktop and hover over the selected item, or open its submenu, depending on the trigger you chose. The top-level menu background and logo should change together. If nothing happens, check that the correct menu and Classic preset are assigned, the Alternative logo is uploaded, and <strong>Use selected item state<\/strong> is enabled on that item. If the site uses a page or asset cache, clear it after saving the preset.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Groovy Menu Pro 2.6.5, a selected top-level item can change the background of the entire Classic desktop menu and &hellip; <a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/faq\/how-to-change-the-menu-background-and-logo-for-selected-menu-items\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"parent":682,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/2767"}],"collection":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/comments?post=2767"}],"version-history":[{"count":2,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/2767\/revisions"}],"predecessor-version":[{"id":2779,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/2767\/revisions\/2779"}],"up":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/682"}],"wp:attachment":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/media?parent=2767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}