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
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