Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #698809

    Hey Guys,
    I was wondering if it is possible to have 3 colums on the same row on mobile landscape just like how it is on desktop version. I have a portfolio to show and i want them next to eachother on mobile landscape. Now i have this code

    .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
    margin: 0;
    margin-bottom: 20px;
    width: 33.3%;
    }

    Wich works fine for me but i want this only for the homepage and not the other pages. Is that possible? When i add the page id before the code it doesnt work.

    #698822

    Hey Angelo,

    Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your column elements and give them a custom CSS class and then change your code to following one

    .your-custom-class {
    margin: 0;
    margin-bottom: 20px;
    width: 33.3%;
    }

    Best regards,
    Yigit

    #698827

    Sadly enough this doesnt work. i gave all the 1/3 elements on the homepage the same classname. It still shows only 1 row instead of 3.

    #699014

    can you please try this :

    @media only screen and (min-width: 360px) and (max-width: 767px)  and (orientation: landscape) {
    #top.home .no_margin.av_one_third {
        width: 33% !important;
    }
    }

    you have to play yourself with these values a bit. i can not simulate it via Firebug or something like this for iphone or ipad – you have to set the rule first and than we will see.

    if you want it globaly get rid of the orientation: landscape
    the min-width should be corrected and the max-width perhaps if you like to set rules for tablets too.

    • This reply was modified 8 years, 1 month ago by Guenni007.
    #699021

    Thanks for your answer but this doesnt work either. I have an code special for mobile Portrait and mobile landscape for the custom css but the code its self for this function doesnt work.

    #699023

    if you take the code globaly :

    .responsive #top.home .no_margin.av_one_third {
        width: 33% !important;
    }

    it works ! you have to find the settings for your landscape option – try to insert that code first and see if it works globaly for your homepage

    #699024

    aha : there comes a class with small screens:

    @media only screen and (min-width: 360px) and (max-width: 767px)  and (orientation: landscape) {
    .responsive #top.home .no_margin.av_one_third {
        width: 33% !important;
    }
    }
    #699025

    why did you use the custom.css ?
    on the majority of all cases the quick css will do the job too!

    if the code above works for you only insert the .home class ( you see just behind #top : #top.home ) that is the specific code for homepage.

    if you only wants to have it for landscape see mediaquerie above

    #699046

    Yes the quick css is what i am using first to test it. if it works i place it in the custom.css.
    As far as i can see it works now!
    Can you see if it works with you too? Thanks!

    #699289

    it works here on my iphone – but i thought you like to have it only for landscape.

    did you use it with the media querie ? – edit – yes i see it.

    try it with:

    @media only screen and (min-device-width : 375px)  and (max-device-width : 667px)  and (orientation : landscape) {
    
    }

    the min-device-width is a bit more specific to device option than the code above

    you have to play a bit with the values : see here the device values: http://stephen.io/mediaqueries/

    #699315

    Yes, i also did it for Portrait. I showed my cliënt this because he wanted that so. I only have to try to make the size beteren the Pictures the same as the under the Pictures and the overlay text needs to be fixed but ill fix that later

    #700556

    Hi,

    As I understand, the current version of the homepage has 3 col view in mobile(landscape and portrait), tablet and desktop.

    You like to make the 3 col image grid a 1 col in mobile portrait correct?

    Do do so please add the below code to Enfold > General Styling > Quick CSS

    @media only screen and (max-width: 520px) {
    .responsive #top.home .no_margin.av_one_third {
        width: 100% !important;
        min-width: 100% !important;
    }}

    If the above don’t work please enable custom css class name support to the grid and use the custom class name to target the grid.

    kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    If you have any issues please get back to us with the login credentials so we can take a closer look and help you better.

    Best regards,
    Vinay

    #700564

    no vinay the other way round – he wants the 3 column for mobile view too. I understand him so , that he wants it only for landscape – so my media-queries should do the job. But now he likes to have the margin bottom/top the same as left/right.

    i can not see a big difference between those distances – you only can try to make it relative – so you have on small pictures not absolute distances.

    .responsive #top.home .no_margin.av_one_third {
        margin: 0 !important;
        padding: 2% 0 !important;
        width: 33.3% !important;
    }
    #701138

    @Guenni007
    Thank you as always!


    @Angelo-ufirst

    Let us know if this helps.

    Best regards,
    Andy

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