1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. How to Align the Profile Search Sidebar with the Members Directory on Grid View

How to Align the Profile Search Sidebar with the Members Directory on Grid View

Introduction

By default, the platform does not provide an option to adjust the alignment of the Profile Search sidebar on the Members Directory grid view. Using a simple CSS snippet, you can align the sidebar to match the Members Directory layout for a cleaner and more cohesive design.

Custom Workaround

Follow the steps below to align the Profile Search sidebar:

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
/** MEMBERS PAGE SIDEBAR **/

@media (min-width: 991px) { 

    body.members aside#bp-profile-search-form-outer { 

        margin-top: 177px; 

    } 

}
  1. Click Save changes

This will adjust the top margin of the Profile Search sidebar so it aligns properly with the Members Directory grid.

Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://buddyboss.com/support-policy/

Troubleshooting and FAQs

Q: The sidebar is still not aligned. What should I do?

A: Clear your site cache and browser cache. If the issue persists, submit a ticket to the support team for assistance.

Q: Will this affect mobile devices?

A: No. This snippet targets screens wider than 991px (desktop view) and does not impact mobile layout.

Q: Can I adjust the top margin further?

A: Yes. Modify the margin-top value in the CSS to better match your layout requirements.

Q: Does this affect other pages with sidebars?

A: No. This CSS specifically targets the Members Directory page.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

To speak to our Agency consultant, fill in the form found at our Contact Page.