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

Inconsistent Design with h3 Header after h2 Header

Started by Muut Archive 11 years ago · 2 replies · 399 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

10 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.

10 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 1361 9 years ago
Archive · by Muut Archive, 9 years ago
2 939 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1123 9 years ago