Align sidebar with container

Dear Colorlib-Team,

I want to line up the sidebar with the last post of the container (show attached), could you help me do this on my site please?

Thanks for advance,


This implied the primary content compartment likewise expected to flex to suit pretty much sidebar content. This post will demonstrate to you how I made this format hack utilizing Flex box and I will disclose how to make your own HTML layout that contains the accompanying.Essay help online


I solved the problem in the PC version, but in the mobile version, you see a very large space between the header and the last post, could you please help me with this?

Thanks for advance,


Hi there

Hope you are having a good day and thank you for your question :slight_smile:
In order to check your question i need to see your live website, please provide url and i will take a look


My website is

Best regards,


Hello there,

I hope you are doing well today.

You can use the following CSS code to fix the spacing on mobile by going to Appearance > Customize > Additional CSS and pasting it there.

/*Mobile spacing*/
@media only screen and (max-width: 800px) {
.main-content-area {
    margin-top: 0px;

Best Regards,

Excellent, that solved the problem. Thank you very much.

Hi, there

I will now close the topic and mark it as resolved. Feel free to contact us again Thanks!