Page displays Galleryvertically after removing 'div id="content"' from template
-
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!
- The topic ‘Page displays Galleryvertically after removing 'div id="content"' from template’ is closed to new replies.