1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. How to Adjust Yoast SEO Breadcrumbs Width

How to Adjust Yoast SEO Breadcrumbs Width

Introduction

By default, BuddyBoss does not provide a built-in option to adjust the width of Yoast SEO breadcrumbs. If you want the breadcrumbs to better align with the BuddyBoss layout, you can achieve this by applying a custom CSS snippet to control their maximum width.

Custom Workaround

Follow the steps below to adjust the width of Yoast SEO breadcrumbs:

  1. Go to BuddyBoss > Theme Options.
  2. Under Custom Codes, enable CSS.
  3. Append the following code:
.bb-yoast-breadcrumbs { 

    max-width: 1800px; 

}
  1. Save changes.

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 breadcrumb width did not change after adding the CSS. 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: Can I use a different width value?

A: Yes. You can adjust the max-width value to match your site’s layout or container width.

Q: Will this affect other elements on my site?

A: No. This CSS targets only the Yoast SEO breadcrumbs container.

Q: Does this apply to mobile devices as well?

A: Yes. The rule applies to all screen sizes unless you add a media query to target specific devices.

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.