Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #252338

    Hi, I have updated the theme files and noticed that after the update, the caption of the images in the posts look really strange. It seems there are two overlapping layers. I had this problem before when I put the caption information in dashboard -> media. The images I use in the featured media does not have any caption information or description information in the wordpress media,

    if I enter this info (caption or description) in the image media instead of entering from “the add featured media”, I have the same problem now I am having when I update the theme files. I checked the images and the caption information is entered via the add featured media, not via the wordpress media. So I don’t understand why I have this overlapping layers.

    #252877

    Hey Oscar!

    As per 3.9 wp update the way captions works, has been modified slightly here is the article http://make.wordpress.org/core/2014/04/15/html5-galleries-captions-in-wordpress-3-9/

    To declare that your theme supports these new HTML5 features, add the following call to your theme’s functions.php file, preferably in a callback to the after_setup_theme action:

    
    add_theme_support( 'html5', array( 'gallery', 'caption' ) );
    

    Best regards,
    David

    #253232

    Hi, I tried this but it doesn’t work. I still have multiple layers.

    #253415

    Hey!

    Thank you for the update.

    We would like to see the actual website, please post the actual page with the gallery here. We will provide you with a response tailored to your needs once we have taken a look at the gallery.

    Regards,
    Ismael

    #256852

    Hi Ismael, here is my test page, I simply updated the shoutbox theme files with the new ones, I am using child theme. If I copy the old shoutbox files back again the problem disappears. http://ozgurpolat.com/climate-change-in-the-middle-east-and-north-africa-part-i-scientific-background/

    • This reply was modified 5 months, 3 weeks ago by  oz.
    #258673

    Hey!

    Try adding this code to the Quick CSS:

    span.slideshow_caption:last-child {
        opacity: 0 !important;
    }

    Cheers! 
    Josue

    #259686

    Thanks Josue,

    That did the trick. But if it is any help, the problem is caused by the ALT field in the image, I deleted everything else such as caption, description fields but I wanted include the ALT field for SEO reasons. In the past I had the same problem if I put any info into description or caption fields (in the media library). However having ALT information never caused a problem. With the new version, you get this problem if you fill ALT field as well. So basically if I delete the ALT field information from the image in the media library the problem disappears but your solution is more elegant, because I would like to keep the ALT field in my images.

    Regards

    Ozgur

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Featured Media Caption problem after last update’ is closed to new replies.