Tagged: x
-
AuthorPosts
-
May 31, 2016 at 2:14 pm #1018676
bluetroop2ParticipantAfter searching the knowledge database, I was able to fix a problem I had with the top/bottom margins around my Revolution Slider by applying the following to Global CSS…
.rev_slider_wrapper {
margin-top: -20px !important;
}However when my site is seen on phone screens, there is still a bottom space margin visible below the slider and the next section. How would I eliminate that gap?
Thanks in advance!
May 31, 2016 at 3:02 pm #1018744
JadeModeratorHi there,
Please add this in the CSS customizer:
@media (max-width: 480px) { .rev_slider_wrapper { margin-top: 0px !important; } }Hope this helps.
June 2, 2016 at 8:20 am #1022114
bluetroop2ParticipantOkay, I’ve applied this code and there is now a new gap between the top portion on the slider and the header portion. (The gap just traded places, now showing up at the top of the slider). Please advise.
June 2, 2016 at 10:54 am #1022430
RupokMemberHi there,
Thanks for updating. I can’t see any gap on mobile view. I am attaching a screenshot on my end. Kindly clarify your issue with a screenshot too.
Cheers!
June 2, 2016 at 11:33 am #1022499
bluetroop2ParticipantSorry, I just now placed your code back into the global CSS and you can see the gap portion just above the slider. We don’t want any separations between the top and bottom of the slider. It should meet flush with the header above and also with black content portion below.
June 2, 2016 at 1:49 pm #1022760
JoaoModeratorHi There,
Can you provide a screenshot of the issue?
I can´t visualize any issues on my end.
I would also recommend you cleaning cache before checking the website.
Thanks,
Joao
June 2, 2016 at 5:26 pm #1023072
bluetroop2ParticipantYes, I have refreshed the cache and still see it (it’s on mobile). Please see the attached file to clearly see the space gap.
June 3, 2016 at 12:59 am #1023670
Paul RModeratorHi,
To fix it, you can add this under Custom > CSS in the Customizer.
body p:empty { display:none !important; }Hope that helps
June 3, 2016 at 8:57 am #1024209
bluetroop2ParticipantI added it and it did not fix the gap above the slider, it only lowered the slider further down on top of the content just below it. Please check.
June 3, 2016 at 6:30 pm #1024872
FriechModeratorHi There,
Did you add the code below on a text element?
<link href="http://fonts.googleapis.com/css?family=Squada+One%3A400" rel="stylesheet" property="stylesheet" type="text/css" media="all">Please remove that and add the @import css below on your child theme’s style.css file instead.
@import url(https://fonts.googleapis.com/css?family=Squada+One);Or
You can add this under Custom > CSS in the Customizer.
.home #x-section-1 p { margin-bottom: 0; }Hope it helps, Cheers!
June 4, 2016 at 4:42 pm #1025953
bluetroop2ParticipantThe second option seemed to correct the spacing issue, thank you. I’ll need to remember to use that code formula for future sites. I’m new to this and the Revolution Slider is a nice tool, but seems to be difficult to work with on spacing issues.
June 5, 2016 at 5:18 am #1026465
ThaiModeratorGlad it worked 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1018676 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
