Tagged: x
-
AuthorPosts
-
May 13, 2016 at 4:02 am #989374
Simon TParticipantHi Guys,
Can someone please tell me why the navbar and footer in the navbar and footer on snaposweb.com.au are blank?
They are meant to be a gradient. Will post login details below:May 13, 2016 at 4:03 am #989375
Simon TParticipantThis reply has been marked as private.May 13, 2016 at 4:10 am #989391
ChristopherModeratorHi there,
Please see the attachment, the gradient background displays fine.
Hope it helps.
May 13, 2016 at 9:03 am #989722
Simon TParticipantHi,
It displays fine on chrome and on Safari, but not on firefox or IE.
May 13, 2016 at 11:28 am #989899
JoaoModeratorHi Simon
Gradient color are not interpreted the same way for all browsers, so in order that it works you need to add a bit more code than what you are using right now.
Please use this code instead inside the header and footer brackets and adjust the color according to your wishes.
background: #999; /* for non-css3 browsers */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000'); /* for IE */ background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */ background: -moz-linear-gradient(top, #ccc, #000); /* for firefox 3.6+ */This way you will be sure your background colors will work on every browser.
Hope that helps.
Joao
May 15, 2016 at 8:41 pm #992875
Simon TParticipantThat worked for the header, but the footer is still white. This is what I have under CSS:
footer.x-colophon {
background: #999; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#4878af’, endColorstr=’#0f0f47′); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#4878af), to(#0f0f47)); /* for webkit browsers */
background: -moz-linear-gradient(top, #4878af, #0f0f47); /* for firefox 3.6+ */
}May 15, 2016 at 9:01 pm #992914
John EzraMemberHi there,
Thanks for updating the thread! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
footer.x-colophon.bottom { background: #999; /* for non-css3 browsers */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000'); /* for IE */ background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */ background: -moz-linear-gradient(top, #ccc, #000); /* for firefox 3.6+ */ }Hope this helps – thanks!
May 15, 2016 at 9:57 pm #992949
Simon TParticipantNope, still white!
May 15, 2016 at 11:33 pm #992998
Nabeel AModeratorHey Simon,
It looks like CSS has not been added to your Customizer, please check your Customizer for any syntax error that could be preventing the CSS to work.
Thanks!
May 16, 2016 at 7:52 pm #994679
Simon TParticipantHi Nabeel,
Code is in there now – still not working.
Cheers.
May 16, 2016 at 11:16 pm #994906
John EzraMemberHi there,
Thanks for updating the thread! Like mentioned before there could be a syntax error that is preventing CSS below it from working. Upon checking your CSS in the customizer, indeed, you are missing a “}” closing curly bracket on your first snippet.
See the image below to know where you need to insert it. Please do so and all should work.
Let us know how that goes. Hope this helps – thanks!
May 17, 2016 at 1:36 am #994999
Simon TParticipantApologies, thanks for your help!!!
May 17, 2016 at 1:39 am #995001
FriechModeratorWe’re delighted to assist you with this.
Cheers!
June 1, 2016 at 3:58 am #1019626
Simon TParticipantHi guys, help please! This website is now live at domainshadesails.com.au and the gradient works on firefox but not on IE. My CSS code is:
.x-navbar {
background: #999; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#4878af’, endColorstr=’#0f0f47′); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#4878af), to(#0f0f47)); /* for webkit browsers */
background: -moz-linear-gradient(top, #4878af, #0f0f47); /* for firefox 3.6+ */
}footer.x-colophon.bottom {
background: #999; /* for non-css3 browsers */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#4878af’, endColorstr=’#0f0f47′); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#4878af), to(#0f0f47)); /* for webkit browsers */
background: -moz-linear-gradient(top, #4878af, #0f0f47); /* for firefox 3.6+ */
}June 1, 2016 at 4:22 am #1019659
Paul RModeratorHi,
May I know which version of IE did you check.
You can try linear gradient.
https://msdn.microsoft.com/library/jj152126(v=vs.85).aspx
Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-989374 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

