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

First Steps Grav + Hola Theme: How to resize custom logo?

first-time theme

Started by Rostam 6 years ago · 3 replies · 802 views
6 years ago

Hi there,
I just installed GRAV yesterday for the first time and want to make a new website for a yoga academy. I decided to use to "Hola"-Theme. I already managed to change the logo to my own custom logo..... but the size is veeeery small. Can anybody tell me how I can change the size? The yaml-file looks like that:

YAML
enabled: true
custom_logo:
  user/themes/hola/images/logo/logo.png:
    name: logo.png
    type: image/png
    size: 5238
    path: user/themes/hola/images/logo/logo.png
6 years ago

You can use the Custom CSS plugin and just add some CSS to change the logo as needed.

Something like
.header-logo,
.header-logo img {
max-height: 200px;
max-width: 200px;
height: 200px;
width: 200px;
}

6 years ago

Thank you! Yes I knew that option with the custom CSS, but with that I would simply override the YAML. Question for me is what is the "size"-value there in the YAML for the custom_logo? Because nothing changes when I comment that line out! I don't see any change when doing so.

6 years ago

If I look in user/themes/hola/css/main.css I see the CSS code for the logo. I don't see anything in the yaml files for it.

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 196 2 months ago
Themes & Styling · by Ian, 2 months ago
3 92 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 452 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 46 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 126 3 months ago