Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1135449
    mahmoud237
    Participant

    I want to have some different button colors … I add a custom class “talk” to my buttons and I tried to add custom CSS in customizer like your topic there :

    https://community.theme.co/kb/implementing-additional-button-colors/

    But nothing changes … Here is my code :

    .x-btn.my-btn-talk {
      color: #36C9F2;
      border-color: #36C9F2;
      background-color: #ffffff;
    }
    
    .x-btn.my-btn-talk:hover {
      color: #ffffff;
      border-color: #600900;
      background-color: #ef2201;
    }
    #1135451
    mahmoud237
    Participant
    This reply has been marked as private.
    #1135549
    Rupok
    Member

    Hi there,

    Are you referring this button? – http://prntscr.com/c6yz0y

    I can’t see any class added to this button. Make sure to add the class my-btn-talk there. Also you are using comment like =============Buttons =========== within CSS which might break your CSS. You should add comment like below :

    /* =============Buttons =========== */

    Hope this helps.

    #1135812
    mahmoud237
    Participant

    OK … I added a class to next buttons on the page, not the first one … Like the attached picture

    #1135849
    mahmoud237
    Participant

    Sorry my class is”talk” … and the hover color working properly but the actual color don’t change at all … it sill the same default color

    #1136079
    mahmoud237
    Participant

    Thanks I managed to do it … the problem with ============= Buttons ========== like you said
    thanks

    #1136180
    Friech
    Moderator

    Glad we could help, feel free to get in touch with us regarding any further queries about the X|Theme and Cornerstone.

    Cheers!

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