Hello,
Currently the option I am using for the silder image is 1500 x 430 but is it possible to set custom width for the slider by using css coding?
The image about my easy slider settings is here: http://imgur.com/a/W6o9h
Best Regards,
Hi pimroll!
Thank you for using Enfold.
Please try this code in the Quick CSS field.
.avia-fullwidth-slider {
max-width: 1000px;
margin: 0 auto;
}
Turn on the custom css class attribute if you want to apply this modification to a specific slider.
// http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Cheers!
Ismael
Hello Ismael,
Sorry actually I meant the height of the image in the easy image slider, how can I change that.
Sorry for the trouble.
Best regards,
Hey!
Please add following code to functions.php file in Appearance > Editor
add_image_size( 'bigger-square', 250, 250, true );
add_filter( 'image_size_names_choose', 'my_custom_sizes' );
function my_custom_sizes( $sizes ) {
return array_merge( $sizes, array(
'bigger-square' => __( 'Bigger Square' ),
) );
}
It will add new image size to your installation and there you can define the size of your slider images.
Best regards,
Yigit
Hello Yigit,
Thanks, I added the code but not sure where can I set the custom size for the slider?
Best Regards,
Hi,
You should be able to do that when you select the images to include in the slider, could you try that please?
Regards,
Rikard
Hello Rikard,
Do you mean here: http://imgur.com/a/hFFy9
But I cannot see, where can I insert custom px.
I wrote the login credentsials in the private, maybe you can find it?
Best Regards,
Hi!
I tried to login but the credentials are incorrect. If you define a custom height to the image, will you leave it as full width? I have to ask because it will probably distort the image. Please try this in the Quick CSS field.
.avia-slideshow li img {
height: 200px;
}
Could you please provide a screenshot of the expected slider layout?
Best regards,
Ismael
Hello Ismael,
Thanks I got it!
Best Regards,