Forums

Gallery styles broken after 3.1.2 upgrade (6 posts)

  1. doycaveiii
    Member
    Posted 12 months ago #

    I've been searching for a fix for this for an hour, and apparently haven't landed on the right search term.

    However, on the site http://www.estespr.com/portfolio/ the native gallery styles (simple floats, etc.) broke when they upgraded to 3.1.2 Now all the gallery photos (wordpress' native gallery settings) are showing a hard return between each photo.

    Are there any fixes for this?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    You don't appear to have the appropriate CSS in your theme's stylesheet.

  3. doycaveiii
    Member
    Posted 12 months ago #

    These are wp-generated styles...and worked before. I never had to style a gallery...same with captions.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 12 months ago #

    It looks like your theme strips out the in-document CSS. So you either need to remove that function from your theme's functions.php file or add the CSS back into the theme's stylesheet.

  5. doycaveiii
    Member
    Posted 12 months ago #

    This is all that's in my functions file. What is stripping it out?

    [Code moderated as per the Forum Rules. Please use the pastebin]

  6. doycaveiii
    Member
    Posted 12 months ago #

    And why was it working before 3.1.2 upgrade?

Reply

You must log in to post.

About this Topic