Duplicated navigation submenu arrows

The reason is that Elementor and Astra are both displaying a submenu icon. 

This occurred for the first time in the NaNotics project. And it didn’t happen before because Astra doesn’t add this icon for sites that were updated to version 3.3.0 from a previous version. And it adds the icon for sites where version 3.3.0 or later were directly installed.

This weird behaviour is occurring because when Astra is updated to version 3.3.0, the Astra setting “can-update-astra-icons-svg” is set to false:

[INSERT CODE HERE]

And that setting is causing a different result on this conditional:

[INSERT CODE HERE]

And finally, on that conditional depends if Astra adds the icon to the navigation or not:

[INSERT CODE HERE]

There’s no way to turn on or off this icon from dashboard, but we can use a filter to remove it:

add_action( ‘init’, function() {

   remove_filter( ‘nav_menu_item_title’, ‘astra_dropdown_icon_to_menu_link’ );

});

  • Header custom template

 

  • Customizer Settings:
    • Typography – do we set here? Or, theme style? 
    • Buttons – do we set here? Or pro/global styles?
  • Global Footer (Elementor):
    • After I set the global footer go back into the customizer and turn the footer widgets OFF and the footer bar OFF to not confuse them by having content in there. 
  • How to create an Elementor template for single CPT entries
    • 1. Go to: Templates > Theme Builder > Add New >
    • 2. Select Single Post, enter a name like “Single Product” and click on Create Template.
    • 3. On the initial popup, select the tab “My Templates”
    • 4. Select the template you already created and click on Insert
    • 5. Click on the Publish button.
    • 6. You will get a popup where you can select the rules to use this template on the Single CPT.

Powered by BetterDocs

Newsletter

Subscribe and stay connected through our Newsletter. We send out important news, tips and special offers.

  • This field is for validation purposes and should be left unchanged.