-
AuthorPosts
-
October 4, 2016 at 4:50 pm #695141
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,
October 7, 2016 at 6:13 am #696284Hi 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!
IsmaelOctober 7, 2016 at 10:24 pm #696745Hello 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,
October 10, 2016 at 12:49 pm #697267Hey!
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,
YigitOctober 10, 2016 at 9:08 pm #697547Hello Yigit,
Thanks, I added the code but not sure where can I set the custom size for the slider?
Best Regards,
October 11, 2016 at 8:44 am #697674Hi,
You should be able to do that when you select the images to include in the slider, could you try that please?
Regards,
RikardOctober 11, 2016 at 2:46 pm #697890Hello 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,
October 13, 2016 at 8:33 am #698610Hi!
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,
IsmaelOctober 14, 2016 at 8:28 am #699010Hello Ismael,
Thanks I got it!
Best Regards,
October 16, 2016 at 11:54 am #699540 -
AuthorPosts
- The topic ‘How to set custom width for the Fullwidth Easy Slider picture’ is closed to new replies.
