Caption text randomly changed to same size as content text and isn't centering.
I’m a first time poster to this board.
Quick question. I’ve been using Graphene successfully for over a year now, but about a month or so ago I noticed that my caption text under pictures is now posting in the same size as the main content on the page, and is left-aligned now and no longer centered. I’ve been searching all over for what changed or might be causing this to no avail.
Has anyone on here had a similar experience, or know how I could fix it back. It looks awful and if I cant fix it I need to try a different theme.
Any and all help is truly appreciated!
Thank you in advance!
I’m adding them after I add the pictures to the main content. I hit the little icon in the upper-left corner of he picture and then it gives me options to changes the size of picture, the caption, general text, label, etc. It’s how I’ve been adding them from the very beginning. It’s just all of the sudden for the past month or so, they don’t get displayed properly when publishing.Mod
It looks like something to do with how you are adding the image.
The first, correct, one is being added as this:
<div id="attachment_655" class="wp-caption aligncenter" style="width: 575px">
<p class="wp-caption-text">Taking aim at my first 'in theater' review.</p>
This is the way WordPress adds captions: as a paragraph.
And the second, incorrect, one is being added as this:
<div class="mceTemp mceIEcenter" draggable="">
<dl id="attachment_3955" class="wp-caption aligncenter" style="width: 367px;">
<dd class="wp-caption-dd">Itâ€™s hard to disagree with Dumbledore, but thatâ€™s why Iâ€™m an Outlaw.</dd>
Your wrong captions have the entire photograph being added as a definition list. (Semantically, that’s really bad.) It’s possibly a plugin that is adding that styling. It is definitely not a theme issue.
Weird. As an additional note, I did notice around the time I upgraded WordPress and the Graphene theme itself to their latest updates and as a result , the way to upload and view pictures changed significantly. At first I thought it had to do something with that.
I’m copying my list of Plugin’s below, however I hadn’t added any new plugins when the captions stopped working, so not sure what would have changed in any of them that effected captions. I was updating current plugins to their new version though. Anything in this list that I should double check?
Add Link to Facebook
All in One SEO Pack
Facebook Like Box
Facebook Like Thumbnail
Facebook Open Graph Meta
Facebook Subscriber Widget
Growmap Anti Spambot Plugin
Jetpack by WordPress.com
Share and Follow
Super Simple Google Analytics
Use Google Libraries
Viper’s Video Quicktags
WP Better Emails
WP Super Cache
yolink Search for WordPress
YouTube Subscribe widgetModQuote:I was updating current plugins to their new version though.
Most people like to go through and update everything more or less at once. But this is a bad way to do things. (Yes, this is the voice of experience.) If something goes wrong, and it eventually will, it will be very difficult to track down.Quote:I did notice around the time I upgraded WordPress and the Graphene theme itself to their latest updates and as a result , the way to upload and view pictures changed significantly. At first I thought it had to do something with that.
They did, but I have made several posts since then and not experienced this problem.
I am not familiar with most of your plugins. That All in One SEO pack has been dodgy for some people. When did you install it or upgrade it?
Then again, it can always be a combination of two widgets that don’t get along nicely that cause an issue.
The only sure way is the hard way: disable widgets and try to nail one down. Here’s a tutorial:
In the short term, you could try adding a style rule for
dd.wp-caption-dd, but in the long run, it’s better to figure out where this wonky code is coming from.
- You must be logged in to reply to this topic.