WordPress.org

Forums

Desk Mess Mirrored
[resolved] Post comment txt line is ... (4 posts)

  1. another-webmaster
    Member
    Posted 4 years ago #

    Hi there

    Having following problem, see image please:
    Problem is/was also around in version 1.8.6.1
    No active version to show..working on local WAMP server.
    (yes I tried it out online (sub-domain) and had same problem)
    It isn't around as soon one is logged in!
    PhP knowledge here is almost zero, so please bare with me :)

    Thanks in advance

  2. mchelles
    Member
    Posted 4 years ago #

    Do you need to require someone to be logged in when they post? If not, you can just change your "discussion" settings under the general settings tab.

    If you do need people to be logged in, then another easy fix would be to add a new div class for that message (you'll see it in the comments.php file of your theme). Since you don't have a live demo I can't give you the exact fix, but adding some top margin/padding should do the trick to get it knocked down below the image.

    So you would do something like:

    .comment-login {margin-top:40px;}

    And then in your comments file look for that message and then place the div tags

    <div class="comment-login> some php code is here </div>
  3. another-webmaster
    Member
    Posted 4 years ago #

    Thank you for your fast reply mchelles.
    I went through named file mentioned by you, there was imho no "spot" to solve the problem.
    What I did was adding line 1535 in comment-template.php which I found in folder wp-includes.
    Line 1535 -> 'must_log_in' => '<p class="must-log-in">' had the "problem" as mentioned by me.
    Thank you for responding, it helped me to look/search better then I did before.
    If I am totally incorrect then please don't hesitate to respond again.

  4. Edward Caissie
    Theme Review Admin, The JellyBeen Man
    Theme Author

    Posted 4 years ago #

    @another-webmaster: Try changing this line in the style.css file:

    a#cancel-comment-reply-link {
        left: 30px;
        position: relative;
        top: 30px;
    }

    to:

    p.must-log-in, a#cancel-comment-reply-link {
        left: 30px;
        position: relative;
        top: 30px;
    }

    Version 1.9.1 will have this correction. In the meantime, please reverse the modifications to the WordPress core files you have made. There is always another method that can be used.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic