This topic has 1 reply, 2 voices, and was last updated 9 years by Catalin.

  • Author

    Tagged: ,

  • #22959
     JoshJack
    Participant

    I would like to remove the “Forums” icon from profile and group pages. How can I go about doing this?

    #23521
     Catalin
    Moderator

    Hello,

    For disableing the icon from profile, add this code in functions.php file from your child theme folder:

    COPY CODE
    
    
    	
    // Remove forums menu item
    function my_setup_nav() {
          global $bp;
     
          unset($bp->bp_nav['forums']);
    }
     
    add_action( 'bp_setup_nav', 'my_setup_nav', 1000 );
    
    

    for hiding it in groups, add this to your style.css file from your theme folder:

    COPY CODE
    
    
    li.nav-forum-groups-li
    {
       display:none;
    }
    
    

    Let me know if this helps.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?