link in footer jumps on hover
-
Hi there!
In my footer, I have a font that changes to slanted on hover. In Safari it works fine, but in Firefox the whole footer jumps up when hovering over the link.
I have the same effect applied at the title, that also works just fine.
Maybe it´s not a Lay Theme problem, but I hope you have any idea that helps.Here´s the website: https://turbo-type.com/homepage-copy/
And this is my CSS:
.lay-textformat-parent ._Headline_large a span {
font-family: 'NeueKramerGroteskText-90', sans-serif; }
.lay-textformat-parent ._Headline_large a span:hover {
font-family: 'NKGttWebsite-90turbo', sans-serif; }Best wishes!
-
.lay-textformat-parent ._Headline_large a span{ display: block; }
by setting this to block it seems it wont jump
-
yea maybe has sth to do with the font? not sure why that happens
if you have a variable font, you could try to use this and change the italic axis on hover instead of switching the font
-
maybe cause its fixed not sure
-
cause its position: fixed; its css
MAYBE
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it