Text area reviews 100%

This topic contains 5 replies, has 3 voices, and was last updated by  Tony Bellens 4 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #501746

    Tony Bellens
    Full Member
    Post count: 254

    Hi,

    I would like to add style=”width: 100%; to the comment-form-comment class so that the textarea covers the full width of the page. Where would I do this?

    Like this:

    <p class=”comment-form-comment”><label for=”comment”>Review text</label><textarea id=”comment” name=”comment” cols=”45″ rows=”8″ aria-required=”true” style=”width: 100%;”></textarea></p>

    Thank you,
    Tony

    #501752

    Kor
    Moderator
    Post count: 16516

    Hi Tony,

    Thanks for your reply. Could you share the URL of the page in question so that we could check on it?

    #501753

    Alex Rollin
    Moderator
    Post count: 27815

    Add custom CSS to the customizer in WP -> Appearance -> Customizer -> Additional CSS

    
    
    
    p.comment-form-comment {
        width:100%;
    }
    
    #501801

    Tony Bellens
    Full Member
    Post count: 254

    Hi Guust, any place on https://getdirections.asia/places

    Hi Alex,

    I tried that but as you can see in the screenshot it doesn’t make the text area full width.

    Thanks,
    Tony

    #501830

    Kor
    Moderator
    Post count: 16516

    Hi Tony,

    This should work.

    .comment-form-comment textarea#comment {width:100%!important;}
    #501930

    Tony Bellens
    Full Member
    Post count: 254

    Thanks a lot Kor, that works.

    Regards,
    Tony

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket