Home › Forums › Free Themes › Clean Commerce › Header/parent menu on desktop and mobile
Tagged: clean commerce, menu, responsive
- This topic has 9 replies, 2 voices, and was last updated 7 years, 6 months ago by wensolutions.
-
AuthorPosts
-
May 11, 2017 at 10:06 pm #42396amplifyconsultingParticipant
Hi there. The header/parent menu is weird on this page, displaying not quite right on desktop and mobile.
(yes, that’s really a real company) LOL
Can you tell me what’s going on and how to fix it?
Thanks
May 12, 2017 at 1:01 am #42403wensolutionsKeymasterHello @amplifyconsulting,
As we have inspected your site URL we found that you have assigned the menu in the Header Menu location . The Header Menu is designed in such way. There is no any issue in the design .
But if you want them to appear just above the content you have to assign the menu to Primary Menu location By going to Admin Panel > Appearance > Customize > Menus > Menu Location.
Hope this helps.
If you need nay further assistance, please let us know.
Best Regards!!
May 12, 2017 at 1:26 pm #42435amplifyconsultingParticipantHi there, sorry, I’m not quite clear on what you’re suggesting.
Are you saying that because I have a menu assigned in the Header Menu location, it’s messing with the responsive display?
I wish I could show a screen shot here, but basically, when displayed on a tablet or phone, I’m getting a hamburger menu on both the left and the right. I only one the one on the right.
Also – the logo is not appearing correctly … on a tablet and phone, the bottom half of the logo is cut off by the menu bar.
Thanks for your help.
May 14, 2017 at 11:52 pm #42520wensolutionsKeymasterHello @amplifyconsulting,
Theme has by default set Primary Menu location as the primary and the header menu location as secondary .
So if you only want the header menu appear in the responsive view you have to activate the child theme.
Child Theme references :
https://codex.wordpress.org/Child_ThemesYou can also create the child theme using the plugin . Below is the link to one of them.https://wordpress.org/plugins/wp-child-theme-generator/
After activating the child theme in your child themes functions.php file paste below given code.
https://gist.github.com/anonymous/5cfde2b12f180e5d10d0f6e3dcaa3bceAlso you have to assign the menu to the header location by going to menu location.
Hope this helps.
Best Regards!!
May 16, 2017 at 3:52 pm #42676amplifyconsultingParticipantHi there. I’ve installed the child theme and begun rearranging things a bit. I was able to remove one of the hamburger menus, but the one that is remaining is still making things crazy in the responsive mode.
Here’s what I need to do.
1) I need the logo to be larger than the recommended 150×150, because otherwise it’s unreadable. Therefore, I uploaded a logo file that is a readable size, however, it makes the header look enormous and covers part of the content on the main page.
What I want is for the two menus to be centered horizontally with the logo, and I don’t want the header to cover the main page content.
See here: https://drive.google.com/file/d/0B9ZjSTqUArHSN1VYUmx5U1ZQdjA/view?usp=sharing
2) When I view the site on tablet or mobile, the hamburger menu bar covers the logo. I either need this menu bar to be transparent, or I need it to push down below the logo.
See here: https://drive.google.com/file/d/0B9ZjSTqUArHScE5MbTMwb3pYZTg/view?usp=sharing
3) For some reason, there seems to be a lot of extra space between the header and the main content on all of the other pages. I want to see the background in this section *a little* bit, but not this much … I would like it to be reduced by at least half.
See here: https://drive.google.com/file/d/0B9ZjSTqUArHSclluRGV6NElaVXM/view?usp=sharing
Can you please advise on these three items ASAP?
And one more bonus item: Where did this menu come from and how do I get rid of it?
See here: https://drive.google.com/file/d/0B9ZjSTqUArHSYjdXeXFkVS1hTWc/view?usp=sharing
Thanks so much.
May 17, 2017 at 1:44 am #42699wensolutionsKeymasterHello @amplifyconsulting,
To manage all the issues you have to use the CSS.
For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.
@media only screen and (max-width: 767px){ .site-header{ top:45px; } .home .site-content{ margin-top:290px; } } #main-nav{ display:none; } .page .site-content { margin-top: 5px; }
Hope this helps .
Best Regards!!
May 17, 2017 at 7:41 am #42720amplifyconsultingParticipantThanks for the response. The code you gave me didn’t quite work, but I was able to work it a little bit to make it OK. However, I’m still experiencing problems.
Here’s the code as I rewrote it:
@media only screen and (max-width: 767px){ .site-header{ top:90px; } .home .site-content{ margin-top: 290px; } } #main-nav{ display:none; } .page .site-content { margin-top: 350px; }
Take a look at the website now. You’ll see:
1) The home page and store still have a different amount of vertical space between the header and page content than the other main pages (like “About SwampButt).
2) The navigation menus at the top are still not horizontally centered with the logo.
3) The amount of vertical space between the header and main page content is still too much on all pages in desktop view.
Can you take a look at the site now and advise?
Thanks so much.
May 17, 2017 at 8:10 am #42724wensolutionsKeymasterHello @amplifyconsulting,
You have added different CSS for the home page and specific page . Also as we have inspected your site we found that you have done lots of customization within the theme which is causing such problem.
So please add the CSS we have provided or either put equal value for the margin-top in both home and page .
Now to put the Top menu horizontally with logo use below given CSS.
#header-nav { margin-top: 55px; }
Also we are having trouble in understanding your last query so explain it properly .
Hope this helps.
Best Regards!!
May 19, 2017 at 1:25 am #42850amplifyconsultingParticipantHi. The only customizations that have been made to the site are the ones that you’ve told me to add in the previous messages in this thread. We have made no other customizations to the theme other than this. Can you tell me what customizations you are referring to?
We had to put a different CSS for the home page and the specific pages, because if we do not, they are cut off on different pages.
I will try to rephrase my comment above with visuals, to show you what I mean.
The home page desktop:
https://drive.google.com/file/d/0B9ZjSTqUArHSOXYtbk9qZWpaakE/view?usp=sharingThe home page mobile:
https://drive.google.com/file/d/0B9ZjSTqUArHSMkRZV3JTek9jRVk/view?usp=sharingThe Shop page desktop:
https://drive.google.com/file/d/0B9ZjSTqUArHSbVZzdnVpYUh6ZlE/view?usp=sharingThe Shop page mobile:
https://drive.google.com/file/d/0B9ZjSTqUArHSNHNZSm9hLVhLdFU/view?usp=sharingThe About/Science/Blog/Contact pages desktop:
https://drive.google.com/file/d/0B9ZjSTqUArHSc3Jvd0xiNDFHaHc/view?usp=sharingThe About/Science/Blog/Contact pages mobile:
https://drive.google.com/file/d/0B9ZjSTqUArHSQ3p3U1FhZ21oWm8/view?usp=sharingWe are also experiencing a weird effect on the product pages, as you can see:
https://drive.google.com/file/d/0B9ZjSTqUArHST3JsOXBKcV9MZVE/view?usp=sharingPlease advise on these items ASAP. If you wish to have access to the site, please let me know.
Thank you.
May 19, 2017 at 4:21 am #42852wensolutionsKeymasterHello @amplifyconsulting,
The customization we have mentioned has come from the third party plugin Theme Customization Master.
Also, upon inspecting your site we found lots of console error due to the third party plugin.
As we have tested the theme locally we do not find such kind of issue as you can in the demo below.
http://demo.wenthemes.com/clean-commerce/So please try deactivating the third party plugin you have used and verify the issue .
For your info, we have not checked the compatibility of the third party plugin beside the one recommended by the theme itself so the error might occurred due to the incompatibility with the theme.
Hope this helps.
Best Regards!!
-
AuthorPosts
- You must be logged in to reply to this topic.