Webflow sync, pageviews & more.
NEW

Can I change the default width of images in my blog on Webflow to be full-width instead of half-width?

TL;DR
  • Add a custom class (e.g., "blog-content") to the Rich Text element in your blog template.
  • Style all images within that class to have 100% width, no max width, and centered with block display and auto margins.

You can absolutely change the default width of images in your blog to be full-width in Webflow, especially if your blog is using a CMS Rich Text field. Here's how to do it effectively.

1. Target Rich Text Images with a Custom Style

  • Webflow CMS blog posts commonly use the Rich Text element to display article content.
  • To style default images inside Rich Text blocks, you’ll need to apply custom CSS to images that appear within the Rich Text.

2. Add a Custom Class to the Rich Text Element

  • Select your Rich Text element in the blog post template page.
  • Add a class (e.g., “blog-content”) so you can specifically target it in styling.
  • Now all formatting you apply can be scoped using this class.

3. Style Images Inside the Rich Text

  • With the “blog-content” class selected, click into Selector field and choose:
  • All Images inside .blog-content
  • Set the Width to 100% and Max Width to none if needed.
  • Set Display: Block and add Margin: Auto (left & right) if you want centered full-width images.

4. Optional: Remove Extra Default Styling

  • Webflow sometimes applies default margins or max-widths on Rich Text images.
  • Double-check that no unwanted padding or max width restrictions are applied to images through global styles or by Webflow’s default settings.

5. Update the Editor Workflow (if needed)

  • If Editors are uploading images smaller than full-width, you'll need to instruct them to upload at large enough dimensions (e.g., at least 1200px wide).

Summary

To make blog images full-width by default in Webflow, add a class to the Rich Text element, then style images inside that class to be 100% width. This ensures every embedded image expands to match the full content width of the blog without manual styling per post.

Rate this answer

Other Webflow Questions