Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

How to make mobile photo focus on left side

Started by Chase Cromwell 7 years ago · 1 replies · 452 views
7 years ago

How can I adjust the Home Page skeleton so that when the hero image is loaded on mobile, the focus point is the left side of the image, not the center?

7 years ago

This is theme dependent, please tell us which theme you are using? You might be confused, it's not related to the skeleton.

Basically you will need to modify the theme template Twig file. There are several methods for modifying themes including copying, subtheming, and direct editing.

Your request also seems like more of an HTML/CSS/responsive design question, which is not really Grav-specific, so you might have more luck posting this question as a repository issue for your theme.

Good luck!

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 195 2 months ago
Themes & Styling · by Ian, 2 months ago
3 91 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 451 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 45 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 125 3 months ago