0
Welcome Guest! Login
0 items Join Now

Responsive classes bug ?

  • Responsive classes bug ?

    Posted 12 years 5 months ago
    • Hi !

      I don't know if it's a Graffito bug or Gantry, but I post it here. I want to show an ad block only on desktops. So I used the visible-desktop class suffix to that block. But looking at my site, the block is hidden on my laptop. I looked at the CSS with Chrome's Inspector and here's what I found:

      .visible-desktop is by default set to display:none and is set to be visible only between 960px ans 1199px
      @media only screen and (max-width: 1199px) and (min-width: 960px)
      .visible-desktop {
      display: inherit !important;
      }

      Having a screen resolution of 1600, this explains why it is hidden when having my browser's window maximized... I have installed the latest update of Gantry, but it doesn't solve this.

      Of course, I have changed it through my template-custom.less file, but I tell you about this bug so you can add it to the next update ;)

      Thanks
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Responsive classes bug ?

    Posted 12 years 5 months ago
    • try to use this mod suffix

      "visible-desktop visible-large" (without quotes)
  • Re: Responsive classes bug ?

    Posted 12 years 5 months ago

Time to create page: 0.058 seconds