Header Elements & Icons

Header Elements & Icons

Add functional icons and elements to your header to improve navigation and user experience. These small additions help visitors quickly access key features like search, cart, and account settings.

Header icons configuration showing search, cart, notifications, and user elements

What You Can Add

BuddyX Pro lets you add these elements to your header:

  • Search icon for site-wide search
  • Shopping cart icon with item count
  • User account/profile icon
  • Notifications bell (for logged-in members)
  • Messages icon (for community sites)
  • Dark mode toggle switch

Enabling Header Elements

  1. Go to Appearance > Customize
  2. Click on Header > Header Elements
  3. Toggle on the elements you want
  4. Click Publish

Available Header Icons

Search Icon

Shows a magnifying glass icon that opens a search box when clicked.

SettingOptions
Enable SearchYes / No
Search StyleDropdown, Full-screen overlay, Slide-in

Best Uses:

  • Content-heavy sites with many posts
  • E-commerce stores
  • Knowledge bases or documentation sites

Cart Icon (E-Commerce)

Displays a shopping cart icon with the number of items. Requires WooCommerce or FluentCart.

SettingOptions
Enable Cart IconYes / No
Show Item CountBadge with number
Cart DrawerOpen drawer vs. go to cart page

Best Uses:

  • Online stores
  • Course platforms with cart functionality
  • Any site selling products or services

User Account Icon

Shows a profile icon for login/account access.

SettingOptions
Enable User IconYes / No
Show AvatarDisplay user’s profile picture
Dropdown MenuProfile links when clicked

What Visitors See:

  • Logged Out: Login/Register links
  • Logged In: Profile, Account Settings, Logout

Notifications Bell

Displays a bell icon showing unread notifications count. Works with BuddyPress or BuddyBoss.

SettingOptions
Enable NotificationsYes / No
Show Unread CountBadge with number
Dropdown PanelRecent notifications list

Best Uses:

  • Community sites
  • Social networking platforms
  • Any site with member activity

Messages Icon

Shows an envelope icon for private messages. Requires BuddyPress or BuddyBoss messaging.

SettingOptions
Enable MessagesYes / No
Show Unread CountBadge with number

Dark Mode Toggle

Adds a sun/moon icon to switch between light and dark modes.

SettingOptions
Enable Dark Mode ToggleYes / No
Default ModeLight, Dark, or System

Icon Arrangement

Order & Position

You can arrange icons in any order:

PositionBest For
Far RightPrimary action (Search, Cart)
Near LogoAccount, Profile
GroupedRelated icons together

Icon Spacing

SettingDescription
Icon SizeSmall, Medium, Large
Icon SpacingGap between icons
Icon ColorMatch your header colors

Recommended Setups by Site Type

Online Store

Icons: Search + Cart + User Account
Order: Search, Cart (with count badge), User
Style: Medium icons, dropdown cart preview

Why this works: Customers can search products, see cart contents, and manage their account without leaving the page.

Community Platform

Icons: Search + Notifications + Messages + User
Order: Search, Notifications, Messages, User (with avatar)
Style: Show badges for unread items

Why this works: Members stay informed about activity and can quickly respond to messages.

Blog/Magazine

Icons: Search + Dark Mode Toggle
Order: Search on left, Dark Mode on right
Style: Large icons for easy access

Why this works: Readers can find content easily and choose their preferred viewing mode.

Online Course Platform

Icons: Search + Notifications + Cart + User
Order: Search, Notifications, Cart, User
Style: Show dropdown panels

Why this works: Students can search courses, track progress notifications, purchase new courses, and access their dashboard.

Corporate Website

Icons: Search only (optional)
Order: Far right of menu
Style: Minimal, icon only on hover

Why this works: Professional look without clutter; contact forms handle most interactions.

Membership Site

Icons: Notifications + Messages + User (with avatar)
Order: Notifications, Messages, User
Style: Show unread counts, avatar dropdown

Why this works: Members feel connected and can engage with the community easily.

Mobile Display

On mobile devices, header icons are handled differently:

BehaviorDescription
Icon BarShows in condensed row
In MenuMoved inside mobile menu
Priority IconsOnly essential icons shown

Recommendation: Show only 2-3 icons on mobile to save space. Cart and user icons are usually most important.

What It Looks Like

Header with Icons:

[Logo]     Home  About  Services  Blog     [Search] [Cart 3] [Avatar]

On Hover/Click:

[Logo]     Home  About  Services  Blog     [Search box opens...]
                                           [Cart shows items...]
                                           [User dropdown shows...]

Styling Your Icons

Icon Colors

Light HeaderDark Header
Dark icons (#333)Light icons (#fff)
Match menu textMatch menu text
Accent on hoverAccent on hover

Badge Styling

The notification/cart badges can be customized:

SettingRecommendation
Badge ColorYour primary brand color
Badge SizeSmall (not distracting)
Badge PositionTop-right of icon

Common Questions

Which icons should I enable? Only enable icons your visitors will actually use. A store needs cart; a blog might not.

Can I change the icon designs? Icons use a consistent style for visual harmony. Colors can be customized.

Will icons slow down my site? No, icons are lightweight SVGs with minimal impact on performance.

How do I hide icons for certain user roles? Some icons automatically show/hide based on login status. For advanced control, custom code may be needed.

Can I add custom icons? The built-in icons cover common needs. Custom icons require theme customization via child theme.

Related Settings


Need Help?

Last updated: January 31, 2026