hi, an easy fix could be
change this
<div id="imageslider" class="container">
to
<div id="imageslider">
then add this to your css
.flexslider {
width: 100% !important;
margin: 0 auto !important;
max-width: 100% !important;
}
.flexslider .slides img {
width: 100% !important;
}
if you wanna remove the whitespace up top the slider
.contentclass {
padding-top: 0;
}
Thanks anyway Christom, but this is for the sitewide banner. It’s only displaying on the Blog page. The variable name for the sitewide banner is
virtue_banner
Just in case I tried adding the
width: 100% !important;
margin: 0 auto !important;
max-width: 100% !important;
to the virtue_banner element
but that didn’t work.
The slider is only on my home page and I am fine with the way that is displaying.
I should also add that I only wanted to display the sitewide banner on the blog page and added CSS to get that to work. Once I get the width thing straightened out, I would like to see how I can display it above every blog post as well. That is what my client wants…:)
OK. I have found my own solution. I am using the header background image instead Added the following to the custom css in the Advanced Settings portion of the Customize under Appearance:
To ensure the header background will not display on all pages only the ones I specify:
.headerclass {
background: url(none);
}
To Get the header background to appear on the blog main page:
.blog .headerclass {
height: 250px;
background-color: #ffffff;
background: url(http://www.lifepathbydesign.net/wp-content/uploads/2016/01/SeaPathBanner.jpg);
}
To get the header background to appear on individual blog post pages(could be done with pages too):
.postid-20 .headerclass {
height: 250px;
background: url(http://www.lifepathbydesign.net/wp-content/uploads/2016/01/SeaPathBanner.jpg);
}
NOW! I would like to get rid of the green background for the header image pages, a little distracting while the image is loading.
🙂
So…any help for that would be great. tried to set body background to ffffff only for the specified pages but to no avail.
Hi sunshowerbiz,
Try changing this in your css:
background: url(http://www.lifepathbydesign.net/wp-content/uploads/2016/01/SeaPathBanner.jpg);
to this:
background: #fff url(http://www.lifepathbydesign.net/wp-content/uploads/2016/01/SeaPathBanner.jpg);
Does that work for you?
Hannah
Thank you Hannah-that worked!