Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1012702

    Hi, i need to change the color of the buttons inside x-prompt-section.

    I try to change the x-btn css style on my child theme and nothing happens.

    How can i change this?

    Thanks for your helps

    #1012718

    Sorry i forget one more thing. I need to do this on a page created on cornerstone.

    #1012812
    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    You can add a class to your prompt element then target it to change the color of your button.

    eg. Add my-prompt in the class field.

    You can then add this in custom > Edit Global Css in the customizer

    
    .x-prompt.my-prompt .x-btn {
         border-color: #ac1100;
         background-color: #ff2a13;
         box-shadow: 0 0.25em 0 0 #a71000,0 4px 9px rgba(0,0,0,0.75);
    }
    

    Please change the colors in the code

    Hope that helps.

    #1027652

    Thanks it works!

    #1027798
    Paul R
    Moderator

    You’re welcome! 🙂

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