How to change size of rich text section

Topic summary

A user wants to reduce the size of a Rich Text section on a single Shopify page, creating a smaller border that fits tightly around the text content rather than spanning the full width.

Attempted Solutions:

  • Multiple community members requested the store URL to provide targeted help
  • One user provided CSS code targeting .custom-rich-text class to be added in the Custom CSS box at the bottom of the section
  • When initial code didn’t work, follow-up CSS was suggested targeting .rich-text__wrapper and .rich-text classes with !important declarations

Current Status:
The issue remains unresolved. None of the provided CSS solutions successfully modified the Rich Text section’s appearance. The original poster suspects it may be theme-related but has accepted the limitation for now. The discussion ended without identifying the root cause or finding a working solution.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi @Donna_BW

Can you share store URL?