badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

header image resolution

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36545
    julie.pett
    Participant

    Is there a way to maintain the same header image size while increasing the image resolution? When you zoom into my header image you can tell it is very poor quality. However I don’t know how to increase the image quality without increasing the number of pixels and increasing the number of pixels seems to create a very large image on the site.

    How do I keep my header image the same size on my website while increasing the number of pixels?

    #36546
    julie.pett
    Participant

    This is the link to my website: http://www.p3energy.ca

    #36663

    Hi julie.pett,
    if you like to change the slider image size then go to functions.php and on line no 152 and 153 you will find this below code

    add_image_size( 'slider-narrow', 1038, 500, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    	add_image_size( 'slider-wide', 1440, 500, true ); 			// used on Featured Slider on Homepage Header for wide layout
    

    change you slide image size according to your needs. But create a child theme before making any changes on it. After changing the slider size install regenerate Thumbnail plugins and regenerate the images. If your slider doesnot work then first make a direct change in the code.

    add_image_size( 'slider-narrow', 1038, 500, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    add_image_size( 'slider-wide', 1440, 500, true ); 			// used on Featured Slider on Homepage Header for wide layout

    to

    add_image_size( 'slider-narrow', 2076, 1000, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    add_image_size( 'slider-wide', 2880, 1000, true ); 			// used on Featured Slider on Homepage Header for wide layout

    and then regenerate thumbnails.

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.