• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

How to change text-input area to allow resize on both vertical and horizontal?

john365

Chevereto Member
app/themes/Peafowl/snippets/form_image.php

<div class="input-label">
<label for="form-image-description"><?php _se('Description'); ?> <span class="optional"><?php _se('optional'); ?></span></label>
<textarea id="form-image-description" name="form-image-description" class="text-input no-resize" placeholder="<?php _se('Brief description of this image'); ?>"><?php echo function_exists('get_image_safe_html') ? get_image_safe_html()["description"] : NULL; ?></textarea>
</div>

How can I change this to allow resize on both vertical and horizontal?

Thought it would be like this: resize: none|both|horizontal|vertical|initial|inherit;

However, it seems to be like this: resize-vertical
 
The base CSS doesn't include a class for textarea horizontal resize inside a modal box because this happens:

2449

The textarea doesn't shape that modal, is the opposite.

If you want that then add a custom CSS for that textarea:

CSS:
.modal-form textarea {
    resize: both !important;
}
 
Back
Top