0
Welcome Guest! Login
0 items Join Now

Sidebar top margin on phones

  • Sidebar top margin on phones

    Posted 1 month 3 weeks ago
    • I'm using Helium. On smartphones, there is too much space between the content and the modules below.
      Zero margin top and padding top of g.sidebar are not enough, so I wanted to assign a negative value to the margin. But....
      I don't know which mediaquery to use, I find a little confusion about this online.

      @media screen and (max-width: 600px)
      @include breakpoint(large-mobile-range)
      @include breakpoint(mobile-only)

      Which one among these?
      Thankyou.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22254
    • Thanks: 3223
    • messin' with stuff

    Re: Sidebar top margin on phones

    Posted 1 month 3 weeks ago
    • the Mobile Only breakpoint will use whatever value you have set for your Mobile size on the Page Settings

      docs.gantry.org/gantry5/tutorials/media-queries
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: Sidebar top margin on phones

    Posted 1 month 3 weeks ago
    • Mmmhhhh... I watch the tutorial, I hope I understand what I need

Time to create page: 0.063 seconds