Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19265

    Recently Jetpack released an update that included a way to make galleries show up as titled layout. It’s brilliant really for anyone who works with lots of photos.

    However on one of my pages the layout isn’t going the full width of the content area: http://www.tophersimon.com/families/family-galleries/

    Looking at their support a couple comments said something like:

    It’s supposed to fill the entire width, but it defaults to 500px wide if the theme doesn’t define a content width, which it looks like yours doesn’t. You could try adding

    if ( ! isset( $content_width ) )

    $content_width = 610;

    to your theme’s functions.php.

    I’ve tried this but it doesn’t seem to make a difference.

    Any suggestions?

    #102976

    Hi tophersimon,

    I really can’t say for sure if that is the issue or not. There are about a half dozen photo gallery plugins/script running and any combination of them could be causing a conflict. Of those, there are 11 errors showing using Chrome dev tools for all the various gallery plugins and scripts.

    You could also try setting the entry-content width for full width pages manually by adding the following to your custom.css file (in the css folder of the theme files):

    #top .template-fullwidth .entry-content {
    width: 930px;
    }

    Regards,

    Devin

    #102977

    Thanks! That worked perfectly.

    #102978

    Great! Glad that worked for you. Looks like all of the errors were cleaned up as well :)

    Regards,

    Devin

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

The topic ‘Jetpack Tiled Gallery Content Width Problem’ is closed to new replies.