[Support request] Button – default values

Home Forums Support Button – default values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1324678
    Erik

    Hey guys,
    I’d like to be able to control design of all buttons. I tried to add it to reusable blocks, but that’s not the solution.

    In the Customizer I can set up default colors and font, that’s fine.
    But I’d like to be able control also other parameters, let’s say these:

    – align center
    – outline block style
    – border radius 10

    So let’s say when in one year I decide to make small re-design, I can easily customize all buttons at once somewhere in code.

    #1324992
    David
    Staff
    Customer Support

    Hi there,

    you would need to add your custom styles to some CSS like this:

    button:not(.menu-toggle), 
    html input[type="button"], 
    input[type="reset"], 
    input[type="submit"], 
    .button, .button:visited, 
    .wp-block-button .wp-block-button__link {
    
        /* Add your styles here */
    
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.