Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #164482
    tagadose
    Participant

    New install of Catch themes. Tried both audioman and fullscreen Free, but same result. The background image appears well on desktop, but on other devices it is showing zoomed in. Tried different settings like “Default”, “Fit to Screen”, “Full Screen”, etc with and without Scroll with Page option, but no help. Do I need additional ccs script to fix this?

    Website: http://www.justinmagnaye.com

    I appreciate the help. Thank you.

    #164528
    Skandha
    Participant

    @tagadose: This is due to the object-fit:cover css code.
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    @media screen and (max-width:767px) {
    	.has-header-image .custom-header-media .wp-custom-header img, .has-header-video .custom-header-media .wp-custom-header video, .has-header-video .custom-header-media .wp-custom-header iframe {
    		object-fit:fill !important;
    	}	
    }

    Let me know if this is what you want!
    Kind Regards,
    Skandha

    #164838
    tagadose
    Participant

    Thank you, but the height did not adjust accordingly.

    #164862
    Skandha
    Participant

    @tagadose: For that
    Go to => Appearance => Customize => Additional CSS and add the following Code.

    .custom-header {
         height:100vh;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #164930
    tagadose
    Participant

    did not make any change, as if additional css did not contain any script.

    #164943
    Skandha
    Participant

    @tagadose: Use the following code instead of the previous one I provided you.

    .custom-header {
         height:100vh !important;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #164947
    tagadose
    Participant

    i still need the @media script, right? i changed the height to 55vh and the background image is still stretched (not properly resized according to screen).

    #165076
    Skandha
    Participant

    @tagadose: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    @media screen and (min-width:480px) {
    	.custom-header {
     	    height:55vh;
    	}
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #165174
    tagadose
    Participant

    thanks, but i just took out all the css as nothing seems to work.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Background Not Fitting Well’ is closed to new replies.