Caption text randomly changed to same size as content text and isn't centering.
-
Hey everyone,
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!
PuckCowboy
Mod
How are you adding those captions? They are not showing up as regular WordPress image captions.
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.
Here are some samples from my site…
Caption Text Posting Correctly: Hunger Games Review
Caption Text Posting Incorrectly: Host Review
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">
<a href="http://geekoutlaw.com/wp-content/uploads/2012/03/Hunger-Hayden-2.jpg">
<p class="wp-caption-text">Taking aim at my first 'in theater' review.</p>
</div>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;">
<dt class="wp-caption-dt">
<a href="http://geekoutlaw.com/wp-content/uploads/2013/04/Dumbledore-Meyer.png">
</dt>
<dd class="wp-caption-dd">It’s hard to disagree with Dumbledore, but that’s why I’m an Outlaw.</dd>
</dl>
</div>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
Akismet
All in One SEO Pack
Embedded Video
Facebook Like Box
Facebook Like Thumbnail
Facebook Open Graph Meta
Facebook Subscriber Widget
googleCards
Growmap Anti Spambot Plugin
HTML Emails
Jetpack by WordPress.com
mb.miniAudioPlayer
Revision Control
Share and Follow
Subscribe2
Super Simple Google Analytics
Use Google Libraries
Viper’s Video Quicktags
WP Better Emails
WP Super Cache
yolink Search for WordPress
YouTube Subscribe widget
Mod
Quote: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:
http://blog.kjodle.net/2012/06/15/disable-your-wordpress-plugins/
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.
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.