-
AuthorPosts
-
April 9, 2019 at 9:39 am #1088599
Dear support,
i changed the logo on mobile view with the following code. After the last enfold-update it doesn´t change the logo anymore. Do you have an idea what i could change in the code to make it work again?
Thanks for any help/*different logo and menu top distance on smaller screensize*/ @media only screen and (max-width: 990px) { .logo img { opacity: 0; } .logo a { background-image: url(https://URL.de/wp-content/uploads/2016/03/logo-140.jpg); background-repeat: no-repeat; background-size:contain; } .avia-menu.av-main-nav-wrap {top: 25px ;right:35px;} .header_main{height: 120px!important;} /*different bookmark and linbe beside facebook on smaller screensize*/ #header_main nav .social_bookmarks { top: 43px;} .avia-menu.av_menu_icon_beside {border-right-width: 0px;} }
April 9, 2019 at 6:23 pm #1088779Hey dondela,
I have checked your site and the code you posted isn’t reflecting on your site.
Can you try to disable CSS file merging and compression in Enfold > Performance?Best regards,
NikkoApril 9, 2019 at 6:58 pm #1088812Hey Nikko,
i disabled the file merging and now the logo change does work. But now the mobile menu is under the logo instead of right beside it. Do you have a hint for me?
Thanks for helping!April 10, 2019 at 10:12 am #1089054Hi dondela,
I think that’s because of this code:
#top #header_main > .container, #top #header_main > .container .main_menu .av-main-nav > li > a, #top #header_main #menu-item-shop .cart_dropdown_link { height: 160px!important; line-height: 160px!important; }
you can either remove it or just override it with this code:
@media only screen and (max-width: 990px) { #top #header #header_main > .container .main_menu .av-main-nav > li > a { height: 80px !important; line-height: 80px !important; } }
Best regards,
NikkoApril 10, 2019 at 1:25 pm #1089124Hey Nikko,
thank you very much for your help!April 11, 2019 at 4:35 am #1089355Hi,
I’m glad this was resolved. If you need additional help please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘change logo on mobile’ is closed to new replies.