Headline theme gh-inner class in wrong place

I’m using the Headline theme and I noticed that on our Author pages they look different from the default theme example website. The primary difference is that our are enormous by comparison.

In looking at the HTML, it seems like the <class=”gh-inner”> is on the same level as as opposed to containing the gh-topic-grid.

I’ve tried doing a clean install of the theme multiple times, but I can’t seem to get it render how it’s supposed to. The only thing I still have in Code Injection is the google site verification.

The huge image is really bugging me and it’d be great to have it rendered as expected. Any help would be appreciated.

Edit: example pages: Ours: Naomi Powell - Hayward Herald and the default: Kelly Brown - Headline

You have some unclosed tags on the page that are probably the source of the breakage. See here:

https://validator.w3.org/nu/?doc=https%3A%2F%2Fhaywardherald.org%2Fauthor%2Fnaomi-powell%2F

It sucks, but you’re going to need to wrangle through your theme changes and match tags. The browser is doing the best it can to display broken HTML, but that’s the underlying cause.

I’m just not sure how I have any different tags if I completely reinstalled the original theme. At this point, the only thing that should be there should be default changes made through the Ghost Admin Design and Branding section and the very minimal Code Injection.

I don’t know how to be more certain that I have the same thing as the standard theme.

You’re right. I stand corrected. (I just installed headline and got the same result.) Looks like there’s a bug in the headline theme’s author page. That’s weird, since it hasn’t been updated since sitewide socials went in.

There’s a stray /div in author.hbs, right after the socials. Deleting it should fix the problem. I’ll also file it with the team.

Thank you so much for tracking that down! The bigness of that first image was literally driving me insane.

I’ll fix it on my end and look forward to the actual fix being pushed out for everyone else.

This has been fixed, if you re-install Headline from your admin interface you’ll get the new version. Thanks for the report and diagnosis!

2 Likes