Hide slider on mobile

ThemeBurn SupportForumsOpenCart ThemesKiddos OpenCart ThemeHide slider on mobile

This topic has been marked as resolved.

Hi,
can you tell me how to hide slider on mobile device ?

thank you in advance

April 16, 2016 at 9:07 am #46588

Hi,

1. Go to BurnEngine – Theme Options – Settings – Custom – Stylesheet, and add custom css:


@media (max-width: 768px) {
  .hidden-sm {
    display: none;
  }
}

2. Then in Layout Builder edit Row where you place your Slider block and under Advanced tab add Extra class hidden-sm for complete Row or Column you want to hide.

3. Update Row setting

4. Save Content settings

br

 elegor
April 16, 2016 at 10:00 pm #46601

Hi Elegor,
thank you very much for your help, it works perfectly.

;)

April 17, 2016 at 12:31 am #46612

no problem :) …. for sure i gonna need some advice as well …
keep forum alive :)

 elegor
April 17, 2016 at 1:37 am #46613

Sur, It’s always good to share our knowledge and this can serve everyone.

April 17, 2016 at 8:02 am #46614

Hi,

You don’t need to add the styles from the Custom Stylesheet panel. Since BurnEngine is Bootstrap ready, this code is part of theme stylesheet and can be used directly :)

BR,
ThemeBurn team

April 18, 2016 at 11:08 am #46639

hi,
I do not know why but this feature does not work anymore, another idea?

May 9, 2016 at 1:02 am #47327

@Myskin67

Additional classes are removed while initializing. This is happening only with fullscreen sliders and will be fixed with the next update.

You can use this workaround until then:

@media (max-width: 768px) {
  #wrapper > .tb_widget_fire_slider {
    display: none;
  }
}

BR,
ThemeBurn team

May 9, 2016 at 10:46 am #47337

Hi,
your custom code work perfectly thank you :)

May 9, 2016 at 11:34 am #47342

Glad we could help :)

BR,
ThemeBurn team

May 16, 2016 at 12:28 pm #47591
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.