Site logo

Archived topic

how to top align check box on posts in mobile

8 replies · Started by Anil on August 20, 2021

Viewing posts 1–9 of 9

how to top align check box on posts in mobile

<input id=wp-comment-cookies-consent name=wp-comment-cookies-consent type=checkbox value=yes>

Hi Ying

I'd like to top align tick box on top in front of "Save my name, email, and website in this browser for the next time I comment."

Because this is middle aligned in mobile....

Give this CSS a try:

p.comment-form-cookies-consent {
    align-items: flex-start;
}

input#wp-comment-cookies-consent {
    margin-top: 8px; 
}

Let me know :)

Thanks Ying, it is working.

Please include this css in theme as well in next update...

Hi

This also having some bad effect on css for right and left navigation on top of featured image :(

Please suggest

P.S. Url added you can view

Thanks Ying, it is resolved.

You are welcome :)

This archived topic is closed to new replies.