1 how do i remove the auto-generated header with the site’s name? my theme has no header.
2. how do i remove the site’s title? on the page i can define to hide page title, but the mobile theme still displays it.
You can hide the header (including the site’s name) with the following CSS:
.mobile-theme #branding {
display: none;
}
Beware, though: once you do so mobile readers won’t be able to find their way back to your home page once they’re looking at a single post or page.
3. i put a clickable phone number in the header.
on desktop you see it, it’s there. on mobile theme you don’t see it. it’s not there. how do i display it?
I’m not sure where you’d put it once you remove the menu bar, the search form, and the Site Title area. Maybe instead of the Site Title, like so?
https://i.wpne.ws/Zxr4
You can do so with the following CSS:
.mobile-theme #branding {
display: block;
}
.mobile-theme .site-branding {
display: none;
}
.mobile-theme #branding:before {
content: '0102030405';
color: #111;
font-size: 1.846em;
font-weight: bold;
line-height: 1.3;
}
4. where can i find the mobile theme’s html of the page, so i can see names of div’s etc.
5. where can i find the css of the mobile theme?
You can use your browser inspector to find out more about the mobile theme structure as well as the CSS applied to each element.
If you use Chrome, you can follow these instructions:
https://developer.chrome.com/devtools/docs/device-mode
https://developer.chrome.com/devtools/docs/elements-styles
You can then paste all your custom CSS inside the custom CSS editor in your dashboard, under Appearance > Edit CSS.