Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #12305
    Printsev
    Member

    Hello,
    I would like to know if there is a code to put Edit and Reply onto the same line?

    Best regards,
    R.P.

    #12319
    Sakin
    Keymaster

    @Printsev: I don’t get it what you mean, Can you send me the screenshot and also your site url?

    #12320
    Printsev
    Member
    #12330
    Sakin
    Keymaster

    @Printsev: It is difficult to manage just with css as it’s not coded in the same wrap. So, we have to play with position with CSS. I am not so sure about the position that will be exact or not. You can try adding in the following css in “Appearance => Theme Options => Custom CSS” box.

    .comment { position: relative; }
    .comment .reply {
    	bottom: 70px;
        bottom: 7rem;
        display: block;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 0;
    }
    @media screen and (min-width: 1190px) {
    .comment .reply {
    	bottom: 90px;
        bottom: 9rem;
    }	
    }
    @media screen and (max-width: 1060px) {
    .comment .reply {
    	bottom: 50px;
        bottom: 5rem;
    }	
    }
    #12354
    Printsev
    Member

    Thank you, that worked great,
    http://gyazo.com/03ce275111b6341292786cd580131fbe
    Is it possible to also reduce the gap between comments?

    #12363
    Printsev
    Member

    sorry just noticed a problem when logged out
    http://gyazo.com/a4666666a21acd21792da01a0a3804eb

    #12379
    Sakin
    Keymaster

    @Printsev: Since you want to use that css for logged in css. Replace the above css with the following.

    .logged-in .comment { position: relative; }
    .logged-in .comment .reply {
    	bottom: 70px;
        bottom: 7rem;
        display: block;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 0;
    }
    @media screen and (min-width: 1190px) {
    .logged-in .comment .reply {
    	bottom: 90px;
        bottom: 9rem;
    }	
    }
    @media screen and (max-width: 1060px) {
    .logged-in .comment .reply {
    	bottom: 50px;
        bottom: 5rem;
    }	
    }
    #12389
    Printsev
    Member

    thank you, all worked. except a little edit with rem: from 9rem at 1190px to 6.4rem and at 1060px from 5rem to 3rem.

    #12410
    Sakin
    Keymaster

    ok cool

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Spacing in comments’ is closed to new replies.