Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hero height not working #10

Open
SebastianSolidwork opened this issue Apr 3, 2019 · 1 comment
Open

Hero height not working #10

SebastianSolidwork opened this issue Apr 3, 2019 · 1 comment

Comments

@SebastianSolidwork
Copy link

SebastianSolidwork commented Apr 3, 2019

I changed Hero height from "29rem" to "2rem" and text to "bar" with no image.

Actual result:

The Hero section stays the same size

from my actual site's css

.hero {
    min-height: 2rem;
}

.hero {
    height: 29rem;
    position: relative;
} 

Additional information

If i change the value in the main.css directly, it get's changed.

Expected result:

The Hero section should become smaller.

Implementation idea

in main.css change height to max-height, so it adopts to the size of the content
Maybe adding a input field for that.

@SebastianSolidwork
Copy link
Author

SebastianSolidwork commented Apr 3, 2019

I see the options here under Custom Settings:
https://getpublii.com/docs/theme-settings.html#js-header
It's not like that in the actual application . What happen here? Is it a different theme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant