Hello @wordmax,
Could you please share a live URL from your issue?
Also, you can learn how to use Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS:
https://developers.google.com/web/tools/chrome-devtools/
https://developer.mozilla.org/en-US/docs/Tools
CSS Tutorial: https://www.w3schools.com/css/
And for responsive sizes, put your CSS on custom screen size:
@media only screen and (max-width: 480px) {
/* put your custom CSS here*/
}
Or use between sizes:
@media (max-width: 960px) and (min-width: 481px){
/* put your custom CSS here */
}
For more information about media queries, please read this article:
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Best Regards
Yes, am experienced with CSS. Before latest WordPress core update and theme update the buttons worked as expected. Now, the Gutenberg block for buttons has no effect when applying the horizontal center align option and in mobile view the buttons are stacked on top of eachother with no vertical space in between.
I would show you a live url but I won’t because I fixed it over-riding the CSS and don’t want my live site to look bad.
Here is the applied CCS over ride that fixed button CSS issue in the custom CSS for theme in the wp admin:
.wp-block-buttons {
text-align:center;
}
.wp-block-buttons a:hover {
color:#7ae4ff !important;
}
.wp-block-button {
margin:5px !important;
}
Maybe you could check with other users and test to make sure it’s not just me having issue. Thanks
-
This reply was modified 3 years, 7 months ago by
wordmax.
Hello @wordmax,
The CSS you wrote is very general CSS which affects all WordPress buttons. I fully examined the issue you have raised on this topic and could not see it on my end.
If your issue persists, please help us to reproduce it. So please let us know how we can replicate your steps to arrive at the issue on a fresh WordPress installation.
You can upload your files to one of the following online services:
https://postimages.org
https://imgbb.com
https://loom.com
https://drive.google.com
Thank you,
Best Regards