Viewing 6 replies - 1 through 6 (of 6 total)
  • – Open Editor
    – select:
    Gallery Template template di pagina
    (gallery-template.php)
    – insert style=”float:left” in div container:
    <div id=”container” style=”float:left”>

    Sharon Spain

    (@sharon-spain)

    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

    lucianocutone

    (@lucianocutone)

    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.

    Sharon Spain

    (@sharon-spain)

    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.

    lobong

    (@lobong)

    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.

    lobong

    (@lobong)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue with sidebar’ is closed to new replies.