Twenty-Ten theme changes (Gray box behind captioned images)
-
I’m using the free version of the Twenty-Ten theme and today a gray box appeared behind all of my images with captions. It wasn’t there before today so I was wondering what was going on. Is there any way to remove it?
Blog url: http://ocarinaoftimenerd.wordpress.com/The blog I need help with is: (visible only to logged in users)
-
You can change it by editing the photo to remove the border. See here
http://en.support.wordpress.com/images/image-settings/#within-postsUnder “Image Properties” enter the number 0 under “Border” and hit the update button.
Captioned images generally display differently than images without captions. They usually have a border or frame around them.
-
hmmm I tried entering “0” but it still didn’t work.
I’m wondering if they’re having a system error or something like that… -
@Jen: It’s not a border, it’s a background. And it’s the bg to the div that encloses image plus caption, which doesn’t show up in the editor (since the editor displays a shortcode); so you cannot modify the styling of that div except if you write substitute code in place of the whole shortcode or if you have the Custom Design upgrade.
@ocarinaoftimenerd: I had copied the CSS of all earlier themes long ago, so I can assure you that there has been no recent change (or “system error”): captioned images in 2010 have always had this grey frame around them.
-
-
My best guess is that you’re perhaps looking with a different computer and the screen’s gamma settings are different. The grey background is really light and I had to look twice to see it on mine. :)
-
Or you had a browser issue, or you changed a browser preference (for example, I won’t see the grey frame in Firefox if I check “Use system colors” instead of “Allow pages to choose their own colors”).
-
Thank you both for your help! :)
Wish there was a fix without purchasing the upgrade, but oh well. -
You’re welcome.
In my first reply I wrote that you can’t modify the styling “except if you write substitute code in place of the whole shortcode or if you have the Custom Design upgrade”. You can change it without the upgrade, but it’s a bit complicated. -
Ah right.
Is there a place I could find that would show me how to do that or do you know? If not it’s ok. I’m just curious haha -
See two posts of mine for two alternative approaches:
http://wpbtips.wordpress.com/2011/08/01/changing-formatting-of-captions/
http://wpbtips.wordpress.com/2011/11/29/image-captions-no-dash-twenty-eleven/If the only thing you want to change is get rid of the grey frame, then once you replace the shortcode with the actual code, you’ll turn this:
<div ETC ETC ETC
to this:
<div style="background:transparent;" ETC ETC ETC -
-
The obvious disadvantage when you don’t have the upgrade is that you have to do this on an image by image basis (while the upgrade allows you to change things once for all).
- The topic ‘Twenty-Ten theme changes (Gray box behind captioned images)’ is closed to new replies.