1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. How to Adjust the Padding Size of the Blog Post Image

How to Adjust the Padding Size of the Blog Post Image

Introduction

By default, BuddyBoss does not provide a built-in option to adjust the padding size of the blog post featured image. Using a simple CSS snippet, you can control the image spacing to better align with your blog layout and maintain visual consistency.

Custom Workaround

Follow the steps below to adjust the padding size of the blog post image:

  1. Go to BuddyBoss > Theme Options.
  2. Under Custom Codes, enable CSS.
  3. Append the following code:
.single .entry-img { 

    padding-top: 75%; 

}

You may adjust the percentage value to better match your image dimensions and achieve the desired appearance.

  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 image padding 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 padding value?

A: Yes. You can modify the padding-top percentage to suit your image aspect ratio and layout needs.

Q: Will this affect all blog posts?

A: Yes. This CSS applies to all single blog post pages.

Q: Does this work on mobile devices?

A: Yes. The padding applies across all screen sizes unless you add media queries 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.