Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: adding animation to footer menus

Solved

adding animation to footer menus

technase
Shopify Partner
195 1 45

Hi, 

I need help with adding animation to my footer menu, similar to the animation used in the main menus in the header.

 

Any help is greatly appreciated 

 

link: https://testingstoresandthemes.myshopify.com/

storefront password: 12345

 

screencapture-testingstoresandthemes-myshopify-2024-10-22-16_12_05 copy.jpg

technase
Accepted Solution (1)

EvinceDev
Shopify Partner
121 13 13

This is an accepted solution.

Hello @technase , 
firstly remove this and add below i have given,

@media screen and (min-width: 750px) {
    .footer-block__details-content .list-menu__item--link:hover, .copyright__content a:hover {
        text-decoration: underline; 
       text-underline-offset: .3rem; 
    }
}

 

footer .footer-block__details-content a{
 position: relative;
}

footer .footer-block__details-content a::after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 2px;
    background: #000;
    top: 70%;
    left: 0;
    transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
}

footer .footer-block__details-content a:hover::after{
  width: 100%;
}

check this recording for result : https://www.awesomescreenshot.com/video/32813231?key=5f94425164e14c9c65e15faa8ebd0297

Shopify Theme Advanced Backend Developer and Debugger
Want to modify or develop new app, Hire us.
If our Answer is helpful then please Like and Accept Solution!
I am an eCommerce and Marketing Technology consultant based in India.
To inquire about consulting work availability, You can reach me on Skype by live: rahul.evince or mail on partners@evincedev.com.
Shopify Apps URL :- https://apps.shopify.com/partners/gemfind1
Customization on Shopify Theme | Shopify App Development | SEO & Digital Marketing

View solution in original post

Replies 3 (3)

rajweb
Shopify Partner
366 35 50

Hey @technase ,

To help you add animations to your footer menu similar to the main header menu, here’s a general approach based on common animation techniques that can be implemented with CSS:

/* General footer link styles */
.footer-block .animate-footer-link {
  position: relative;
  opacity: 0; /* Start with invisible links */
  transform: translateY(20px); /* Initial position for sliding in */
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Trigger the slide-in when footer is in view */
.scroll-trigger.animate--slide-in .footer-block .animate-footer-link {
  opacity: 1; /* Fade in */
  transform: translateY(0); /* Slide to the final position */
}

/* Adding hover effect to animate link colors */
.footer-block .animate-footer-link:hover {
  color: #ff0000; /* Customize hover color */
  text-decoration: underline; /* Optional */
}

If I was able to help you, please don't forget to Like and mark it as the Solution!

Best Regard,

Rajat Sharma

-Need a Shopify developer?
https://rajatweb.dev/
Email: rajat.shopify@gmail.com

EvinceDev
Shopify Partner
121 13 13

This is an accepted solution.

Hello @technase , 
firstly remove this and add below i have given,

@media screen and (min-width: 750px) {
    .footer-block__details-content .list-menu__item--link:hover, .copyright__content a:hover {
        text-decoration: underline; 
       text-underline-offset: .3rem; 
    }
}

 

footer .footer-block__details-content a{
 position: relative;
}

footer .footer-block__details-content a::after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 2px;
    background: #000;
    top: 70%;
    left: 0;
    transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
}

footer .footer-block__details-content a:hover::after{
  width: 100%;
}

check this recording for result : https://www.awesomescreenshot.com/video/32813231?key=5f94425164e14c9c65e15faa8ebd0297

Shopify Theme Advanced Backend Developer and Debugger
Want to modify or develop new app, Hire us.
If our Answer is helpful then please Like and Accept Solution!
I am an eCommerce and Marketing Technology consultant based in India.
To inquire about consulting work availability, You can reach me on Skype by live: rahul.evince or mail on partners@evincedev.com.
Shopify Apps URL :- https://apps.shopify.com/partners/gemfind1
Customization on Shopify Theme | Shopify App Development | SEO & Digital Marketing
technase
Shopify Partner
195 1 45

This is perfect. Thank you so much.

technase