Home › Forums › WoodMart support forum › Remove mobile header
Remove mobile header
- This topic has 9 replies, 2 voices, and was last updated 4 years, 2 months ago by Elise Noromit.
-
AuthorPosts
-
August 20, 2020 at 3:19 pm #220102
nicolajParticipantI found this code that hides the mobile header from home page.
body.home header{
display:none;
}What should i add to the code to also remove mobile header for the following pages.
1) Checkout
2) Log in
3) Member areaI’m using the mobile navigation bar so I actually considering removing the mobile header on all pages how would i do that in case i decide?
Regards
August 20, 2020 at 9:56 pm #220152
Elise NoromitMemberHello,
Try this code:
body.woocommerce-checkout header{ display:none; } body.woocommerce-account header{ display:none; }
What page do you mean saying “Member area” ?
Best Regards
August 21, 2020 at 4:19 pm #220366
nicolajParticipantGreat!
2 things related to this.Both the woocommerce. pages now do not have any margin on top so content touch mobile browser. I want to add 10 px. whitre space but can not find where to edit these pages.
See attached screenshotIf I was to apply hide header to all product pages as well, what would be the class to do this?
thanks!
Attachments:
You must be logged in to view attached files.August 21, 2020 at 11:39 pm #220414
Elise NoromitMemberHello,
I do not see the problem. What divide do you use?
Best Regards
August 22, 2020 at 5:22 am #220429
nicolajParticipantI have Samsung note 9 and Samsung galaxy 10, you can see screenshots from my phone attached.
I get this when simulating mobile device mode from my desktop as well.Regards,
NicolajAttachments:
You must be logged in to view attached files.August 22, 2020 at 12:37 pm #220514
Elise NoromitMemberHello,
Please replace the custom CSS for this one:
body.single-product header, body.woocommerce-checkout header, body.woocommerce-account header{ display:none; } body.single-produc .website-wrapper, body.woocommerce-checkout .website-wrapper, body.woocommerce-account .website-wrapper { margin-top:40px; }
Please add this code to the Theme settings > Custom CSS > Mobile/Tablet
Best Regards
August 23, 2020 at 3:16 am #220597
nicolajParticipantHi that worked great!
just one annoying thing on the single product page.
It appears that the breadcrumbs is tied to the header, so now it does not show when header is hidden.I’m using the below header options and wanted the breadcrumb navigation be the first thing user see on the single product pages.
Can i do something about this?Best regards
August 23, 2020 at 5:05 am #220604
Elise NoromitMemberHello,
You can change the breadcrumbs location in the Theme Settings > Product page > SHOW / HIDE ELEMENTS
Best Regards
August 23, 2020 at 1:06 pm #220633
nicolajParticipantHi Elise,
that’s what i referred too.
I chose already to show breadcrumbs below header.However when i add your css it also removes the breadcrumbs.
The strange things is that when i instead of css use woodmart header builder and hide the header on all page (mobile) the breadcrumbs do still show.
However it was not my goal to hide header on all pages.best regards,
NicolaAugust 24, 2020 at 7:04 am #220771
Elise NoromitMember -
AuthorPosts
Tagged: mobile header
- You must be logged in to create new topics. Login / Register