Mobile view on different style

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • holymannn
    Senior Member
    • Oct 2018
    • 123
    • 5.3.x

    Mobile view on different style

    Hi, on vb5.4.4, is it possible to force mobile view at different style?. For example, on desktop view uses vb default style, when switch to mobile view, uses vb red style for example.
    Hosting: HostGator dedicated server
    cloudflare enabled
    PHP: 7.4
    MySQL: 5.7
    Vb5: 5.6.3
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74078

    #2
    No. This is not a feature in vBulletin 5. All of the default vBulletin 5 styles are responsive to mobile devices and will display properly at different resolutions.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • holymannn
      Senior Member
      • Oct 2018
      • 123
      • 5.3.x

      #3
      Thanks Wayne. How about disable certain hook when using mobile view? I have a advertisement banner hook under navigation bar. But i do not wish it to appear on mobile view. How should i do it? thanks
      Hosting: HostGator dedicated server
      cloudflare enabled
      PHP: 7.4
      MySQL: 5.7
      Vb5: 5.6.3

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74078

        #4
        If the Ad has its own CSS class, you can hide it via CSS using media queries. You can place your custom CSS in the css_additional.css template. For example:

        Code:
        [noparse]
        @media only screen and (max-width: 600px) {
            .unique_class {
                display: none;
            }
        }
        [/noparse]
        Or If you use vBulletin 5's modules, they all have an option where you can set the screen sizes that they display on.

        Otherwise you would have to discuss the issue with the developer of the code running on that hook.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • holymannn
          Senior Member
          • Oct 2018
          • 123
          • 5.3.x

          #5
          Thanks Wayne, i will give it a try
          Hosting: HostGator dedicated server
          cloudflare enabled
          PHP: 7.4
          MySQL: 5.7
          Vb5: 5.6.3

          Comment

          Related Topics

          Collapse

          Working...