BuddyDev

Search

[Resolved] Which CSS code to apply in order to hide the bar in activity menu

Tagged: 

  • Participant
    Level: Master
    Posts: 497
    Daniel on #19261

    Hi,

    In the BP activity menu there is a bar with a dropdown menu on the right and on the left there is the RSS feed sign.

    I am trying to hide this bar with this code:

    .buddypress-wrap .subnav-filters {
    display: none;
    }

    but the problem is that the menu disappears everywhere when applying the code but I only want it to disappear on the activity menu.

    Could you please help me to find the CSS code in order that it applies the code only within the Activity menu?

    Thank you.

    Regards,
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19268

    Hi Daniel,
    It is secondary item list sub tabs.

    Since it has very generic css, I am posting a code which tries to be as much explicit as possible.

    
    body.directory.activity #subnav.item-list-tabs{
    	display:none;
    }
    

    Putting it in the css will do it.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #19274

    Hi Brajesh,

    Thank you for having a look at it but unfortunately, the code did not work.

    Nothing has changed when applying the CSS code and I still can see the bar with the RSS sign and the drop down menu on the right.

    Might there be any other code which I could try out?

    Thank you for your assistance.

    Regards,
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19275

    Hi Daniel,
    Are you using default theme or template pack?

    The code is tested with BuddyPress 4.1.

    Can you please point me to your site to get an idea what is missing(most probably it will be body classes).

    Thank you
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #19278
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 497
    Daniel on #19279
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19280

    Thank you Daniel.
    It was a custom theme using custom css ids. I have updated it on site and the sub nav from directory should be gone.

    I have only specifically done it for /activity page. If you want me to hide it on others, Please do let me know.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #19281
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #19284

    Thank you.
    Done. Please check.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 497
    Daniel on #19286

    Thank you Brajesh, it applies exactly how it should now.

    Best Regards,
    Daniel

The topic ‘ [Resolved] Which CSS code to apply in order to hide the bar in activity menu’ is closed to new replies.

This topic is: resolved