Support » Themes and Templates » Comment form – email field not positioned correctly

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Sure, for some reason it has been set absolute positioning;

    #email {
     ...
     position: absolute;
     left: 192px;
     top: 54px;
    }

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Try using a browser developer tool for this kind of exploratory CSS work.
    I used Google Chrome’s built-in Developer Tool just because I find it particularly easy to expose underlying HTML and CSS as compared to Firebug.

    Now that you know the style, from being exposed/added by the Developer Tool, you can add a new style to override it.

    You ought to add new styles externally, not within the theme’s files. Changes to the theme’s files will compromise the theme and be compromised when the theme updates.

    External changes can be made using a Child Theme or through a plugin that provides Custom CSS functionality.

    I recommend using the Jetpack plugin and its Custom CSS functionality to hold your CSS modifications.

    How odd. This is a child theme running on the Genesis framework and I’ve searched everywhere using Firebug.

    I’m not sure how to override that positioning, though. I tried position: relative and position: none with no effect.

    Thanks so much for your help.

    I was able to fix it. Thanks again for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comment form – email field not positioned correctly’ is closed to new replies.