Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1074606

    Dear Enfold-Team,

    I have one page with two timeline elements next to each other 1/2 1/2 and it’s content is overlapping on smaller screens. How can I add a scrollbar or make it look nicer?

    Page: https://www.theresart.at/theres-me/

    Screenshot: https://www.dropbox.com/s/jfji5ufc81svkuj/overlaying%20content.JPG?dl=0

    Thanks for helping me!
    Theresa

    • This topic was modified 5 years, 2 months ago by There_s_art.
    #1075321

    Hi Theresa,

    This is my suggestion on how to deal with it, edit those 1/2 columns and in Screen Options just show it in desktop and hide it in tablet and mobile.
    Then create 1/1 column containing the 2 timelines (just copy it from those 1/2 columns) then in the Screen Options hide this on desktop and show in tablet and mobile.
    Hope this helps.

    Best regards,
    Nikko

    #1076814

    Hey Nikko,

    the problem occurs only on desktop version (smaller desktop screens)!
    On mobile version it’s already solved.

    Best regards,
    Theresa

    #1077642

    Hi Theresa,

    I see, in that case, you need to use Custom CSS Classes.
    Go to Enfold > Layout Builder > check Show element options for developers.
    This will enable Custom CSS Classes on all elements.
    On the 1/2 column, add this on Custom CSS Classes: timeline-desktop
    Then on the 1/1 column, add this on Custom CSS Classes: timeline-mobile and save.
    Go to Enfold > General Styling > Quick CSS, and add this css code:

    #top .timeline-mobile {
      display: none !important;
    }
    
    @media only screen and (max-width:1600px) {
      #top .timeline-mobile {
        display: block !important;
      }
    
      #top .timeline-desktop {
        display: none !important;
      }
    }

    Best regards,
    Nikko

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