Coder Social home page Coder Social logo

Comments (14)

braginteractive avatar braginteractive commented on August 16, 2024

Do you see the double vertical scrollbar on our demo ribbon page? http://mdlwp.com/demo/ribbon-page/

from mdlwp.

atais avatar atais commented on August 16, 2024

Hm, no it's ok in the demo. I will try to find what is causing the issue.

from mdlwp.

atais avatar atais commented on August 16, 2024

It is doubled when you log in to Wordpress and the Wordpress bar is visible.

from mdlwp.

braginteractive avatar braginteractive commented on August 16, 2024

I think because they are both fixed.

from mdlwp.

atais avatar atais commented on August 16, 2024

you can change some div's to have overflow-y: hidden;. I will do some fixes and PR when I finish my fork.

from mdlwp.

braginteractive avatar braginteractive commented on August 16, 2024

@leoradmagnegithub does the demo have a double scrollbar?

from mdlwp.

 avatar commented on August 16, 2024

My website work perfectly on every browser, except for Mozilla Firefox (v.45.0.1).
This because there's a double vertical scroll bar.
This bar isn't in all other browsers like Chrome, Opera and IE 11.

In the demo, this double vertical scroll bar never appear.

cattura

from mdlwp.

alexandre67fr avatar alexandre67fr commented on August 16, 2024

The double bar appears when administrators are logged in.

This is due to the fact that WP adds

html { margin-top: 32px !important; }

The first scroll bar appears for html tag, the second one for div.mdl-layout

A solution simple solution for modern browsers in functions.php:

// Bugfix for double admin bar

add_action( 'wp_head', function () {

  if ( ! is_admin_bar_showing() )
    return;

  echo '
    <style>
      html {
        overflow: hidden;
      }
      .mdl-layout {
        height: calc(100% - 32px);
      }
      @media screen and (max-width: 782px) {
        .mdl-layout {
          height: calc(100% - 46px);
        }
      }
    </style>
  ';    

}, 999);

from mdlwp.

alexandre67fr avatar alexandre67fr commented on August 16, 2024

@leoradmagnegithub my comment is a reply to @atais 's issue, which is double vertical bar on ribbon template, when logged in as administrator in all browsers.

The issue that you've posted is most probably a different one.

from mdlwp.

 avatar commented on August 16, 2024

Ah ok, sorry.
Have you got any idea about my issue?

from mdlwp.

alexandre67fr avatar alexandre67fr commented on August 16, 2024

No, sorry. I didn't see any issues with my website using the latest version of the theme in Firefox.
Is your site online? I could have a look, and see what might be the issue.

from mdlwp.

alexandre67fr avatar alexandre67fr commented on August 16, 2024

You're using a plugin that adds a bar at the top of the page. This not an issue of the theme.

from mdlwp.

alexandre67fr avatar alexandre67fr commented on August 16, 2024

You need help of a developer with your website, this is not an issue if this theme.

from mdlwp.

leoradprogrammer avatar leoradprogrammer commented on August 16, 2024

Yes, sorry for the loss of time. I had had a problem on my site.

(This is the new account of the "ghost" in the previous comments)

from mdlwp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.