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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login