• Dashboard
    • Submit Ticket
    • Licenses
    • Login
  • Our Products
    • BuddyBuilder
    • Kleo
    • Typer
    • Seeko
    • SweetDate
    • BuddyApp
  • Services
    • VIP Support
    • WordPress Theme Installation Service
  1. Home
  2. Kleo
  3. Changing section icons in profiles and groups

Changing section icons in profiles and groups

On profile and group pages, you’ll see icon bars like the one shown above. You can change these icons to anything you want, here’s how…

1: CSS IDs

Start by finding the CSS selector for the icon you want to change. You will need the id of the <li > element associated with the icon. On profile pages it will end with “-personal-li” and on group pages it will end with “-groups-li”. The easiest way to do this is to install Google Chrome web browser, and then right-click on the icon you want to change and choose “Inspect Element” you’ll see something like this:

2: Icon IDs

In your WordPress installation folder, navigate to: wp-content/themes/kleo/assets/font and find the config.json file. Go to fontello.com and from the tools menu, choose Import:

When prompted, upload your config.json file and the fontello website will highlight all the icons that KLEO provides. Next, click on the Customise Codes tab and you’ll see a list of the icons with their unique codes below them.

Find the icon you want to use and write down it’s code (the code always starts with “E”).

3: Write CSS

The format of your CSS will be slightly different depending on whether you’re changing a profile icon or a group icon. In the example below, I’m changing the LOCATION icon for both profile (location-personal-li) and group (nav-gmw-group-location-groups-li) pages to icon number E868 (a map pin).

COPY CODE
/* Profiles: LOCATION icon */
#buddypress div#item-nav ul #location-personal-li a:before { content: "\E868"; }

/* Groups: LOCATION icon */
#buddypress div#item-nav ul #nav-gmw-group-location-groups-li a:before { content: "\E868"; }

Note how there’s a # in front of the icon id, and a \ in front of the icon code.

4: Add CSS

Important: Make sure that Kleo Child is the active theme (in Appearance > Themes) first!!

In the WordPress admin area, go in to Appearance > Editor and edit the Kleo Child: Stylesheet (style.css) – it looks like this:

COPY CODE
/*
Theme Name:     Kleo Child
Theme URI:
Description:    Child theme for Kleo
Author:         SeventhQueen
Author URI:     http://seventhqueen.com
Template:       kleo
Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
License: GNU General Public License
License URI: license.txt
*/

/*
* Please add your custom styles below
*/

Add in the CSS code you made earlier and save it.

5: Test

After clearing your browser cache, go into the front end and refresh the profile or group page to check it’s working. If it’s not working, common mistakes include:

  • Forgetting to put the # in front of the icon id or mistyping the id
  • Forgetting to put the \ in front of the icon code

If you need help, please ask in our support forums.

6: Common ID’s

Common profile item id’s:

  • ACTIVITY: activity-personal-li
  • PROFILE: xprofile-personal-li
  • NOTIFICATIONS: notifications-personal-li
  • MESSAGES: messages-personal-li
  • FRIENDS: friends-personal-li
  • FOLLOWING: members-following-personal-li (BuddyPress Follow plugin)
  • FOLLOWERS: members-followers-personal-li (BuddyPress Follow plugin)
  • GROUPS: groups-personal-li
  • FORUMS: forums-personal-li
  • LOCATION: location-personal-li (Geo my WP plugin)
  • BUDDYDRIVE: buddydrive-personal-li (BuddyDrive plugin)
  • DOCS: docs-personal-li (BuddyDocs plugin)
  • SETTINGS: settings-personal-li
  • MEDIA: media-personal-li (rtMedia plugin)
  • MY ARTICLES: articles-personal-li (Social Articles plugin)

Common group item id’s:

  • HOME: home-groups-li
  • FORUM: nav-forum-groups-li (bbPress plugin)
  • DOCS: nav-docs-groups-li (BuddyDocs plugin – if you rename the menu item in its settings, the id will change)
  • MEMBERS: members-group-li
  • GROUP TREE: nav-hierachy-groups-li (BP Group Hierarchy plugin – when link is active, the id changes to group-hierarchy-group-li so you’ll need to add both to your CSS)
  • LOCATION: nav-gmw-group-location-groups-li (GMW Group Locator plugin)
  • SEND INVITES: invite-groups-li
  • EMAIL-OPTIONS: nav-notifications-groups-li (BuddyPress Group Email Subscription plugin)

