Sidebar should dissapear on a narrow display

I have layout with a right sidebar.
I think the sidebar should dissapear on a narrow display.
It does not.
How can I fix it?
Please see www.albinvega.pl

Marcin

Hi Marcin,

I hope you are well today and thank you for your question.

I visited your shared site and found this is happening because the following custom CSS code added in the style.css file of your Travelify child theme so to resolve the issue just remove the following CSS code from the file.

#primary {
	float: left;
	margin-left: 3.06%;
	width: 75.64%;   /* dodaje 10% */
}

#secondary {
	float: left;
	margin-left: 3.06%;
	width: 21.28%;  /* odejmuje 10% */
}

Best Regards,
Movin

Thanks Movin!
Works.

Marcin

However, I see in a post from two years ago, which I think I followed when I modified style.css:

https://colorlibsupport.com/t/how-to-change-sidebar-width-for-travelify-theme/

> You have created fixed width for #secondary which means that it is no longer responsive. You should > use max-width or width in percentages like It is in clean Travelify theme.

> If you are changing width (in percentage) for #secondary, then you should change width for #primary > as well.

So I thought specifying the widths in percantages is the right way, and the site should remain responsive.
Or?

Marcin

Hi Marcin,

Yes you are right but just wanted to make you clear that the reply posted here https://colorlibsupport.com/t/how-to-change-sidebar-width-for-travelify-theme/#post-2047 is from client who is using Colorlib image as his profile image. We have posted our reply here https://colorlibsupport.com/t/how-to-change-sidebar-width-for-travelify-theme/#post-2048

Regards,
Movin