Hi,
I’m using spotlight default theme and want to move the comment box (starting from leave a comment to post comment) above the published comments.
Can anyone help me to do that?
Please check out this page for better understanding - https://ausfin.in/blogs/latest-blogs/why-you-should-invest
1 Like
I use a different theme, but you need to alter the comments.liquid file to do this. Basically cut and past the ‘form’ tag and its contents and put it above the ‘div’ tag that contains the comments:
Hi @Abhishek_Singh ,
This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/section-blog-post.css->paste below code at the bottom of the file:
.article-template__comment-wrapper #comments {
display: flex;
flex-wrap: wrap;
}
.article-template__comment-wrapper #comments > * {
width: 100%;
}
.article-template__comment-wrapper #comments > h2 {
order: 1;
}
.article-template__comment-wrapper #comments .comment-form {
order: 2;
margin-bottom: 60px;
}
.article-template__comment-wrapper #comments .article-template__comments {
order: 3;
}
I hope it would help you
Best regards,
Richard | PageFly
1 Like
Hey @PageFly-Richard ,
How can I move 2 comments below post comment as well.
Thanks for helping me out with this.
Hi @Abhishek_Singh ,
Where do you want to move those 2 comments? Is there a screen shot so I can check it for you?
Best regards,
Hey @PageFly-Richard ,
I want to move those 2 comments below “post comment button”
Hi @Abhishek_Singh ,
You can try below code in section-blog-post.css file:
.article-template__comment-wrapper #comments .comment-form {
order: -1;
}
I hope it would help you
Best regards,
Richard | PageFly
1 Like