Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi StalkerB
    I opened your site on the MacBook Pro and the pix goes full size. No prob.
    Try to clear the cache of your browser.
    Turn off any Cache plugin if you have one.
    Hope this will be helpful
    Let me know
    Cheers
    TR

    Thread Starter StalkerB

    (@stalkerb)

    Hi tahoerock, thanks.

    Can I ask how big your screen is?

    I took a look on MacBook Pro 13″ at first.
    Upon your responce, I took a look on my 24″ desktop and seen what you mean.
    There was a space on the left.-

    Here is a solution:

    put this code to your child theme style.css file

    or

    install plugin Simple Custom css and put the code there

    img.ad-slider-image {
        width: 100%;
    }
    
    OR
    
    img.ad-slider-image {
        width: 100%!important;
    }

    Hope this will be helpful
    cheers
    TR

    Thread Starter StalkerB

    (@stalkerb)

    Seems to have worked, thanks.

    Not happy with the way it scales the header image but that’s another problem ??

    Hi Stalker,
    Im glad it worked out.
    Feel free to ask in the future.
    Cheers
    TR

    Tanay

    (@tanaykhandelwal-1)

    Hello there,

    You can do so by removing the width and height parameters in “avis-lite/includes/front-bgimage-section.php” on line 5.

    <img alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" class="ad-slider-image"  src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" />"

    Should be changed to

    <img alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" class="ad-slider-image"  src="<?php header_image(); ?>" />

    Add below CSS so that the image gets aligned center on large screens

    .avis-front-bgimg {
        text-align: center;
    }

    It is recommended to use Child_Theme for customization.

    Regards,
    Tanay Khandelwal

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