Support » Plugin: Gallery by BestWebSoft » Gallery to fill page

  • Resolved themort

    (@themort)


    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

    http://wordpress.org/extend/plugins/gallery-plugin/

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

    (@alchymyth)

    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

    http://www.f11cricket.co.uk/wordpress/ecb-tour-gallery/county-show-dorchester/

    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;
    }

    Michael

    (@alchymyth)

    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 ‘Gallery to fill page’ is closed to new replies.