Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #484763

    Hello,

    I have created a site with text and picture in the first row left and right and the second row rightand left.
    In mobile mode younow see two tables of text and two pictures. I want text picture, text picture. Is it possible to custom only the mobile layout for this?

    http://stassen.hol.es/binnen-zonwering/plissegordijnen/

    #485070

    Hey vincent1108,

    Since the first picture is added to the right column this is the default behaviour, but you could add another version of the section where it’s aligned to the left and show that for mobile only. We can help you out with the CSS for showing/hiding the correct section.

    Regards,
    Rikard

    #485071

    Hello Rikard,

    It would be very nice if You can help me. Can Youexactly explain me how to do it so i can test it? Thanks in advance for you help.

    Vincent

    #485301

    Hi!

    use this code in Quick CSS field:

    @media only screen and (max-device-width: 736px) {
    .flex_column.av_one_half.flex_column_div.avia-builder-el-6.el_after_av_one_half.el_before_av_one_full.column-top-margin {
    top: -230px;
    }
    .avia-image-container.av-styling-.avia-builder-el-5.avia-builder-el-no-sibling.avia-align-center {
    top: 230px;
    }}
    

    Regards,
    Andy

    #486321

    Hello Andy,

    I pasted the code in the quick css field. But i have to add someting elsei think because it doesnot work for now. Can you please help me out? I think i have to add other section but don’t know how.

    #486793

    Hey!

    May we have temporary access to your website so we can take a closer look?

    Regards,
    Dake

    #486805

    Hi yes you can. Which acces level do you need for it?

    #486808

    Hey!

    Preferably an admin level account. Be sure to include any credentials in the private section only.

    Best regards,
    Dake

    #487564

    Hello,

    I send you the the account details. Can you tell me when you changed something so i can test it? Kind regards.

    #487694

    Hi!

    Sure! But i cannot see your login credentials. Can you please post them in private content field?

    Best regards,
    Yigit

    #487731

    I privately send you credentials.

    #488115

    Hi,

    I tried logging in at the address in private but I get a 500 internal server error, what is the URL for logging in to the backend?

    Regards,
    Rikard

    #488149

    I have tried it and for me it works. Could you please try it again?

    #488502

    Hi,

    Sorry for the late reply. Please do the following: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/. Create new items the way you want them to display on mobile. After that assign a class to the items you want to display on desktop/tablets only, for instance show-for-desktop. Then do the same for the items you only want to show on mobile and assign another class to them, for instance mobile-only.

    After that add the following to Quick CSS:

    @media only screen and (max-width: 767px) {
      .show-for-desktop {
      display:none !important;
      }
    }
    
    @media only screen and (min-width: 768px) {
      .mobile-only {
      display:none !important;
      }
    }

    Thanks,
    Rikard

    #489280

    Hi Rikard,

    Thank you for your reaction. I’m on holiday now. After that i will try this.

    #489586

    Hey!

    In that case, we will keep your thread open for the time being.

    Regards,
    Dake

    #494081

    Hi Dake,

    I have tried what You suggested in the page Jaloezieën. I cannot get it work. I inserted the code in the functions-enfold.php. After that I copied your code in the Quick CSS. And on the page itself i inserted the custom CSS. Can You tell me what I do wrong?

    #494645

    Hi,

    I couldn’t find a page called Jaloezieën on your site, did you remove it?

    Thanks,
    Rikard

    #496887
    #497086

    Hi!

    You need to add the code in the functions.php file, not functions-enfold.php file.

    add_theme_support('avia_template_builder_custom_css');
    

    You can then follow Rikard’s suggestion here: https://kriesi.at/support/topic/mobile-layout-problem/#post-488502

    Regards,
    Ismael

    #498003

    Hi Ismael,

    I did now paste it in functions.php but still not functional. Can you please help me out?

    #498804

    Hi,

    I can see the Aangepaste CSS Class when editing the first 1/1 element on the page you previously linked, I’m guessing you got it working?

    Best regards,
    Rikard

    #498939

    Hi Rikard,

    I did manage to get the custom css. What i did not manage is to hide and show parts in mobile or pc. I think i did anything according the description. Can you please help me with this last part?

    Thank you

    #499107

    Hi,

    It all looks good but the CSS is not applying, could you try disabling/clearing your caching plugins to see if that helps?

    Regards,
    Rikard

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