Viewing 10 replies - 1 through 10 (of 10 total)
  • I was just revisiting the solution to this exact problem not 30 minutes ago.

    See this previous post on the WordPress support forums. The function described should be added to the functions.php file of your site’s child theme.

    (I had forgotten how I did this, and had to figure it out again to set up Astra on a different site.)

    Thread Starter ildomandatore

    (@ildomandatore)

    As I feared there is no option to disable the Website field. At this point, do I use CSS? I’m not familiar with the snippets to add and have been removing one lately because it was causing problems.

    Hi @ildomandatore,

    The code in the tread shared by @ate-up-with-motor is working. Thanks for sharing @ate-up-with-motor! All you need to do is just copy and paste it to the functions.php file of your child theme.

    If you prefer CSS for some reason, please try the following

    .comment-form-url {
        display: none;
    }

    I hope it will help.

    Kind regards,
    Herman ??

    Thread Starter ildomandatore

    (@ildomandatore)

    As I feared, I have to adapt the design with CSS. I wanted a workaround to avoid adding any more code.
    https://postimg.cc/0rGFsDmj

    Thread Starter ildomandatore

    (@ildomandatore)

    I tried to enlarge the two remaining fields Name and Email as much as the comment field, but I couldn’t. What should I have entered?

    Hi @ildomandatore,

    Please try the following CSS

    @media (min-width: 992px) {
        .ast-comment-formwrap .ast-col-lg-4 {
            width: 50%;
        }
    }

    I hope it will help.

    Kind regards,
    Herman ??

    Thread Starter ildomandatore

    (@ildomandatore)

    it’s a good code, but you need a mobile version because;
    – The input size is not respected.
    – For a better reading of the fields it is better that they are on two lines.

    You only need to change the viewport in the code I shared, @ildomandatore. Maybe to 768px.

    Please try the following

    @media (min-width: 768px) {
        .ast-comment-formwrap .ast-col-lg-4 {
            width: 50%;
        }
    }

    I hope it will help.

    Kind regards,
    Herman ??

    Thread Starter ildomandatore

    (@ildomandatore)

    You are right. Your solution is the first thought I had, but thinking about 50%width, I thought it was a bad idea and I didn’t try it. It would be nice if the width of the devices in the customization was written somewhere. Remembering such information every time is not simple.

    Hi @ildomandatore,

    The Comment Form is a WordPress core thing. The theme is only responsible for how it looks. Please correct me if I am wrong.

    BTW, since you have marked this thread as Resolved and when I check your site the form looks good, I assume that you are good with the code I shared.

    Feel free to start a new thread if there is anything else related to Astra we can help you with.

    Kind regards,
    Herman ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How do I remove the Website input field?’ is closed to new replies.