Tagged: x
-
AuthorPosts
-
February 7, 2017 at 8:20 am #1361167
renutritionParticipantHey there!
I’m working on triggering a SumoMe click trigger with a button in X. I have gotten in touch with their support team and they directed me back to you guys because when I input the class into cornerstone, it adds “x-btn-x-large” to the end of the sumome class.
So. I need to figure out how to navigate this – they said that the form won’t work unless the class is on its own.
Here is the code for the button upon inspection in Chrome:
<a class="x-btn sumome-listbuilder-id-ec76e31b-245f-4172-bd95-8e14daaf6724 x-btn-x-large" href="#" data-options="thumbnail: ''" data-sumome-listbuilder-id="ec76e31b-245f-4172-bd95-8e14daaf6724 x-btn-x-large" data-sumome-trigger="true">JOIN THE WAIT LIST</a>And the class code from sumome is:
sumome-listbuilder-id-ec76e31b-245f-4172-bd95-8e14daaf6724Any help with this would be much appreciated! I have been working on figuring this out for weeks argh!
My URL is renutrition.com
Thank you in advance!
Stephen
February 7, 2017 at 12:22 pm #1361548
DarshanaModeratorHi there,
Thanks for writing in! You may try using this 3rd party plugin for Cornerstone (http://cornerstonelibrary.com/elements/modal/).
Thanks!
February 7, 2017 at 3:41 pm #1361797
renutritionParticipantHey Darshana,
So I downloaded and tried using the modal plugin (which is pretty cool in it’s own right, and I will for sure use for other things!) but unfortunately it is not going to fix the issue.
Let me ask you a different question to see if we can figure it out this way.
If I have this code:
<a data-sumome-listbuilder-id="ec76e31b-245f-4172-bd95-8e14daaf6724">JOIN THE WAIT LIST</a>(which, when I plug it into a Raw Content element in cornerstone gives me a link that works, yay) can I format that link to look like a button on my site?! If so, how would I go about doing that? I would like it to look like the button right above it on the page renutrition.com/gettested
Thanks!
February 7, 2017 at 4:05 pm #1361824
renutritionParticipantor this code:
<button data-sumome-listbuilder-id="ec76e31b-245f-4172-bd95-8e14daaf6724">JOIN THE WAIT LIST</button>February 8, 2017 at 12:20 am #1362376
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.x-raw-content button:hover { color: #8dc863; background-color: #fff; border: 1px solid #8dc863 !IMPORTANT; } .x-raw-content button { color: hsl(0,0%,100%); border: 1px solid #8dc863 !IMPORTANT; background-color: #8dc863; text-shadow: none; border-radius: 0.25em; padding: 0.563em 1.125em 0.813em; border: none; font-size: 21px; font-weight: bold; -webkit-transition: color 0.3s ease,background-color 0.3s ease,border-color 0.3s ease,box-shadow 0.3s ease; transition: color 0.3s ease,background-color 0.3s ease,border-color 0.3s ease,box-shadow 0.3s ease; }Hope that helps.
February 8, 2017 at 10:41 am #1363039
renutritionParticipantAwesome, that looks great!! Thanks Christopher!
Last question. Is there a way to change the styling of individual raw-content buttons? Or is it going to be a global raw-content button style?
February 8, 2017 at 12:23 pm #1363181
JoaoModeratorHi There,
You can add a different class to your buttons, for example : myclass and use the folowing code:
.x-raw-content button.myclass { /* your customizations go here */ }Hope that helps
Joao
February 8, 2017 at 3:11 pm #1363364
renutritionParticipantBeautiful. Thanks Joao!
February 8, 2017 at 6:39 pm #1363566
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
February 27, 2017 at 8:30 pm #1388181
crushdayParticipantI have the same issue. What will this custom code do to other buttons?
February 28, 2017 at 3:20 am #1388476
ChristopherModeratorHi there,
It affects on button with the class
my-class. If you need further assist, kindly open a new tread, provide us with URL and let us know what you’re trying to achieve.Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1361167 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
