Announcement

Collapse
No announcement yet.

Mobile view on different style

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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


      • #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


        • #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...
          X