How to manipulate comment_form ?

Discussion in 'GoldenEagle WordPress Theme' started by totr_de, Sep 7, 2013.

  1. totr_de

    totr_de Member

    Joined:
    Apr 20, 2012
    Messages:
    31
    Likes Received:
    0
    Location:
    Mainz, Germany
    Hi

    I installed the plugin Subscribe To "Double-Opt-In" Comments that currently puts a checkbox below the SUBMIT your comment button for each blog article.
    I would love to have the checkbox of this plugin between the box for the comment and the SUBMIT button. Is this possible?

    I am thinking of manipulating the comment_form to achieve this goal, but I am not sure if this is the correct workflow.

    Thanks in advance,
    Stephan
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Stephan,

    Please do let me know your website link.
    If plugin style allow then I will try to provide you code for this.
     
  3. totr_de

    totr_de Member

    Joined:
    Apr 20, 2012
    Messages:
    31
    Likes Received:
    0
    Location:
    Mainz, Germany
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .subscribe-to-doi-comments {
    margin-top: -103px;
    }
    textarea#comment{
    margin-bottom: 40px;
    }
    
    Adjust its value as per your requirements.
     
  5. totr_de

    totr_de Member

    Joined:
    Apr 20, 2012
    Messages:
    31
    Likes Received:
    0
    Location:
    Mainz, Germany
    Hi Gourav,
    your code seems to work, except that I now have a line break inbetween the check box and the sentence "subscribe me".

    Cheers
    Stephan
     
  6. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .subscribe-to-doi-comments label {
    position: relative;
    top: -22px;
    right: -22px;
    }
    You can adjust the value of "top" and "right" as per your requirement.
     

Share This Page