Tagged: x
-
AuthorPosts
-
February 28, 2017 at 12:59 pm #1389160
markw1ParticipantHi this is related to the Topic – https://community.theme.co/forums/topic/lightbox-sizing-and-layout-issues/
The code for a lightbox pop-up and therefore am using a
<a></a>tag is working in a Cornerstone Section
And the Button is correctly styled using ->x-btn x-btn-global x-btn-blockHowever when I add this code to a HTML layer on RevSlider, the Button does not appear correct.
The Button is much smaller, less padding, etc etc.
I tried to set this styling in the Style options for the layer but this didn’t have any effect.How can I get this Layer to display correctly – i.e. a Large Jumbo Button.
I will add URLS in private comment.
February 28, 2017 at 1:01 pm #1389164
markw1ParticipantThis reply has been marked as private.February 28, 2017 at 10:00 pm #1389685
FriechModeratorHi There,
Thank you for writing in but where can I see the slider? If you would not mind please provide us login credentials in private reply so we can take a closer look.
Have you try adding those classes (x-btn x-btn-global x-btn-block) on the button layer class field?
Cheers!
March 1, 2017 at 3:57 am #1389993
markw1ParticipantThis reply has been marked as private.March 1, 2017 at 5:51 am #1390109
LelyModeratorHello Mark,
The theme’s CSS for X button inside revslider is overriding the CSS for jumbo button. This is a CSS specificity issue. Please add this custom CSS on Appearance > Customize > Custom > Edit Global CSS
.rev_slider_wrapper .x-btn.x-btn-jumbo { padding: 0.643em 1.429em 0.786em; !important; font-size: 28px !important; }Hope this helps.
March 2, 2017 at 4:11 am #1391632
markw1ParticipantThis reply has been marked as private.March 2, 2017 at 2:31 pm #1392374
RadModeratorHi there,
It has javascript error originating from RevSlider. There is always a problem when placing external functionality within the slide. How about putting your lightbox button and shortcode outside the slider, then add another button in the slider that will act as the proxy, so when click, it will trigger the lightbox button.
The sizing is different on the slider, it will pre-add styling to it which may be affecting the lightbox content size.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1389160 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