Blazing Fast Site Hosting & Maintenance

  • Welcome to Kleo!
  • Theme Requirements
  • What's included in the theme
  • WordPress Installation
  • How to Install Kleo Theme
  • Install recommended and required plugins
  • Import demo pages and content
  • How to Update the Theme
  • How to update WPBakery
  • Updating to KLEO 4.9
  • Theme Automatic Updates
  • BuddyPress overview
  • How to update WPBakery
  • bbPress overview
  • How To Install and Setup GeoDirectory V1
  • Youzer and Buddypress Integration with Kleo theme
  • Membership overview
  • rtMedia overview
  • WP Bakery Page Builder
  • Restrict content for certain membership level
  • Paid Memberships Pro
  • Restrict content only for logged in users
  • Enabling BuddyPress Groups
  • GeoDirectory Migrate to version 2.0
  • Bundled plugins and activation codes
  • Add link to element or button in Revolution Slider 6.x
  • How to Build Pages With WPBakery Page Builder in Kleo theme
  • Introduction to the child theme
  • How to Setup Facebook Login / Fix Facebook Login
  • Overriding a file with the child theme
  • Increase Site Performance using Kleo theme settings
  • Changing section icons in profiles and groups
  • Theme Options overview
  • Using ##profile_link## to build a dynamic BuddyPress profile menu
  • How To Add Google Custom Search Box To Replace WordPress Search in Header
  • How to Create a New Menu and Modify Demo Menu
  • Find Theme Purchase Code
  • Translate theme with Loco Translate
  • Multilingual setup using WPML plugin
  • How to translate Kleo theme with Polylang Plugin
  • Video Tutorials from the Community
  • How To Install and Setup GeoDirectory on Kleo Theme
  • Import and setup Get Connected demo page
  • How to Translate Theme and Plugins With Loco Translate
  • How to Setup BuddyPress Page Layout
  • How to Create a New Menu and Modify Demo Menu
  • How to change background for Get Connected Layout
  • How to change background for Kleo Home Register layout
  • How To Install and Setup GeoDirectory V1
  • Show profile fields in the members directory
  • Shortcodes for KLEO
  • Changelog
  • My site is slow. How to speed up my website?
  • How To Link Your WordPress Site With HubSpot
  • Dequeue and deregister the APP.JS theme file and load it from child theme.
  • Ajax Interval Refresh - Menu Notifications & Messages
  • How To Add Google Custom Search Box To Replace WordPress Search in Header
  • Custom Post Type - Add Theme Metaboxes and Theme settings Metaboxes
  • Right Hand DropDown Menu Cut Off
  • Modify default image sizes from category pages
  • Remove KLEO from Wordpress TinyMCE
  • Change KLEO Page Title for Archives and Other WordPress Pages
  • Use custom fontello font icons for in Kleo Theme
  • Reset Kleo Love/Likes
  • How to add a Populated Country List XPROFILE
  • Add Extra Membership Levels Fields
  • Show featured image full width before the content area
  • Make “Profile” tab Default Instead of “Activity” tab at User Profile
  • Add theme metaboxes and theme settings metaboxes CPT
  • Redirect "or Create an Account" Login Modal link to a Custom Register Page
  • Add a custom color preset for Theme options Styling sections
  • Show Kleo Love/Likes Only for logged in Users
  • UberMenu Integration
  • How to change logo url
  • Troubleshooting an issue
  • Error 404 - Page not found
  • Show profile fields in the members directory
  • Show profile fields in the profile header
  • Changing section icons in profiles and groups
BuddyBuilder is out. Total freedom to build online communities
SeventhQueen  - 2021 - Privacy Policy

Welcome to SeventhQueen Portal


Lost your password?

Don't have an account? Register now!

Forgot your details?



Wait, I remember now. Log In

Register your account

Sign up with Email
I have an account. Log In

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.