Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1025320
    bedingfield
    Participant

    Hi there,

    I would like my buttons to have a 1px border, a transparent background and be able to specify colour of border and button text. Is that possible?

    This is my current code:

    [button type="flat" shape="square" block="true" class="no-border" size="large" href="http://elyrunners.club/er-photos/" title="Explore Photographs"][x_icon type="camera-retro"]Explore Photographs[/button]

    Obviously, I would remove the no-border class, but not sure how to get transparency and colours I want.

    Thank you.

    #1025559
    Thai
    Moderator

    Hi There,

    Please replace the no-border class with custom-btn.

    After that add the following CSS:

    .custom-btn {
        border: 1px solid #fff;
        background-color: transparent;
        color: #fff;
    }

    Hope it helps 🙂

    #1025653
    bedingfield
    Participant

    Hi there,

    That does not override defaults for content. Not sure why it is being over ridden.

    See here – its at bottom of page ‘explore photographs’

    http://elyrunners.club

    #1026241
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    .home a.x-btn.no-border.x-btn-flat.x-btn-rounded.x-btn-x-large.x-btn-block {
        color: red !important;
        border-color: red !important;
        background-color: transparent !important;
    }

    Hope that helps.

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