How do you add Woo Cart Icon, Search Icon and Custom Button as last menu items at Astra theme header? You can only add one item as last menu item via Astra customizer. In this tutorial I’ll show how you will add these three features as an one menu item at header.
Adding Button As Last Menu Item
At first we’ll add the custom button as last menu item at site header via Astra theme customizer. Here you will go:
- Navigate to Appearance -> Customize
- Click on Header -> Primary Menu
- Select “Button” from Last Item in Menu select box
- Setup the extra settings as per your note
- Save & Publish
Adding Cart and Search Icon
Now we’ll add the woo mini cart icon and search form icon at left side of the custom button. We need small PHP script for it. Open the functions.php file of your Astra child theme and add the following PHP codes at end of the file:
The rest of the content is available for Pro members. Click on the PAY NOW button to enable access to this content.