Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1189948
    hipbluesofa
    Participant

    Hi all! I wanted to know if it was possible to tie an image to the TOP and BOTTOM of a section. I have an image that is alinged to the top of a section with no space or padding. At the bottom however there is a gap and it appears that the image is floating. Can I make the SECTION the size of the image so the bottom and top are touching the section top and bottom? See image.
    My staging site: http://atmosphair.com.routing.yourhost.co/
    Screenshot: https://gmkr.io/s/57e819cd573736c92e18340e/0

    As usual, thank you all!

    Anthony

    #1190048
    Rad
    Moderator

    Hi Anthony,

    Thanks for posting in.

    What device you’re testing it on? The screen size is small, but the screenshot is big (bigger that my screen). That gap is due to text on the right area. And attached is the screenshot I’m getting on my screen.

    Image can’t respond on width and height at the same time. If you try to fit the height, then the width will increase affecting the content on both sides. You may want to set your image as background.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1189948 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>