width for the slider images
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Hello,
Thaks for your job. I have modified the .css file to get a three-colums template with the center colum biger, but now i have a problem.
The slider has an option to show a background image, and the theme makes the tumbnails which it needs, taking into account the slider height that i gave in the control panel.
But the width is too small for me, ¿how i can change the width for theese images?
Thanks
Moved to “Support” — please read the rules.
You might find your answer here. If that doesn’t work or you have questions, let us know.
Ken
If you modified the slider width, you would need to modify the width that WordPress automatically crops images into.
You will need a child theme for this. Insert this code in your child theme’s functions.php file (create one if it doesn’t exist yet):
<?php
function graphene_custom_slider_image_width(){
return 445; // Change this value to your slider's width
}
add_filter( 'graphene_slider_small_image_width', 'graphene_custom_slider_image_width' );
?>
445px is the theme’s default slider width. Change it to your customised width.
Viewing 5 posts - 1 through 5 (of 5 total)
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.
Made with by Graphene Themes.