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

    Hi,

    I am trying to show certain sections on desktop and certain sections on mobile. To do this, I’ve turned off widget areas on mobile and created a new section with an id of .mobile-only. Then I’ve updated the css accordingly but the color section that is supposed to be hidden when viewed from a desktop is still showing up everywhere.

    Please help! Love the theme. Information in private content.

    #785973

    Hey connect4consulting,

    Are you sure you are using the correct media queries? Please see the following to be sure:

    https://www.emailonacid.com/blog/article/email-development/emailology_media_queries_demystified_min-width_and_max-width

    Best regards,
    Jordan Shannon

    #785989

    Can you take a look at the css?

    #785991

    Hi!

    Please change the ID to “mobile-only” and then your CSS to

    @media only screen and (min-width: 990px) {
    #mobile-only { display: none !important; }}
    

    Alternatively, you can enable custom CSS field and give your color section element a custom CSS class – http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/

    Best regards,
    Yigit

    #785995

    Yigit,

    I did or am trying to do what you suggest. I enabled custom CSS field and gave that color section the custom css class of .only-mobile. Then I used the following:

    @media only screen and (max-width: 900px) {
    .only-mobile { display: none !important; }}

    Is that correct?

    #786003

    Hi,

    Your above should work if you want it to only work up until 900px. Is it still not functioning correctly?

    Best regards,
    Jordan Shannon

    #786065

    This is not working. Please help me.
    Thanks.

    #786066

    Hi,

    Please provide login data so I can look into this further.

    Best regards,
    Jordan Shannon

    #786071

    Jordan,

    Login data is in private content.

    Thanks.

    #786376

    Hi,

    There were some errors in your custom CSS code in Style.css file. I corrected them and flushed cache now it works.
    Please review your website now

    Best regards,
    Yigit

    #1037662

    Hi, I’m having the following issue when trying to display some sections just on mobile and some sections just on desktop on my page david.travel. I was using the Quick CSS with the following code:

    @media only screen and (min-width: 769px) {
    .only_mobile { display: none !important;}}

    @media only screen and (max-width: 768px) {
    .only_desktop { display: none !important;}}

    It was working great until I decided to load another enfold demo (2017). And suddenly it stopped working. The coming soon page stopped working as well as other pages in which I was using different id’s for mobile and for desktop. The weird thing is that I tried that on another page with the same coming soon page (david.photo) and it’s not working either.

    What can I do? It’s a bit frustrating.

    #1037823

    Hi,

    Are the classes still being recognized? Please provide a link to the site/page in question so we can look into this further.

    Best regards,
    Jordan Shannon

    #1037961

    Hi, I had it sorted. There was a problem with cache.

    Thanks for your quick reply.

    #1038214

    Hi dgvicario,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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