Rich text button - keep a certain size

Hello, I want to force my rich text button to be 450 x 50px. however, the size of the button itself keeps scaling with the amount of text. how do i go about changing this so that it stays the same? see screenshot. thanks so much.

PW: ellaella

@ellacoker, I have seen many posts of your store at the same time.
So why don’t you hire a developer to solve these issues?

I like to solve things myself and learn. Thanks.

@ellacoker ok, try it, best of luck :check_mark:

Find the class name and add this to custom CSS

/* Example class: update with the actual class or ID */
.view-all-btn {
  width: 450px !important;
  height: 50px !important;
  line-height: 50px; /* Vertically center the text */
  display: inline-block;
  text-align: center;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow if too much text */
}

and also a quick check without CSS
manually reduce padding
Uncheck the auto-width and fit content