Tagged: x
-
AuthorPosts
-
May 20, 2016 at 10:43 am #1001685
BrianParticipantHi,
I’m just a novice so any help would be really appreciated. I have a revolution slider with a video that I’ve placed on several pages. The setup of the slider on each of the pages is the same, the only thing that changes is the choice of video.
I’ve placed the following css code in the custom field of the x-theme (integrity) I’m using:
@media only screen and (max-width : 736px) {
.mobile-hide {
display: none;
}
}So when I go to mobile the slider and video hide just fine on two of the pages but on the other two they don’t hide.
Any help is greatly appreciated!
Thanks,
brianMay 20, 2016 at 2:20 pm #1001996
RahulModeratorHey there,
Can you please share us the link to your website where you’re trying to achieve this result?
Thanks
May 23, 2016 at 4:43 am #1004890
BrianParticipantThanks for your quick reply!
There are two pages this happens on with mobile devices:
As a comparison, the following page works just fine on mobile:
Thanks in advance,
BJMay 23, 2016 at 4:48 am #1004895
ChristopherModeratorHi there,
Please add this code :
@media (max-width:767px){ .x-slider-container.below.bg-video { display: none; } }Hope it helps.
May 24, 2016 at 5:12 am #1006929
BrianParticipantHi, now the slider doesn’t appear on mobile for the homepage (which is perfect) but it does appear on all the other pages that have it.
Question: I’m putting the code you sent in the customizing part of the theme in the CUSTOM field for css. Is this correct?
cheers
BJMay 24, 2016 at 6:00 am #1006995
ChristopherModeratorHi there,
Please make sure that you place the code under Customize -> Custom -> CSS.
You can provide us with login credentials in private replay.Hope it helps.
May 24, 2016 at 7:21 am #1007090
BrianParticipantThis reply has been marked as private.May 24, 2016 at 7:24 am #1007096
BrianParticipantThis reply has been marked as private.May 24, 2016 at 7:55 am #1007160
ChristopherModeratorHi there,
Please edit your CSS and close curly bracket for following media query :
@media (min-width: 979px) { .x-navbar-fixed-top { position: fixed; z-index: 1030; } .x-brand img { margin-top: 10px; margin-bottom: 5px; } .x-btn, .button, input[type="submit"] { text-shadow: none; } .line-separator{ border-bottom:3px solid #91c845; }Then if you add provided code in previous replay, it works. Please see the attachment.
Thanks.
May 24, 2016 at 8:20 am #1007212
BrianParticipantThis reply has been marked as private.May 24, 2016 at 9:32 am #1007335
ThaiModeratorPlease replace your custom CSS with this:
.popup-content { height: 205px; border-width: 1px; border-style: solid; border-color: #91c845; } .sticky-popup .popup-header { border-right-width: 0px; } @media only screen and (max-width : 736px) { .mobile-hide { display: none; }; } .sticky-popup-left .popup-header { margin: 5% 0px 0px; } .map.footer { width: 50%; margin: auto; } /* TOP Footer Background and Text color Change */ .x-colophon.top { padding: 2% 0px 2%; background-color: #91c845; } /* Bottom Footer Background and Text color Change */ .x-colophon.bottom { font-size: 15px; background-color: #fff; } /* Social Icon SIZE */ .x-colophon.bottom .x-social-global a { font-size: 50px; } @media (min-width: 979px) { .x-navbar-fixed-top { position: fixed; z-index: 1030; }; } .x-brand img { margin-top: 10px; margin-bottom: 5px; } .x-btn, .button, input[type="submit"] { text-shadow: none; } .line-separator { border-bottom: 3px solid #91c845; }Hope it helps 🙂
May 24, 2016 at 10:11 am #1007397
BrianParticipantThis reply has been marked as private.May 24, 2016 at 10:39 am #1007470
ThaiModeratorPlease add the following CSS at the end of your custom CSS:
@media(max-width: 767px){ .home .x-slider-container.below { display: none !important; } }Let us know how it goes!
May 24, 2016 at 12:05 pm #1007609
BrianParticipantThis reply has been marked as private.May 24, 2016 at 2:34 pm #1007816
JadeModeratorHi Brian,
It seems to be working fine on my end. I checked on my phone and the slider on the homepage does not show up anymore. Please try to clear your cache and check again.

-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1001685 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
