Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #667488

    How can I limit the width for a certain text box without using the div columns or padding?
    Right now I’m using padding to limit the text box width. However on mobile, it makes the text run really narrow.

    #668847

    Hey gerardbao,

    Thank you for using Enfold.

    Turn on the custom css class field (http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/), add a custom class attribute to the column then use something like this in the Quick CSS field:

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      .custom-css-class {
         padding: 0 10px 0 10px !important;
      }
    }

    Best regards,
    Ismael

    #668881

    Worked great. Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove padding on mobile for text box’ is closed to new replies.