Skip to content
Discussion options

You must be logged in to vote

Hi Mike,

I need some more time to think about how to fix this, but in the meantime, you can use your solution of adding a body class.

You can use <body class="{{ block body-class . }}{{ end }} article-page"> to avoid overriding everything.

Instead of using the 'article-subtitle' class to wrap the summary, use the 'article-content' class so that the image is centred.

The extra margin is introduced by the p element. To fix this, you can introduce a negative margin. In conclusion, the HTML tag should be:

<section class="article-content" style="margin-top: -1.5em;">

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mikenakis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants