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

Second paragraph on item.md pages sometimes is inexplicably larger

Started by Muut Archive 10 years ago · 3 replies · 273 views
10 years ago

I'm putting together a few blog posts and come across this issue every once in a while... though I have many paragraphs, the second one seems to render as a font size larger than the rest.

Example

Even if I add or remove paragraphs from my content, whatever ends up being the second paragraph is formatted as larger text. The Markdown has nothing to explain this, and even the resulting html (in both Edge and Chrome) shows no indication why the paragraph renders differently. What am I missing here?

10 years ago

I think this is a theme feature, that renders the second paragraph larger than the normal, not sure what's the reason for this design, but check the CSS applied.

10 years ago

Yup, can confirm it's a CSS feature to give the first paragraph emphasis. Just change/remove that CSS if you don't like it.

10 years ago

Thanks guys. I was able to find the nth-child(2) selector in the CSS (in case anyone else is running into this).

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1365 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1124 9 years ago