• Resolved RIDCoacalco

    (@ridcoacalco)


    Hi, I’ve got a problem with the Advertica theme.
    The thing is that the header image isn’t wide enough. When I’m in a small screen computer, there’s no problem, but when I’m using my desktop which has a 1080*1920p resolution, the header looks smaller, unless I reduce the size of the window.
    It doesn’t matter the resolution of the image, I’ve already uploaded a bigger one but it remains the same size.
    This is my website: livingstone.ml
    What should I do?
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tanay

    (@tanaykhandelwal-1)

    Hello RIDCoacalco,
    To make the header image wide enough, you need to remove the width parameter of image i.e.

    width="1585"

    in ../advertica-lite/includes/front-header-image-section.php

    Also add the below code in custom css which will keep the image centered on larger screens.

    .front-header-image {
        text-align: center;
    }

    Best,
    Tanay Khandelwal

    Thread Starter RIDCoacalco

    (@ridcoacalco)

    Thank you, I instead of removing the width parameter just changed it into a bigger resolution and added the code you gave me. It’s working perfectly

    Hi Tanay,

    I′ve had the same problem with header image size.
    I could add the code you′ve mentioned in custom css to keep the image centered and it works great. Thanks for help.

    Unfortunately I am not able to follow your instructions to remove (or to move the width bigger, as RIDCoacalco said).. Please note, that I have only a very little knowledge of programming …
    When I open the file “/advertica-lite/includes/front-header-image-section.php” (via filezilla) I can find the following code but I do not know what I have to change in it, cause I cannot see any info concerning the width there …

    <?php if( get_header_image() ) { ?>
    <!– header image –>
    <div class=”front-header-image”>
    <div class=”advertica-image-post”>
    <img alt=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” class=”ad-slider-image” src=”<?php header_image(); ?>” />
    </div>
    </div>
    <?php } ?>

    Hopefully you could explain me the procedure how to remove or to change the width exactly.

    Thank You!

    Best,
    Wolfgang Kaldewey

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with header image size’ is closed to new replies.