[Resolved] Strange Changes in Comment Section

Home Forums Support [Resolved] Strange Changes in Comment Section

Home Forums Support Strange Changes in Comment Section

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2364763
    Usman

    Hey there, recently I make changes to my site including cache, and DNS. After this, I am seeing some design changes in the comment section.

    The name box is no more responsive which is causing problems on mobile devices. I am adding screenshots.

    Desktop SS: https://drive.google.com/file/d/1Ej_jnD9QigQWRDSCKBoZJx7WSpbYM5hy/view?usp=sharing
    Mobile SS: https://drive.google.com/file/d/1s79vDF44QWQESlhUIMCKcZRM85Uehs9s/view?usp=sharing

    Looking Forward,
    Usman

    #2364794
    Fernando
    Customer Support

    Hi Usman,

    Can you try temporarily disabling Jetpack plugin?

    #2364855
    Usman

    Yes, I did it. The situation is the same.

    #2364903
    Fernando
    Customer Support

    I see. To be sure, can you try #1 here?: https://docs.generatepress.com/article/debugging-tips/

    It would be good to take a backup of your site before doing so.

    #2365007
    Usman

    Hey @Fernando, thank you for suggesting it.

    I did it! I disabled each plugin one by one and tested the site on another browser each time. The problem is still there.

    Please note: I have also disabled the menu plus feature of GP. (Was using previously)

    #2365108
    David
    Staff
    Customer Support

    Hi there,

    have there been any edits made to the Comments form PHP or any PHP Snippets been added to it ? As the Name input field is missing its type attribute.

    #2365132
    Usman

    Thank you @David for replying.

    I haven’t added any snippet regarding the comment form however, I have added a snippet to collect emails (custom code). Further, I also added some CSS to change the color of SUBMIT button.

    I removed both the above and each snippet in the plugin. Then, cleared the cache and tested the site in incognito mode and on my phone too.

    The issue is still there!!!

    #2365138
    Usman

    Further, after going into the inspect, I added type=”text”, and it worked!

    Now question is, where the tag gone!

    #2365393
    David
    Staff
    Customer Support

    Very odd, i think Fernandos train of thought is most probably correct and another plugin is breaking it. If you can’t find the conflict then treat it with this CSS:

    
    .comment-form input[name="author"] {
        border-color: var(--base) !important;
        color: var(--contrast);
        background-color: var(--base-2);
        border: 1px solid;
        border-radius: 0;
        padding: 10px 15px;
        max-width: 100%;
    }
    #2365503
    Usman

    Working fine man. 🙂

    #Appreciated

    Thank you, David and Fernandos. Have a great day.

    #2366000
    David
    Staff
    Customer Support

    Glad we could be of help

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.