WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS issue - captions not being styled correctly - ? (7 posts)

  1. thescarletfire
    Member
    Posted 1 year ago #

    Hello,

    I am posting this here in hopes that some kind soul out there will help me with this little CSS issue. I can't seem to figure it out, though I've Googled and checked these forums here with no luck.

    Basically, my problem is that my blog posts are not formatting correctly, with respect to captions/images. For example, all my captions are appearing "correct" in the WordPress editor, but when I visit the page online, it's all messed up. The caption appears outside the image/border, and appears to be completely un "caption" in the CSS code. I checked in Chrome and I can't figure out why the caption text itself seems to be "outside" the image and not a wp.caption at all. You'll see what I mean if you take a look in a browser and check the code.

    I added the CSS caption code at the end of my CSS file (codex) but still, something is messing up.

    My goal is to have my caption be centered, under the image, and italicized. Can someone please take a look and see why it appears OK in the editor, but it looks way off after I upload it to the web.

    Please see attached for images and the CSS file.

    Thank you so much for the help everyone, I really appreciate it.

    Image 1:
    http://i.minus.com/iBA0LbZRW02Kd.jpg
    How it appears in the WordPress editor

    Image 2:
    http://i.minus.com/iAAwNujF2P8IX.jpg
    How it appears on the web

    My CSS file:
    http://i.minus.com/1347581999/7lStSJ-SMSINJeexyHiIZg/dhSMp898heH3F/CSS.txt

    My blog post:
    http://bit.ly/PcNQ0y

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    What theme are you using?.

  3. thescarletfire
    Member
    Posted 1 year ago #

    It's my friend's site, I'm helping him with it.

    I think the theme should be listed in the CSS file I uploaded - sorry if it's not.

    I believe he's using AutoFocus Pro.

    Are you able to help me solve this pesky CSS issue? :)

  4. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    I don't think it is a css issue.

    From the support site for AutoFocus Pro,
    https://getsatisfaction.com/fthrwght/topics/caption_for_images_not_working

  5. thescarletfire
    Member
    Posted 1 year ago #

    Oh. That's interesting, I've never encountered that before with a theme.

    Thank you!

  6. thescarletfire
    Member
    Posted 1 year ago #

    Got it working, thanks!!

  7. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic