Support » Plugins and Hacks » Gallery by BestWebSoft » [Resolved] Gallery to fill page

[Resolved] Gallery to fill page

  • Hi

    I have removed the sidebar to match the style of my site but the gallery still only displays 3 images across the page instead of filling the whole page. I have set the Count Images in Row to 5 as there is enough room to display 5 but it is still only showing 3 columns across.

    Is there a way of filling the full width

    Thank you


Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael


    Forum Moderator

    a link to your site would help, as this might be a css issue;

    what changes have you made (to style.css) to stretch the content area of that page to full width?

    Link to gallery page is


    This is what I have added to the custom css

    #content .gallery_box
    width: 100%

    #content .gallery_box_single
    width: 100%

    #content .gallery_box li{
    padding: 10px 10px 0 0;

    float:left; clear: none !important; list-style: none;



    Forum Moderator

    generally, you will need to extend the #content div of the specific page, not what is within it.

    however, as you are using a commercial theme, please contact the theme’s seller themeforest for support; this is part of what you pay for when you buy a theme.

    commercial themes are not supported by this forum.

    Thanks for your help, I found

    <div role=”main” id=”content”>

    in both the gallery template files and changed it to

    <div role=”main” id=”content” style=”<?php echo $content_css; ?>width:100%;”>

    and problem now sorted.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Gallery to fill page’ is closed to new replies.
Skip to toolbar