Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1225836
    Nick M
    Participant

    Hello,

    I am having trouble placing a background image and there is spacing below and above the image.

    It’s the background image that says TESTING AND RACK BUILDING CENTER. I cannot figure out why the gaps are on the top bottom of the image. I have tried everything to solve. Any tips would be helpful.

    Thanks

    #1225843
    Nick M
    Participant
    This reply has been marked as private.
    #1226242
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Currently that background-image size is set as contain. You need to set that as cover.

    You can add this under Custom > CSS in the Customizer.

    .page-id-9011 #x-content-band-5 .upb_row_bg.vcpb-default {
    	background-size: cover !important;
    }

    You can read this post: https://community.theme.co/forums/topic/section-background-image-2/#post-691126 on how background-size works.

    Hope it helps, Cheers!

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