Tagged: x
-
AuthorPosts
-
December 19, 2016 at 3:30 pm #1298661
kateanitaParticipantI have a negative margin applied to the revolution slider so that it sits underneath the navigation and logo bar at the top of the page, which are transparent, so the rev slider image shows underneath. It works fine on all browsers except for Firefox:
http://homefed.stapkodesign.com/portfolio/san-elijo-hills/ here you can see the background image is being pushed down and is no longer visible behind the logobar and nav.
On pages where I have revolution slider applied via the page options, it works fine. But on pages like the portfolio pages, it doesn’t work, and I have the revolution slider inserted into the page via visual composer because there is no page option on the portfolio pages to insert the slider below masthead like there is on regular pages.
Is there a way to adjust the margin only on firefox?
I am using Ethos and have the latest version of everything.
Thanks,
Katie
December 20, 2016 at 12:07 am #1299050
Paul RModeratorHi Katie,
To fix the issue in firefox, you can add this under Custom > Edit Global CSS in the Customizer.
.single-x-portfolio .x-container > .offset { margin-top: 0; } .single-x-portfolio .x-header-landmark { display:none; }Hope that helps
December 20, 2016 at 10:41 pm #1300117
kateanitaParticipantThanks so much for the reply. The problem with this issue is that it moves it up in other browsers too, which breaks my layout. Is there some way to fix it for Firefox only?
December 20, 2016 at 10:45 pm #1300118
kateanitaParticipantThis reply has been marked as private.December 21, 2016 at 2:29 am #1300237
Paul RModeratorHi Katie,
Kindly remove the negative margin code.
.single-x-portfolio .entry-content { margin-top: -185px !important; }Then add this instead.
.single-x-portfolio .entry-top-navigation { margin-bottom: 0; } .single-x-portfolio .x-container > .offset { margin-top: 0; } .single-x-portfolio .x-header-landmark { display:none; }Hope that helps.
December 22, 2016 at 1:56 am #1301468
kateanitaParticipantThanks again so much for the response. The second set of code worked perfectly in Chrome, but the hero image is still pushed down on pages where I’ve added the revolution slider in with visual composer, only in Firefox. You can see an example here of how the image is pushed down and not completely under the header, only in Firefox: http://homefed.stapkodesign.com/portfolio/market-common/
Any other ideas? Thanks again so much.
December 22, 2016 at 2:27 am #1301498
Paul RModeratorHi Katie,
Please change the code to this.
.single-x-portfolio .entry-top-navigation {display:none; } .single-x-portfolio .x-container > .offset { margin-top: 0; } .single-x-portfolio .x-header-landmark { display:none; }Hope that helps.
December 22, 2016 at 3:32 pm #1302055
kateanitaParticipantThat worked! Thank you so much you guys are the best!!!
December 22, 2016 at 8:53 pm #1302393
LelyModeratorYou’re welcome Katie!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1298661 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
