-
AuthorPosts
-
December 9, 2015 at 2:55 pm #549723
Hello,
I have two small issues concerning my website.
1) I don’t see the menu on the mobile version of my website, it simply disappears. It happened since I modified the functions.php on my child theme so I could hide the Enfold logo. Also, the menu on the tablet version sometimes appears on two lines and that’s quite ugly, how can I change that?
2) On the mobile version of my website the background image has a huge zoom (because it’s a vertical screen, I suppose) and it’s impossible to read the name in it, is there a way to change that?
Thank you so much!
Cheers,
NunoDecember 9, 2015 at 4:17 pm #549826Hey nunopintodacruz!
try this code in your Quick CSS field:
@media only screen and (max-width: 1024px) { #top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle { display: block; }}
Best regards,
AndyDecember 9, 2015 at 5:30 pm #549889Hello Andy,
Thank you for your reply. It works!
Is it possible to do something about the second item on my post?
December 10, 2015 at 7:35 am #550195Hi,
You might need to create another section and use an image better adapted to smaller screens then hiding/showing the section with CSS. This might help you on the way:
@media only screen and (min-width: 768px) { #section-desktop { display:block !important; } #section-phone { display:none !important; } } @media only screen and (max-width: 767px) { #section-desktop { display:none !important; } #section-phone { display:block !important; } }
Best regards,
RikardDecember 10, 2015 at 1:23 pm #550342Hello Rikard,
Thank you for your reply.
What do you mean exactly with “creating another section”?December 10, 2015 at 1:30 pm #550347Hi!
He means another color section made specifically for mobile version and choose to display that section on desktops using the code Rikard posted above :)
Cheers!
YigitDecember 10, 2015 at 1:45 pm #550363In my front page I already have a color section with the image that appears on the background.
I can create another section with an image that would be specific mobile version, but where do I put it?Sorry, I’m not an expert :)
Cheers!
NunoDecember 10, 2015 at 2:02 pm #550375Hey!
Right below your current Color Section. Your current color section should have “section-desktop” for unique ID and the one for mobile should have “section-phone” – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png
And then you can simply use Rikard’s code above :)Regards,
YigitDecember 10, 2015 at 4:27 pm #550508Amazing! Now it works.
Thanks a lot :)
Cheers,
Nuno -
AuthorPosts
- The topic ‘Menu on the mobile version of the website’ is closed to new replies.