rosefox: A severed head saying "Thanks.. I needed that". (relief)
Asher Rose Fox ([personal profile] rosefox) wrote in [community profile] style_system2020-05-12 02:19 am

Overriding hard-coded image caption widths in WordPress feeds

This is extremely obscure, but in case it's been bugging anyone else who uses their reading page to read RSS feeds of WordPress blogs and occasionally suddenly has a page that's 10 million miles wide:

Add this to the CSS definitions section of your custom style.

.wp-caption {
max-width: 600px !important;
}


Problem solved.
bemused_writer: Delighted woman (Amir)

[personal profile] bemused_writer 2020-05-12 09:00 am (UTC)(link)
Thanks for adding this! I hadn't been following any WordPress feeds previously, but this reminded me I could and it's even nicer to preemptively avoid a problem as well!
tei: Rabbit from the Garden of Earthly Delights (Default)

[personal profile] tei 2020-05-12 02:28 pm (UTC)(link)
OH, thank you!!!!

(Now I just need a way to fix the formatting of tumblr posts that come in through RSS feeds. But tumblr posts don't even look readable on tumblr, so that's probably a lost cause.)
baggyeyes: Bugs Bunny and the Bull (Default)

[personal profile] baggyeyes 2020-05-25 04:07 pm (UTC)(link)
Thank you so much for this. I’m not familiar with WP, and this makes my feed page less wonky.