Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #675871

    Hi,
    I’d like to know if it’s possible to keep my sidebar on the right side of the content when i look at the website on the iPad (Landscape view). I would place the sidebar below the content for the user looking at the iPad in portrait mode. Am i clear?

    Thanks! : )

    #676999

    Hey Érik,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    
    /* Landscape */
    @media only screen 
      and (min-width: 768px) 
      and (max-width: 1024px)  {
      	.responsive #top #main .sidebar.smartphones_sidebar_active {
        width: auto!important;
        clear: none!important;
    }
    
    	.responsive #top .container .av-content-small {
    		width:65%;
    		padding-right:30px;
    	}
    
    	.responsive .content {
    		border-right:none;
    	}
    
    	.responsive .content .entry-content-wrapper {
    		padding: 0;
    	}
    
    }
    
    

    Best regards,
    Vinay

    #677733

    Hello Vinay!
    This is exactly what i need. : )

    You are great!

    Thanks a lot,

    Érik

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Keep sidebar on the right side, next to content on iPad.’ is closed to new replies.