WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. themort
    Member
    Posted 1 year ago #

    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/

  2. alchymyth
    Forum Moderator
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  4. alchymyth
    Forum Moderator
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic