• My link to page with the issue

    I am placing a basic WP gallery [gallery] in a custom page using a custom template. I only customized the template by removing <?php get_sidebar(); ?> as I would like my gallery thumbnails to stretch 5 across the page (5 columns). It looks like it would fit but even though though I’m not calling for the sidebar, that sidebar area is not accessible. I can only stretch out 3 thumbnails across.

    So I tried removing this portion: ‘div id=”content”‘ from this tag <div id=”content” role=”main”> in the custom template. Text will now span across the full page, BUT the gallery sends the thumbnails straight down in one column, down the left side. What the?

    I guess this is a two part question. How can I utilize the full width of a page (with no sidebar) for Text and a Gallery so they both flow across the page’s full width?

    *One note, using this same customized template, I can post individual images side by side (with a space in between) across the page (5 columns) without a problem.

    Thanks for any feedback!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tim.powell

    (@timpowell)

    Viewing this post on how to change the div id=”content” tag in the custom template to point to a different css entry such as “single-attachment”, that takes care of maximizing the full page width for text but my Gallery thumbnails still display down the left side in one column.

    Arg!

    Thread Starter tim.powell

    (@timpowell)

    One more test result.

    changing this:

    #content {
    margin: 0 240px 0 20px;
    }

    to this:

    #content {
    margin: 0 0px 0 20px;
    }

    Lengthened out the use of the full page without the sidebar. My Gallery issue is now this: Link

    The columns of gallery thumbnails and they are centered. I have the gallery setup for 5 columns though.

    Any ideas? Thanks..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page displays Galleryvertically after removing 'div id="content"' from template’ is closed to new replies.