• Resolved marketspot

    (@marketspot)


    The header background image is now displaying only partially. the image I am using is meets the recommended dimensions at 1920×1236.

    Strangely, this was working perfectly fine just minutes ago (with no changes made). And even stranger – it is working perfectly fine when viewing in a mobile.

    I did notice that if I edit the Call to Active to “show” (which it isn’t now) that more of the image shows.

    I am using this on a home page/landing page – with a full sized image and site title and tag line showing

    Appreciate any help. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter marketspot

    (@marketspot)

    I just checked the site various screen resolutions and the problem is with the larger screens. Anything over 1024×768 the images’ height is smaller and smaller, with more padding around the width on larger screens.

    Theme Author Carolina Nymark

    (@poena)

    Hi!
    A new version of the theme went live yesterday so perhaps you updated the theme?
    A lot of users had problems fitting their image, so the header image height was changed to fit the height of the content.

    In the header background option in the customizer you should find image sizing and positioning, such as “cover”, “contain”, center top, center bottom and so on.

    If that doesn’t help you achieve what you want, you can try the javascript that I used in version 1.9 of Aaron.
    This is untested with version 2.1

    //Set the header (hero unit) to full height
    jQuery(document).ready(function($){
    	var winHeight = $(window).height();
    	// set initial div height
    	$('.site-header').css({
    		'min-height': winHeight,
    	});
    
    	// make sure div stays full height on resize
    	$(window).resize(function(){
    	    $('.site-header').css({
    	    'min-height': winHeight,
    	});
    	});
    });
    Thread Starter marketspot

    (@marketspot)

    Thanks Carolina. I did try image sizing & positioning using customizer but that didn’t work. The height of the image changed very little. The only thing I could do, to give the image a bit more height (instead of cutting off almost 2/3s of the image) – I even tested it using the default image – was to include the “call for action” button (even though I really didn’t want to use it. This added more height.

    I’d like to try your javascript solution but my knowledge of javascript is limited. Can you give me an idea of where/how I would put that into place.

    Thanks so much
    Jackie

    Theme Author Carolina Nymark

    (@poena)

    Ah, yes, you can put it at the bottom of either navigation.js
    or skip-link-focus-fix.js. Both files are in the js folder.

    Thread Starter marketspot

    (@marketspot)

    Thanks so much Carolina!! That did it!

    Thread Starter marketspot

    (@marketspot)

    Resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Partial Header image’ is closed to new replies.