Slider width and white borders
-
I have been playing around with the slider for a few days and I am having trouble getting it to span the entire column. I have searched through this forum and played around with different settings using Firebug but just can’t get it right. Could someone please take a look at my site and give me a clue on how to get rid of the white borders on either side of the slider? Thank you so much for this theme and this forum!
Did you get this resolved? All I see is the grey padding on either side of the slider… which should be there as it’s applied to the entire page.
Try this,
.bgimage-excerpt.featured_slider {
margin-left: -10px;
width: 960px;
}It will give you the below result. You might need to replace the slider images with 960px width ones.
Thanks for the reply Prasanna! The only problem is that while the slider spans the 960px, the picture doesn’t and the slider shows part of the ‘featured image’ from the next post. I’ve reuploaded a new image with the right dimensions just to check, but the issue still remains. Any luck with this one?
Try,
.sliderpost_featured_image {
width: 960px;
}If the above code doesn’t work,
.sliderpost_featured_image img {
width: 960px;
}Try this custom function. Untested. So be careful! (I bet, it will not work. But, sometimes miracles happens!
)function graphene_custom_slider_image_width(){
return 960px;
}
add_filter('graphene_slider_image_size', 'graphene_custom_slider_image_width');Hmm.. Try this,
.featured_slider #slider_root {
width: 960px !important;
}Admin
Insert this code into your child theme’s
functions.phpfile:function graphene_custom_slider_image_width(){
return 960;
}
add_filter( 'graphene_slider_image_width', 'graphene_custom_slider_image_width' );Then add this code to your child theme’s
style.cssfile:.featured_slider {
margin-left: -10px;
width: 960px;
}
.container_16 .slider_post {
width: 960px;
}
Viewing 10 posts - 1 through 10 (of 15 total)
- 1
- 2
- You must be logged in to reply to this topic.
