Tagged: x
-
AuthorPosts
-
November 15, 2016 at 1:09 pm #1258359
tats86ParticipantHello,
I had to use the text editor to add the button code (I wanted to include a popup form and couldn’t do it with the button shortcode), and I want to augment the width of the button. Where do I add the button width attribute to this code (I want the button width to be 300px)?
Here’s what I have as of now.
Thank you!
November 15, 2016 at 2:08 pm #1258407
Nabeel AModeratorHi there,
Thanks for writing in! I tried to check your site but your link doesn’t go anywhere. Can you please post the URL of your site so we can take a look?
Thanks!
November 15, 2016 at 3:10 pm #1258457
tats86ParticipantSorry about that! The page where the button is located is http://aimetamarque.com/services/
The first button (shorter) is the one I’m trying to fix. I want it to look like the one immediately below.
November 15, 2016 at 5:32 pm #1258599
DarshanaModeratorHi there,
First off all, assign a class to that button (‘.my-button’).
Then add the following CSS into your Customizer, Custom > CSS area.
.my-button { min-width: 300px; }Hope that helps.
November 15, 2016 at 8:45 pm #1258854
tats86ParticipantThank you… but how do I assign a class to the button in the html below?
<a class=”manual-optin-trigger x-btn x-btn-flat x-btn-square x-btn-regular”
title=”Plus d’information”
href=”#”
data-optin-slug=”zvrnizxl3ztjvzem” data-options=”thumbnail: ””>Demander une soumissionNovember 15, 2016 at 9:10 pm #1258865
DarshanaModeratorHi there,
Use the following HTML code and then you can add the above CSS code into your Customizer, Custom > CSS area.
<a class="my-button manual-optin-trigger x-btn x-btn-flat x-btn-square x-btn-regular" title="Plus d'information" href="#" data-optin-slug="zvrnizxl3ztjvzem" data-options="thumbnail: ''">Demander une soumission</a>Hope that helps.
November 15, 2016 at 9:32 pm #1258882
tats86ParticipantFantastic. Thank you so much!
November 15, 2016 at 10:56 pm #1258945
DarshanaModeratorGlad we were able to help 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1258359 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
