Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1266802
    Goliath Apps
    Participant

    Hey Support,

    What are the dimensions to get the cover image to display correctly on mobile? As you can see from the attachment, the image goes off the screen. Thanks

    #1266806
    Paul R
    Moderator

    Hi,

    Kindly provide us your site url and re-upload your image so we can understand what you are trying to achieve.

    Thanks

    #1267270
    Goliath Apps
    Participant
    #1267272
    Goliath Apps
    Participant
    #1267641
    Friech
    Moderator

    Hi There,

    Thank you for the link, at first I thought you’re referring to a feature images. But you don’t have a featured images would you mind to clarify what cover photo you’re referring to? Screenshot would be much appreciated.

    Good day.

    #1273347
    Goliath Apps
    Participant

    Hey Friech,

    Sorry about not clarifying, the cover image used when uploading a video background goes off mobile screens as seen from the screenshot attached. How can I make the black logo image mobile responsive or keep it from going off to the sides. Hope I was able to clarify. Thx

    #1273349
    Goliath Apps
    Participant

    Sorry my attachment was too big but I resized it.

    #1273446
    Jade
    Moderator

    Hi there,

    Please try to add this code in the customizer:

    @media (max-width: 480px) {
        .tp-bgimg.defaultimg {
            background-size: contain !important;
        }
    
        .x-slider-container .rev_slider_wrapper,
        .fullwidthbanner-container .fullwidthabanner {
            height: 300px !important;
        }
    
    }

    Hope this helps.

    #1273804
    Goliath Apps
    Participant

    Hey Jade thanks for the suggestion. I went ahead and inserted the code but now the image does not fill up the container as seen from the attached screenshot.

    #1274197
    Lely
    Moderator

    Hi There,

    In that case, please update above CSS to this:

    @media (max-width: 480px) {
        .tp-bgimg.defaultimg {
            background-size: contain !important;
            background-image: url(http://www.sanantoniolegacybasketball.com/wp-content/uploads/2016/11/Black-legacy-logo-OPTIMIZED.jpg) !important;
        }
    
        .x-slider-container .rev_slider_wrapper,
        .fullwidthbanner-container .fullwidthabanner {
            height: 300px !important;
        }
    
    }

    Your background image is horizontal and we need a vertical type of image on mobile view. That CSS will override it. Just replace the URL of the image with a vertical one that you think will fit for mobile view.

    Hope this helps.

    #1275593
    Goliath Apps
    Participant

    K thanks X-Staff!

    #1275596
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

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