Change Height of text box in Dawn theme

Can anyone take a look at this code and tell me how i can change the height of the text box. i am looking for this one to only have enough height for one line of text with a max of 30 characters

The current code is;

Add name for the front of the card here

Hello @PMPrinted

Please you can try this code.

.single-line-textarea {
    overflow: hidden;
    resize: none;
    height: auto;
}

Hey @PMPrinted

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed