Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1258359
    tats86
    Participant

    Hello,

    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.

    Demander une soumission

    Thank you!

    #1258407
    Nabeel A
    Moderator

    Hi 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!

    #1258457
    tats86
    Participant

    Sorry 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.

    #1258599
    Darshana
    Moderator

    Hi 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.

    #1258854
    tats86
    Participant

    Thank 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 soumission

    #1258865
    Darshana
    Moderator

    Hi 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.

    #1258882
    tats86
    Participant

    Fantastic. Thank you so much!

    #1258945
    Darshana
    Moderator

    Glad we were able to help 🙂

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