Comments Laura started the conversationOctober 7, 2022 at 10:17pmHello~ I found some css in another ticket to help get buttons to appear the same width on a page. I'm using:.nectar-button.fixed-size { width: 500px;}And including ".nectar-button.fixed-size" in the Button Settings > Extra Class Name field. This doesn't appear to be working. Am I doing something wrong or is there another approach?Thanks! 8,839Tahir repliedOctober 8, 2022 at 2:32amHey Laura,You only need to add "fixed-size" to the Extra Class field and without the dot.Thanks ThemeNectar Support Team 1Mary Cunningham repliedMarch 10, 2023 at 5:28amCan you please include the fixed width button code? Still not working.Thanks! 1,877Judith repliedMarch 10, 2023 at 6:32amHi Mary,Please try this css: body.material .nectar-button.large { width: 25vw;}Thanks. 1Mary Cunningham repliedMarch 10, 2023 at 6:45amThanks! How do I center the type? 1,877Judith repliedMarch 10, 2023 at 6:55amHi Mary,Please try adding this CSS: body.material .nectar-button.large { width: 23vw; left: 10em;}Thanks. Sign in to reply ...
Hello~ I found some css in another ticket to help get buttons to appear the same width on a page. I'm using:
.nectar-button.fixed-size {
width: 500px;
}
And including ".nectar-button.fixed-size" in the Button Settings > Extra Class Name field.
This doesn't appear to be working. Am I doing something wrong or is there another approach?
Thanks!
Hey Laura,
You only need to add "fixed-size" to the Extra Class field and without the dot.
Thanks
ThemeNectar Support Team
Can you please include the fixed width button code? Still not working.
Thanks!
Hi Mary,
Please try this css:
Thanks.
Thanks! How do I center the type?
Hi Mary,
Please try adding this CSS:
Thanks.