Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Inconsistent Design with h3 Header after h2 Header

Started by Muut Archive 11 years ago · 2 replies · 497 views
11 years ago

Hi guys, i'm fairly new to the grav-cms (and it's amazing! <3).
I'm building a new site and i wanted to have a h2 header (## Header) as page-title and afterwards an h2 header (### Header) for the subtitles.
In antimatter it resulted as the following:
Result
As you can see, the first h3 header is centerized and the second h3 header is left-binded.
When i put text between the h2 and h3 header, both are left-orientated.
How does this come? Is there a solution without putting text between those headers?

I appreciate every help :)

Dominik Müller

11 years ago

Dominik, it’s difficult to tell without seeing the source code, but I’d assume one of your h3 headers is styled by a different CSS class (in doubt, I’d place my bet on the centered one). You may want to check your source code and see whether there is a class stack.

11 years ago

Yup, this is just CSS that you can tweak.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2607 9 years ago
Archive · by Muut Archive, 9 years ago
2 1714 9 years ago
Archive · by Muut Archive, 9 years ago
2 5009 9 years ago
Archive · by Muut Archive, 9 years ago
1 3838 9 years ago
Archive · by Muut Archive, 9 years ago
3 1819 9 years ago