Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1029423
    robvandalen
    Participant

    Hi,

    I want to remove the drop shadow from the text on a button, I found code in the forum, and it works great, but only not on my homepage.

    I used this code in the customizer:

    .x-btn, .x-btn:hover, .button, .button:hover, [type=”submit”], [type=”submit”]:hover {
    text-shadow: none;
    }

    Should I add something to make it work on my homepage too?

    thanks in advance!

    #1029486
    robvandalen
    Participant
    This reply has been marked as private.
    #1029711
    Paul R
    Moderator

    Hi,

    You can try this code instead.

    
    .x-btn, .x-btn:hover, .button, .button:hover, [type="submit"], [type="submit"]:hover {
          text-shadow: none !important;
    }
    

    Hope that helps.

    #1031399
    robvandalen
    Participant

    Like a charm!
    Thanks again.

    In relation to my button styles, my client reports another issue, that I encountered myself too once, briefly unfortunately. In the attached screenshot, you see their firefox browser that shows a ‘button style’ border around a menu item, when switching to another page.

    It feels like it’s some sort of bug, especially because I didn’t see it in my Chrome browser (in which I design).

    Is this something that you’ve seen before?

    #1031897
    Paul R
    Moderator

    Hi,

    To remove it, you can add this under Custom > CSS in the Customizer.

    
    .x-navbar .x-nav-wrap .x-nav > li > a:focus {
        border:0;
        outline:none;
    }
    

    Hope that helps.

    #1034100
    robvandalen
    Participant

    Fixed!
    thanks

    #1034376
    Joao
    Moderator

    Great to hear it.

    Let us know if you need help with anything else.

    Thanks

    Joao

    #1176304
    kelly_p
    Participant
    This reply has been marked as private.
    #1176461
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    .x-btn, .button, [type="submit"] {
       text-shadow:none;
    }
    

    Hope that helps.

    #1177177
    kelly_p
    Participant
    This reply has been marked as private.
    #1177357
    Jade
    Moderator

    Hi there,

    Kindly check the current CSS codes that is in the customizer because there is one block of code that has a missing closing curly brace } which stops the other codes from working.

    #1177904
    kelly_p
    Participant

    Ahhhhh that works now! Thankyou so much!
    Kelly

    #1178022
    Rad
    Moderator

    You’re so much welcome!

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