WordPress.org

Ready to get started?Download WordPress

Forums

Gallery
[resolved] Issue with sidebar (7 posts)

  1. jonprice
    Member
    Posted 1 year ago #

    Hi there,

    I'm having an issue when I post using the shortcode for the brief gallery display. Once you click on the "see photos" link, my sidebar is being pushed underneath the photos. You can see what I mean here:

    http://designconquistadors.com/gallery/past-event-1/

    Any thoughts?

    Thanks!

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

  2. lucianocutone
    Member
    Posted 1 year ago #

    - Open Editor
    - select:
    Gallery Template template di pagina
    (gallery-template.php)
    - insert style="float:left" in div container:
    <div id="container" style="float:left">

  3. Sharon Spain
    Member
    Posted 1 year ago #

    Hi

    Its not working for me - this is my problem;

    http://1063340034.test.prositehosting.co.uk/gallery/wsm_open-day-2012/

    How can I get the sidebar to go back up to the right of the gallery.

    Thanks

    Ps I am using 3.5.1 - 2012 child theme

  4. lucianocutone
    Member
    Posted 1 year ago #

    hi,
    this is my content: <div id="container" style="float:left">
    in gallery-template.php.
    this is your content: <div id="container"> at line 128 in souce view. Insert style="float:left" in gallery-template.php and save.

  5. Sharon Spain
    Member
    Posted 1 year ago #

    Thank you - I have put your suggestion in both templates, ie single gallery and the other gallery page - and it is now working. It only worked for me when I put it in the single gallery page also.

    Thank you very much anyway.

  6. lobong
    Member
    Posted 11 months ago #

    adding this float would actually made the container very narrow, resulting long title to become two liner and images lined up in single column vertically. Not much aesthetic anymore.

  7. lobong
    Member
    Posted 11 months ago #

    Here's how to fix:

    Call the side bar before the container for gallery. Search for <?php get_sidebar(); ?> in the gallery template or single php files, and move it between <?php get_header(); ?> and <div id="container">

    Next set overflow properties to the container <div id="container" style="overflow: hidden;">

    This should solve the issue. So far no other side effects yet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.