Comments (14)
Do you see the double vertical scrollbar on our demo ribbon page? http://mdlwp.com/demo/ribbon-page/
from mdlwp.
Hm, no it's ok in the demo. I will try to find what is causing the issue.
from mdlwp.
It is doubled when you log in to Wordpress and the Wordpress bar is visible.
from mdlwp.
I think because they are both fixed.
from mdlwp.
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.
@leoradmagnegithub does the demo have a double scrollbar?
from mdlwp.
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.
from mdlwp.
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.
@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.
Ah ok, sorry.
Have you got any idea about my issue?
from mdlwp.
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.
You're using a plugin that adds a bar at the top of the page. This not an issue of the theme.
from mdlwp.
You need help of a developer with your website, this is not an issue if this theme.
from mdlwp.
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)
- Use different colors HOT 1
- Problem on mobile devices HOT 2
- WARN deprecated [email protected] HOT 1
- Problem in the menu of the demo. HOT 1
- Search bar HOT 1
- Icons in drawer menรน
- No option to add/change header image HOT 2
- blue gray color not working HOT 1
- MDLWP Portfolio HOT 3
- Not working correctly with the portfolio plugin HOT 1
- masonry view broken HOT 1
- Theme broken: Invalid argument provided to upgrade MDL element HOT 1
- Disqus not working HOT 5
- Material Design Portfolio HOT 12
- Submenu doesn't work HOT 3
- Registry returning 404 HOT 3
- Trouble with jetpack infine scroll HOT 1
- Sticky footers don't work in this theme HOT 2
- Material Design Portfolio plugin HOT 2
- JetPack Cookies Banner Widget
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdlwp.