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*

Can I Change The Slider Height

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19800
    Carol
    Participant

    Hello,

    Please instruct me on how to change the slider height. It’s to tall.

    Thank You – Carol

    #19826

    Hi Carol,
    If you want to change the slider height then it needs code customisation. Go to theme folder -> functions.php on line no 146
    You will see this code

    	// Add Interface Pro custom image sizes
    	add_image_size( 'featured', 670, 300, true );
    	add_image_size( 'featured-medium', 230, 160, true );
    	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
    	add_image_size( 'gallery', 474, 342, true ); 				// used to show gallery all images
    	add_image_size( 'icon', 100, 100, true );						//used for icon on business layout

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

    here 1038 and 500 is for width and height

    Thank you!

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