• Resolved atelier_tsukee

    (@atelier_tsukee)


    Hi !

    Gallery columns are break with the last update of wp-forge.

    (sorry for my bad english, i don’t know how to explain it ..)

    I get a 4 columns wp gallery on a wp page. And when I update to 5.5.1.8, my gallery was display as a 1 columns gallery.

    .gallery-columns-4 <figure>

    has not the

    #gallery-1 .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 25%;
    }

    properties.

    so <figure> is like a {display:block; width:90%} row on my page.

    I fix it by get back 5.5.1.7

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author ThemeAWESOME

    (@tsquez)

    Hi again,

    I’ve had someone else tell me the same thing. However, I didn’t touch anything regarding the galleries. I never do. I am looking into the issue and as soon as I find out what happened I will let everyone know.

    Again thank you for the heads up.

    Theme Author ThemeAWESOME

    (@tsquez)

    HA! I actually found the culprit! In 5.5.1.8 I added html 5 support for gallery and caption.

    So if you look at 5.5.1.7 you will see this:

    add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );

    However in 5.5.1.8 you see this:

    add_theme_support( 'html5', array(
    		'comment-list', 'comment-form', 'search-form', 'gallery', 'caption', 'widgets' ));

    I am going to remove gallery and caption from the html 5 support. So if you want to go back up to 5.5.1.8 you can do so by just going back to this

    add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );

    Hope this helps.

    Thread Starter atelier_tsukee

    (@atelier_tsukee)

    I had seen it in your changelog file, but I did not think to look at the function.php file.
    I will go back to the futur !!

    thank you

    Theme Author ThemeAWESOME

    (@tsquez)

    You are welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML5 wp gallery (5.5.1.8)’ is closed to new replies.