Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #495686

    Hi,

    I am about to complete my website project and it is my first time to use the Enfold theme. Definitely a great theme! Will surely use other Kriesi themes to my next projects.

    I was just wondering.. It is possible in the enfold theme to show or hide the sidebar on Ipad based on orientation?

    Landscape: show
    Portrait: hide

    I did some research and did check the codes inside the css files, however, I am not sure how to get moving (input add’l custom CSS and edit the PHP file???).

    I have read something in this site. This is what exactly I wanted to do (https://dmblog.com/show-or-hide-a-sidebar-on-ipad-based-on-orientation). The instructions are there but… 1) I’m not sure if it will work in Enfold; 2) How to do it in Enfold and 3) Just wanted to make sure i don’t mess up.

    Thanks for the help!

    #496175

    Bump! Any help would be much appreciated

    #496248

    Hey!

    By adding a new reply you do not bring the post to the top, but actually to the bottom of the support list :-)

    Everything is possible, but that would need a lot of work to be done.

    You can contact one of our Customization Contractors, who will help you out with the process.
    http://kriesi.at/contact/customization

    Let us know if we could do anything else, regarding our theme

    Cheers!
    Basilis

    #522292

    Hi! I added this code to my style.css of Enfold child-theme and got what you need:

    @media only screen and (max-width: 1023px) {
    	.responsive .sidebar {
    		display:none !important;
    	}
    
    	.responsive #top .container .av-content-small {
    		width:100%;
    	}
    
    	.responsive .content {
    		border-right:none;
    	}
    
    	.responsive .content .entry-content-wrapper {
    		padding: 0;
    	}
    }
    #522295

    Hey!

    Please refer to @regset’s post above

    @regset
    Thanks :)

    Regards,
    Yigit

    #522857

    Thank you! It is working!

    #522880

    Hi!

    You are welcome, we are always happy to help!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Show or hide sidebar on Ipad based on orientation’ is closed to new replies.