Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1274439
    VelocityWeb
    Blocked

    How can I make this button do something (like bold, shadow, fill colour or change border color) on hover
    https//www.velocitywebsites.co.nz
    Current code

    .x-btn.my-button-center {
    display: block;
    margin: 0 auto;
    width: 70%;
    background-color:
    rgba(228, 228, 228, .1);
    border-width: 2px;
    border-color: #fff;
    }

    #1274440
    VelocityWeb
    Blocked

    new pic

    #1274457
    Lely
    Moderator

    Hi There,

    Thank you for the screenshot.
    Please use the following CSS:

    .x-btn.my-button-center:hover {
        font-weight: bold;
        border-color: red;
        box-shadow: 5px 5px 5px green;
    }

    Adjust the values accordingly.

    Hope this helps.

    #1274481
    VelocityWeb
    Blocked

    Perfect! Thanks

    #1274490
    Paul R
    Moderator

    You’re welcome! 🙂

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