Tagged: x
-
AuthorPosts
-
February 9, 2017 at 10:13 pm #1365391
Andreas BjerveParticipantHi,
I´ve added a button with an optin-trigger link in my revolution slider. I want the original button look provided by the Rev. Slider, but once linked it takes on the global link style (underlined etc.).
How do I get around this?
Thanks!
February 9, 2017 at 10:14 pm #1365392
Andreas BjerveParticipantThis reply has been marked as private.February 10, 2017 at 1:47 am #1365586
LelyModeratorHi Andreas,
Thank you for the credentials.
From checking, you have added an Text/HTML layer in revslider and then add the button inside. Please note that the design you have added on the layer using Style tab and also other tabs will be added on the text layer wrapper. Then inside this text/html wrapper is your button. The global settings applied because it is more specific than what you have on the style option. If you add just text instead of link tag, it will be applied. When adding a button, please choose BUTTON Layer instead.See attached screenshot and this screencast:http://screencast-o-matic.com/watch/cbn6im61qtHope this helps.
February 10, 2017 at 7:38 am #1365813
Andreas BjerveParticipantThanks, so where do insert the optin-trigger within that button? (a href=”#” class=”manual-optin-trigger” data-optin-slug=”byyrzaftyzdz4ctu”></a). I tried using the Actions tab, but can’t make the button work…
🙂
February 10, 2017 at 2:52 pm #1366318
RadModeratorHi there,
You can continue using the text layer, but what default would you like to implement? You can use it’s class name to make your link styled the same as the default one.
Example,
<a href="#" class="manual-optin-trigger Sports-Button-Light rev-btn rs-hover-ready" data-optin-slug="byyrzaftyzdz4ctu"></a>Thanks.
February 11, 2017 at 4:05 am #1366896
Andreas BjerveParticipantThanks, that worked fine in the rev. slider preview, but on the page the button turns blue, like a link again..hmmm..
and, once fixed, how do I edit the font family and font size in that button?
Thanks a lot!
🙂
February 11, 2017 at 5:56 am #1366928
ChristopherModeratorHi there,
Please provide us with URL of page in question where you added revslider.
Thanks.
February 11, 2017 at 11:08 am #1367088
Andreas BjerveParticipanturl is: andreasbjerve.com (home page)
thanks
February 11, 2017 at 10:42 pm #1367545
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.rev-btn, .rev-btn:visited { outline: 0!important; box-shadow: none!important; text-decoration: none!important; line-height: 44px !important; font-size: 17px !important; font-weight: 500 !important; padding: 12px 35px !important; font-family: Roboto,sans-serif !important; cursor: pointer; color: #fff; border: 3px solid #fff !important; }Hope that helps.
February 12, 2017 at 12:40 pm #1368022
Andreas BjerveParticipantThanks, that’s perfect! Last thing is that I’d like a hover color, slightly off-white/grey. What code to I implement for this?
Thanks again 🙂
February 12, 2017 at 7:12 pm #1368328
LelyModeratorHi There,
Please use this custom CSS:
.rev-btn:hover { color: grey; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1365391 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
