I have this website: northernazaerialphotography.com that I'm trying to optimize both for mobile and desktop. The desktop looks fine, but when the website is loaded in a mobile screen size, e.g. 322x824, the title is too large and outside of the title box, the footer box contents are spilling over and the site doesn't generally have the same look as the desktop view. I'm a complete beginner to Grav, so any suggestions on ways to optimize for mobile?
Thanks,
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Themes & Styling
Regarding the footer: Antimatter uses a fixed size header and your content is too long which is caused by your upsized icons.
Add this to your custom.css to fix this
CSS
#footer {
height: 8rem;
}
The Problem with your Headline is similar, but a bit less easy to fix.
- You overwrite base.html in a child template and put a logo graphic in https://github.com/getgrav/grav-theme-antimatter/blob/develop/templates/partials/base.html.twig#L46
- You add Media Queries to your custom.css which set header font size smaller on smaller screens or cut it off with
text-overflow:ellipsis;
You come to this mantigames link here: https://github.com/getgrav/grav-theme-antimatter/blob/develop/templates/partials/base.html.twig#L46
Good luck to you.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 4 | 193 | 2 months ago | ||
| 3 | 90 | 2 months ago | ||
| 11 | 449 | 3 months ago | ||
| 0 | 43 | 3 months ago | ||
| 5 | 123 | 3 months ago |