Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #610885

    Hello! I was wondering if it was possible to have a boxed layout but only past a certain width similar to http://www.uber.com/

    The site is full width on laptop screens, but on desktop it is boxed.

    Thanks!

    #610938

    Hi peanuttario!

    Yes this is very much possible in Enfold with just 2 easy steps :)

    Please select boxed layout from Enfold > Layout Options
    and select the dimensions

    Regards,
    Vinay

    #611512

    I entered 1700px in the dimensions but the boxed layout still appears when viewing the site on laptop and all other devices that have screens smaller than 1700px.

    What i’m wondering is if we can use this setting strictly for desktop screens. When looking at the uber site, notice that it is full width on laptop but boxed on desktop to prevent the site from stretching too far – this is what i’m trying to accomplish.

    Thank you!

    #613442

    Hi!

    Set the theme layout to “boxed’ then add this in the Quick CSS field:

    @media only screen and (max-width: 1700px) and (min-width: 768px) {
    .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header, .responsive.html_boxed.html_header_transparency #top #header {
        max-width: 100%;
    }
    }

    Best regards,
    Ismael

    #614227

    Hi Ismael! That worked great! Thank you very much! Is it possible to change the background color and/or add a background image to the boxed area?

    #614457

    Hey!

    Please go to Enfold theme options > General Styling > Body Layout and change background color/image as needed

    Best regards,
    Yigit

    #617839

    Got it. Thank you for that, didn’t see that option.

    I do have a question though, I have the boxed layout set to 2000px:

    @media only screen and (max-width:  2000px) and (min-width: 768px) {
    .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header, .responsive.html_boxed.html_header_transparency #top #header {
        max-width: 100%;}
    }

    but for some reason it still looks like certain elements are stretching past the 2000px mark on desktop when you maximize the screen, see link below. How can I make it so that all elements are contained within the specified width?

    #619778

    Hi!

    about which elements are you talking about? link you have provided looks good to me. Can you highlight using screenshots please? use imgur.com or dropbox.

    Cheers!
    Andy

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.