-
AuthorPosts
-
April 27, 2018 at 3:38 pm #947996
The website header isn’t displaying properly on a mobile http://theimplantexperts.com/wp-content/uploads/2018/04/Screen-Shot-2018-04-27-at-14.27.05.png
– Remove the search icon when viewed on a mobile
– The menu is hidden up the ‘Dentist site’ button at the top, move down.
– There’s a lot of extra white space in the headerThe same issues apply to the other site in the multi-sight
This is how I want it to look http://theimplantexperts.com/wp-content/uploads/2018/04/Screen-Shot-2018-04-27-at-14.27.05v2.jpg
Please can you help.
April 29, 2018 at 8:17 am #948561Hey Rupert,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 479px) { li#menu-item-search a { top: 0px; } .responsive #top #wrap_all .main_menu { top: 60px; } }
If you need further assistance please let us know.
Best regards,
VictoriaApril 29, 2018 at 9:07 am #948577Thanks, I’ve added it both via the Quick CSS and custom.css, it’s move the menu down but not removed the search icon and closed up the header depth!?
April 30, 2018 at 7:34 am #948824Hi creativeyes,
Can you try to add this code:
display: none !important;
just below this line of code that Victoria gave:
li#menu-item-search a {
Let us know if this helps.
Best regards,
NikkoApril 30, 2018 at 11:14 am #948979Many thanks, that’s got rid of the search icon but I still have a very deep header with lots of white space.
May 1, 2018 at 7:51 am #949413Hi,
You have this in your custom.css file:
.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 245px !important; }
You can use the same code but with less padding within a media query to target mobile devices.
Best regards,
RikardMay 1, 2018 at 10:19 am #949469Please can you provide the code with ‘a media query’
May 2, 2018 at 2:21 pm #950067Hi creativeyes,
Try adding this css code in Quick CSS:
@media only screen and (max-width:479px) { .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0 !important; } }
Hope it helps.
Best regards,
NikkoMay 2, 2018 at 10:55 pm #950356I’ve added that but it doesn’t seem to have made a difference.
May 2, 2018 at 11:06 pm #950363Hi,
Have you added the codes to very top of quick css so that it runs first before everything else?
Best regards,
Jordan ShannonMay 8, 2018 at 5:44 pm #953477Yes it’s at the top of the quick css panel.!?
May 9, 2018 at 5:38 am #953676Hi creativeyes,
I have replaced the code I gave on your site and changed it to:
@media only screen and (max-width:479px) { .html_header_top.html_header_sticky body#top #wrap_all #main { padding-top: 0 !important; } }
It works now, let us know if you need further assistance.
Best regards,
NikkoMay 9, 2018 at 8:43 am #953753Many thanks for your help, but I have the same issues on the dentist’s site http://dentists.theimplantexperts.com/. Looking at the code it looks like the same code is in there asa well?
May 10, 2018 at 6:15 am #954339Hi creativeyes,
You have this code in your custom.css https://cl.ly/3v2h0f2Z163D on this website http://dentists.theimplantexperts.com/. This is the reason for the issue there. It probably has to be wrapped in a media query.
Best regards,
VictoriaMay 10, 2018 at 10:25 am #954445Thanks Victoria, I have no idea how to ‘Wrap it in a media query’, please can you provide me with the appropriate change
May 10, 2018 at 3:20 pm #954603Hi creativeyes,
I have applied this code to http://dentists.theimplantexperts.com/
@media only screen and (max-width:479px) { .html_header_top.html_header_sticky body#top #wrap_all #main { padding-top: 0 !important; } }
It also worked. Let us know if you need further assistance.
Best regards,
NikkoMay 10, 2018 at 4:22 pm #954644The mobile menu icon has now slipped off the header and onto the top image on the patient site http://theimplantexperts.com/wp-content/uploads/2018/05/IMG_7580.png
and it’s gone under the link button at the top on the dentists site http://theimplantexperts.com/wp-content/uploads/2018/05/IMG_7579.png – plus the search icon has appeared on this one when it shouldn’t be there when viewed on a mobile.
May 11, 2018 at 12:23 pm #955221May 24, 2018 at 4:56 pm #961689I’ve removed the \ but it doesn’t seem to have made a difference!?
May 27, 2018 at 1:04 pm #962706Hi creativeyes,
Looks fine on my end. Could you please clear the cache, check again and get back to us.
Does not look too good on the screen 480-767px, so here is the code for that@media only screen and (min-width:480px) and (max-width:767px) { .html_header_top.html_header_sticky body#top #wrap_all #main { padding-top: 30px !important; } li#menu-item-search a { top: 0px; } .responsive #top #wrap_all .main_menu { top: 60px; } }
If you need further assistance please let us know.
Best regards,
VictoriaMay 29, 2018 at 10:23 am #963541Thanks but it’s still not looking good on any of my web browsers, I’ve cleared the caches on all of them http://theimplantexperts.com/wp-content/uploads/2018/05/Screen-Shot-2018-05-29-at-09.15.27.png – left Chrome, middle safari and right firefox. The menu is sitting on the first banner on the outside two and the middle has a huge amount of extra white space. Plus here it is on my iphone http://theimplantexperts.com/wp-content/uploads/2018/05/Screen-Shot-2018-05-29-at-09.15.27.png
June 1, 2018 at 4:58 am #965049Hi,
Sorry for the delay, I checked your issue and removed the below CSS code from Enfold > General Styling > Quick CSS
@media only screen and (min-width:480px) and (max-width:767px) { .html_header_top.html_header_sticky body#top #wrap_all #main { padding-top: 30px !important; } li#menu-item-search a { top: 0px; } .responsive #top #wrap_all .main_menu { top: 60px; } } @media only screen and (max-width: 1024px) { nav.main_menu { display: block !important; } .menu-item { display: none; } .av-burger-menu-main.menu-item-avia-special, #menu-item-search { display: block; } .av-burger-menu-main.menu-item-avia-special a { line-height: 310px !important; } } @media only screen and (max-width:479px) { .html_header_top.html_header_sticky body#top #wrap_all #main { padding-top: 0 !important; } } @media only screen and (max-width: 479px) { li#menu-item-search a { display: none !important; top: 0px; } .responsive #top #wrap_all .main_menu { top: 60px; } } .av-main-nav > li > a span.avia-menu-text, li#menu-item-search a { position: relative; top: 60px; }
And added this code to the Quick CSS section under Enfold > General Styling
CSS Snippet:
/* CSS - for mobile header */ @media only screen and (max-width: 767px) { #top #menu-item-search { display: none; } .responsive .av-burger-menu-main { position: absolute; top: 46px; right:10px; } } .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0px !important; } /* End CSS */
This is how your header looks now
The large gap you see is coming from custom.css
Did you add 245px top padding to the #main div?
It has an !important in the code due to which other codes do not affect please remove the !important rule and try adding the below code if you still notice the page please get back to us.
CSS Snippet:
/* CSS - Remove top padding in mobile */ @media only screen and (max-width: 767px) { .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0px !important; } } /* End CSS */
Best regards,
VinayJune 1, 2018 at 11:57 am #965236That’s now thrown out the main menu and coloured bar when viewed on full screen http://theimplantexperts.com/wp-content/uploads/2018/06/TIE_Menu.jpg. Please can you correct this asap. I’ll look into the CSS snippet now.
June 1, 2018 at 12:10 pm #965249I believe I’ve done what you asked, this is what’s in the custom.css now…
`/* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */
/* General Custom CSS */
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 245px;
}
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */@media only screen and (min-width: 768px) {
/* Add your Desktop Styles here */}
/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */}
@media only screen and (max-width: 479px) {
li#menu-item-search a {
top: 0px;
}
.responsive #top #wrap_all .main_menu {
top: 60px;
}
}
/* CSS – Remove top padding in mobile */@media only screen and (max-width: 767px) {
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 0px !important;
}
}/* End CSS */
Is this right?
June 1, 2018 at 1:18 pm #965294URGENT HELP!
The changes you’ve made seems to be sorting it out for the mobile but it’s playing havoc with the desktop version http://theimplantexperts.com/wp-content/uploads/2018/06/Screen-Shot-2018-06-01-at-12.15.19.png; The top banner is now hidden behind the header and the main menu is in the wrong position.
Please can some get back to me on this ASAP.
June 1, 2018 at 1:54 pm #965344I’ve had to add the ‘Important’ back in to ensure it displays ok. Please advise asap.
June 1, 2018 at 2:40 pm #965379Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
/* CSS - */ #avia-menu { transform:translateY(70px); } #top #header_main > .container, #top #header_main > .container .main_menu .av-main-nav > li > a { height: 120px!important; } @media only screen and (max-width: 767px) { #avia-menu { transform:translateY(0px); }} /* End CSS */
Result:
Best regards,
VinayJune 1, 2018 at 3:00 pm #965393That’s looking better but the main logo is smaller and also it and the menu drop onto the banner when viewed on a mobile http://theimplantexperts.com/wp-content/uploads/2018/06/Screen-Shot-2018-06-01-at-13.57.22.png. Can you not login and make the necessary changes to get everything looking right at all sizes? This has been going on for so long and just need to get it working properly.
June 1, 2018 at 5:40 pm #965481There’s also the issue that the main main doesn’t stay on the header panel when you scroll down the page http://theimplantexperts.com/wp-content/uploads/2018/06/Screen-Shot-2018-06-01-at-16.37.56.png
June 2, 2018 at 10:54 am #965757Hi,
Sorry that this issue has been an ongoing issue. Some modifications take a lot of time and usually this type of modifications are not supported by theme authors and customers are advised to hire a freelancer. But you are an Enfold customer hence we are going outside the scope of our support and helping you achieve your design goals.
The reason I made the logo small is that you have a lot of menu items and it need’s more space, so on smaller screens, the logo and the menu will run into each other.
I have added extra code and fixed this for you. The logo size will adapt just before the menu runs into it now :)
#header_main { min-height: 189px; } @media only screen and (max-width: 767px) { #header_main { min-height: 120px; } } @media only screen and (min-width: 1200px) { /* Custom logo size */ #top .logo , #top .logo a { width: 188px; height:auto; } }
Please feel free to review the site now the header too should work fine :)
PS: We post the code here so it can help others with the same issue.
Best regards,
Vinay -
AuthorPosts
- You must be logged in to reply to this topic.