-
AuthorPosts
-
September 7, 2018 at 5:31 pm #1007212
Hi Enfold,
I have seen a lot of threads in the forum covering this item. Items that even discus the padding of the logo as the logo is covering the menu. It might that I have the same problem but I ended up trying code from other treads without understanding what I was doing. That can be right!
So I have the problem too that my menu dissapeared when the site is viewed on a mobile phone. I have applied the code found in https://kriesi.at/support/topic/remove-enfold-logo-from-header/ It should remove the enfold logo and project the site identity (side title and tagline).
My quick CSS looks like this.
/*
on hover vergroot de foto
*/
.image-overlay { display: none !important; }#main a:hover {
-webkit-transform: scale(1.05,1.05);
transform: scale(1.05,1.05);
transition: all .3s ease-in-out;
-webkit-transition: all .3s ease-in-out;
}
#main a {
transition: all .3s ease-in-out;
-webkit-transition: all .3s ease-in-out;
}/*
verwijder enfold logo
*/.logo img {
display: none;
}/*
maakt de achtergrond van de menubalk blauw
makes the background color of the menu bar turn blue
no link available from forum
*//*
stretch header background picture
*/.header_color .header_bg {
background-size: cover;
}#header_main_alternate, .bottom_nav_header.social_header .main_menu ul:first-child {
background: #3b5998;
}/*
verwijderd de rand om plaatjes heen
removes the border from pictures containing a hyperlinkhttps://kriesi.at/support/topic/how-to-remove-the-image-borders/
*/
a img, a:hover img{
border: none !important;
background: transparent !important
}.entry img{
border: none !important;
background: transparent !important
}/*
verwijderd de pijl over een plaatje met een link
removes the overlay on a picture with linkhttps://kriesi.at/support/topic/how-to-disable-hover-onmouseover-on-images/
*/
.image-overlay {
display: none !important;
}/*
Please firstly turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and give elements you would like to hide on mobile a custom CSS class (i.e.: only_desktop ) and then add following code to Quick CSS in Enfold theme options under General Styling tab
https://kriesi.at/support/topic/how-to-hide-some-elements-in-mobile-version/#post-362263
*/
@media only screen and (max-width: 768px) {
.only_desktop { display: none !important; }}/*
http://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/
You can add following code to Quick CSS in Enfold theme options under General Styling tab to switch to mobile menu on landscape mode on tablets (1024px)@media only screen and (max-width: 1024px) {
#mobile-advanced, #advanced_menu_toggle, #advanced_menu_hide { display: block; }
nav.main_menu { display: none; }}
#wrap_all {
position: relative !important;
}
*//*
font kleur search bar instellen op zwart
*/#s { color: black !important; }
/*
tonen van het menu op mobiel@media only screen and (max-width: 767px) {
#advanced_menu_toggle, #advanced_menu_hide {
display: block;
right: 10px;
}
}
*/Do you have any idea how I could fix this?
Best regardsBart Altena
September 9, 2018 at 1:21 am #1007516Hey alteba,
I have taken a look at your site and checked your css for errors, which I found none.
So if I understand correctly, you don’t see your mobile menu on mobile screens?
Yet I do see your mobile menu on Android mobile, you you believe that this only occurs on iPhone?
Or perhaps I miss-understood the issue?
Is your second question that you would like to remove the logo and only have a text link in the logo area on mobile? I see you have no logo for your desktop size header, do you also want a text link there too?Best regards,
MikeSeptember 12, 2018 at 11:24 am #1008855Hi Mike,
Sorry for the late response. An other project kept me busy.
Maybe I should better discribe what I am trying to achieve.
What I would like to achieve:
– remove the enfold logo in the header when the visitot views the website on pc, tablet and mobile phones and display the site identity without loosing the menu.Additional (but not important)
where site title: – font:mistral; font-size:25px; font-color:white
and tagline: – font:arial; font-size:15px; font-color:redSee one of my previous treads: https://kriesi.at/support/topic/remove-enfold-logo-from-header/
The reason you see the menu in header when looking at the website over a mobile phone is because I remmed (temporary diabled) the code below in the function.phpadd_action(‘avf_logo_final_output’, function() {
ob_start();
?>
<div class=”custom_logo”>
<H2><?php echo get_bloginfo( ‘name’, ‘display’ ); ?></H2>
<H4><?php echo get_bloginfo( ‘description’, ‘display’ ); ?></H4>
</div>
<?php
return ob_get_clean();
});As soon as I enable the code above, then I see the sidetitle and tagline again, but is the menu gone.
Do you have any advise how to solve this?- This reply was modified 6 years, 3 months ago by alteba. Reason: remove unnessecary code
September 12, 2018 at 12:09 pm #1008870Hi,
To replace the default enfold image logo with your text logo please try this solutionBest regards,
MikeSeptember 21, 2018 at 9:31 am #1012690Hi Mike,
Thanks for the support. I managed to get it fixed. thanks to the link you’d sent.
Best regards,Bart
September 21, 2018 at 12:30 pm #1012736 -
AuthorPosts
- The topic ‘Menu burgen not showing on mobile’ is closed to new replies.