BuddyDev

Search

[Resolved] Remove Profile Tabs Dropdown Menu

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39511

    I would like to remove the 3-dot icon and dropdown menu next to the profile buttons. I would like all of the buttons to show, instead of being hidden in the dropdown menu. Anyone know how to do this?

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39512

    O, I think I posted this in the wrong Forum. Going to post in the theme forum.

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39513

    Looks like I can’t post anymore to Theme Forum. Anyway, if someone can help me with this, that would be great.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #39517

    Hi Lisa,
    Thank you for the question.

    1. I have moved the topic. You can edit your replies on this forum but not the first post(topic). That’s a limitation.

    2. We will need a week to update the theme. At the moment, this is enabled via javascript and we will need to provide a hook to avoid running that code.

    I will post back after the update.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39521

    O thank you!

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39620

    Have you been able to update the theme with the dropdsown removed?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #39621

    Hi Lisa,
    I am soryr, I had to re-look at it. There is no update needed for this.

    Please put this code in the child theme’s functions.php

    
    
    /**
     * Disable greedy nav for user profiles in Community Builder
     */
    add_filter( 'cb_bp_single_item_tabs_classes', function ( $classes ) {
    
    	$classes[] = 'no-greedy-nav';
    
    	return $classes;
    } );
    

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39651

    Ok, so this sort of works. I still have that dropdown that says EVERYTHING. How do I change the dropdown label from EVERYTHING to MORE?

  • Participant
    Level: Enlightened
    Posts: 65
    Lisa Lagrou on #39652

    I also still have the “greedy nav” in the Members and Groups pages. I want all of the options visible as buttons, and to get rid of the three dots there as well. I want the three dots to disappear completely from the site on all pages.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #39654

    Hi Lisa,
    Do you want it to be removed from the top main menu too?(I am not sure if you have it). I will post the code after your reply.

    Regards
    Brajesh

The topic ‘ [Resolved] Remove Profile Tabs Dropdown Menu’ is closed to new replies.

This topic is: resolved