Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1040243

    hello, how to make sure the backgroundpicture is alway covering the background.
    now i see on my site that, if the page is very long, the background pic stops displaying.
    i dont want it to repeat , as that quite ugly for the fold, but one way or another adapt the pic to the lenght an widht of the page, no matter how long this is?
    or is a just a matter of uploading a much bigger / higher pic for the background?

    #1040368

    Hey jelle,

    That is not possible unfortunately, if you set it to cover then it likely not look very nice but you can try it out if you like. Otherwise repeat is your only option.

    Best regards,
    Rikard

    #1040664

    oke, thanks
    But if youll have a look here:

    another problem: the body just stops, while the sidebalk i continuing. This is very ugly.
    how can i tell the body to continue as well?
    https://screenshots.firefox.com/PGbeGDo2aVGyoQGv/jeelsites.nl

    #1040872

    Hi yampieters,

    Best regards,
    Victoria

    #1041111

    Ok, Im not sure i understand what you are saying…
    but is it possible to make one way or another give the body always the same height as the sidebar?

    #1041230

    hm – maybe a little jQuery could help.
    We had to set the min-height of the wrap_all container to the header hight.

    Can you try this in child-theme functions.php :

    function set_wrap_all_height(){
    ?>
    <script type="text/javascript">
    (function($) {
            $(window).load(function() {
                var headerH = $('#header').outerHeight();
                  $('#wrap_all').css({
    			    "min-height": headerH, 
    			  });
            });     
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'set_wrap_all_height');

    but there is a little time-shift till it works – so maybe a DOM Method will be more effective.

    #1043767

    thanks Guenni,
    the proposed code didnt do much, unfortunately, so ive decided to adapt by hand the few pages that were suffering, just by giving the bottom layout-element some bottom padding.

    you can close this ticket now, thank you.

    #1043837

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘background pic’ is closed to new replies.