Gallery by BestWebSoft
[resolved] Gallery to fill page (5 posts)

  1. themort
    Posted 2 years ago #


    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


  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    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?

  3. themort
    Posted 2 years ago #

    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;

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    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.

  5. themort
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gallery by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic