Best Premium and Free WordPress Themes › Forums › SuperMagPro › trouble with layout when "both sidebars" option is selected › Reply To: trouble with layout when "both sidebars" option is selected
		March 21, 2016 at 3:43 pm
		
		#4771
		
		
		
	
Keymaster
		
		
	Please use this custom CSS:
/* Landscape phone to portrait tablet */
@media screen and (max-width:767px){
	/*** SIDEBAR ***/
	#primary,
	.both-sidebar #primary,
	.both-sidebar #primary-wrap #primary,
	.left-sidebar #primary{
		margin:0 0 20px;
		width: 100%;
	}
	.secondary-sidebar,
	.both-sidebar #primary-wrap,
	.both-sidebar #primary-wrap #secondary-left,
	.both-sidebar #secondary-right,
	.right-sidebar .secondary-sidebar,
	.left-sidebar .secondary-sidebar,
	.no-sidebar .secondary-sidebar{
		clear: both;
		float: none;
		margin:0 0 20px;
		width: 100%;
	}
}