Animation In The Classic Menu - Question | JoomShaper

Animation In The Classic Menu

Deich8

Deich8

Template 4 years ago

Hello, can I turn off the animation in the Classic Menu in Restora? Best regards Ingo

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #18149

Hi, Do you mega menu (main menu) from the top? And do you want to remove underline animation? If yes, just use this custom CSS

 .sp-megamenu-parent > li > a::before {
    background: #fff;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}
0
Deich8
Deich8
Accepted Answer
4 years ago #18150

The menu with the meals and drinks. Add on: Classic Menu

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #18151

But if you thought about Food Menu from addon Classic Menu - as I remember you have to turn off animation in addon code OR disble using custom CSS.

Details: Animation was added inside this addon code as extra styles inside this file: templates\shaper_cuisine\sppagebuilder\addons\classic_menu\site.php

Line 70 - where animation classes & styles are added.


OR
Just use below custom CSS only on your restaurnat menu page

 .sppb-classic-menu-inner.sppb-animated {
    -webkit-animation-duration: 0s;
    animation-duration: 0s;
    -webkit-animation-fill-mode: none;
    animation-fill-mode: none;
}
0
Deich8
Deich8
Accepted Answer
4 years ago #18156

Hi Paul, thank you very much for your quick help. One more question. Can you see why mobile the distance between the 2 and 3 (4 and 5) etc. is greater than between the 1 and 2 entry. Ingo

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #18175

I think it's because default margin, that it's also used in mobile view. But below code should help

@media (max-width: 640px) {
.sppb-addon-classic-menu .sppb-classic-menu-items > div {
    margin-bottom: 0px;}
}
0