Site logo

[Support request] Button design after WP 6.1 upgrade

Home Forums Support [Support request] Button design after WP 6.1 upgrade

Home Forums Support Button design after WP 6.1 upgrade

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2404412
    Eva Maria

    Hi,

    I noticed some weird loss of button functionality after 6.1 upgrade. The issue consists with the “outline” style, which does not seem to react anymore to any parameter changed in customizer or block menue. The way I configured it, was for the button to appear as outlined box, and then change to the hover/after-hover colors set in customizer. The way it was meant to be can still be seen in my Kinsta staging environment, where I have not yet performed the WP update. (https://staging-lipsandskin.kinsta.cloud/faltenbehandlung). When using outline style in the live environment, it would draw the outline, but not change colors on hover/click. Moreover, whenever I create a new block button now, it automatically comes with rounded corners, irrespective of what I set as parameters.

    However, all of the above is only applicable to button style “outline”. Style “fill” just works fine. Therefore, in the live environment I temporarily changed from outline to fill until the issue being looked at by you guys. Thanks.

    Thomas

    #2404676
    David
    Staff
    Customer Support

    Hi there,

    we’ll take a look at that, seems WP has been messing with the CSS classes on the Core blocks again.
    For the Radius corner that CSS comes directly from the core block, to get rid of it – select the Button and in its Settings -> Border —> Radius set the value to 0 px

    #2405011
    Eva Maria

    Forgot one thing: The outline functionality actually works in the editor, but not on the html output.

    #2405230
    Ying
    Staff
    Customer Support

    Forgot one thing: The outline functionality actually works in the editor, but not on the html output.

    I’m not sure I understand your description, do you mean it doesn’t work on front end?

    I just checked your link, and the outlined button is working normally, the border color is the same as the text color which is white, and your background color is also white, so you would not see the border:
    https://www.screencast.com/t/Hyiy809RY8

    If I change the button text color to red, you can see it here:
    https://www.screencast.com/t/tvKQ5BEgP

    Let me know if I miss anything.

    #2406953
    Carsten

    Probably the same problem here with the buttons using the outline style: https://www.brueckenhaus-naumburg.de . Before the WP update, the button’s background color changed to black and text color to white as a hover effect, but does not work anymore right now on front end but in the editor mode.
    @ying : I think the link in the question that started the thread referred to a staging environment which has “not yet performed the WP update”, so it should work there.
    Thanks

    #2407795
    David
    Staff
    Customer Support

    Just to cover: WP has made some changes as to how their buttons CSS works.

    1. The border radius, you need to manually set the Settings -> Border -> Radius value to 0 in the editor to remove them.

    2. The Colors styles from the theme will need to be updated so as make this work again
    IF needed we can provide some CSS.

    Let me know

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.