This topic has 18 replies, 3 voices, and was last updated 3 years, 4 months ago ago by Rose Tyler
Checking this demo https://xstore.8theme.com/elementor/demos/digital-marketing/
Found that the hover animation in the footer nav are possible. I have this hover animation on my header nav. Is it possible to make this on my footer nav as well?
Hello,
Try to use the next custom CSS code:
.footer .menu-element .menu li > a:before {
content: '';
height: 2px;
width: 0;
right: 0;
position: absolute;
transition: width .2s ease-in-out;
bottom: 0;
background: currentColor;
}
.footer .menu-element .menu li > a:hover:before {
width: 65%;
right: auto;
}
Regards
added it to custom css global. with minimal problem
desktop view. http://prntscr.com/16g0utr
tablet view: http://prntscr.com/16g1093
phone view: http://prntscr.com/16g14p5
Is it possible to have the line only on the length of the text?
Hello,
Change the code to:
.footer .menu-element .menu li > a {
padding-left: 0px !important;
padding-right: 0px !important;
}
.footer .menu-element .menu li {
margin-left: 1.07em !important;
margin-right: 1.07em !important;
}
.footer .menu-element .menu li > a:before {
content: '';
height: 2px;
width: 0;
right: 0;
position: absolute;
transition: width .2s ease-in-out;
bottom: 0;
background: currentColor;
}
.footer .menu-element .menu li > a:hover:before {
width: 100%;
right: auto;
}
Regards
Hi, this doesn’t work. makes the lines longer with other texts..
Hello,
Find the below custom
footer .elementor-widget-wp-widget-etheme-menu .menu-element.horizontal .menu>li {
display: flex;
flex-direction: column;
align-items: center;
}
and replace with
footer .elementor-widget-wp-widget-etheme-menu .menu-element.horizontal .menu {
display: flex;
flex-direction: column;
align-items: center;
}
Check the items after that.
Regards
hi i think i need to clear cahe again. !the first code looks working. let me check on chrome and firefox again. thank a lot for the help
Hello,
You are welcome.
Regards
hello guys,
just an update.. i found out that this code works on desktop. but the hover animation on table/phone are longer than the text… this is the code i have right now..
/* Footer Hover Nav */
.footer .menu-element .menu li > a {
padding-left: 0px !important;
padding-right: 0px !important;
}
.footer .menu-element .menu li {
margin-left: 1.07em !important;
margin-right: 1.07em !important;
}
.footer .menu-element .menu li > a:before {
content: ”;
height: 2px;
width: 0;
right: 0;
position: absolute;
transition: width .2s ease-in-out;
bottom: 0;
background: currentColor;
}
.footer .menu-element .menu li > a:hover:before {
width: 100%;
right: auto;
}
Hello,
Please delete right: auto;
from the code – https://gyazo.com/3e99a59b55312d2276ad9f7240ae12c0
Regards
Hello,
tested it.. Please check. http://prntscr.com/17209go
Is it possible to have the lines same as the main nav? lines is same length with the text?
desktop view http://prntscr.com/1720nqu
Hello,
Like this https://gyazo.com/f05ba7b6b28ed432caac5c3e69dfd86a ?
Provide temporary wp-admin access, please.
Regards
Yes!!! Please check private content
THANK YOU!
Hello,
Check now.
Regards
Hi, the hover was fixed. But the nav was changed again on tablet and phone view..
Was supposed to be collapsed. on table and phone view. http://prntscr.com/17abdps
Thanks
Hello,
I added the code that I provided you few messages ago for the mobile devices
footer .elementor-widget-wp-widget-etheme-menu .menu-element.horizontal .menu {
display: flex;
flex-direction: column;
align-items: center;
}
and everything looks ok. Check, please.
Regards
Thank you i think this is fine now. will double check again.
Hello,
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up