Site logo

Archived topic

Padding above Archive page titles

3 replies · Started by Adam on July 1, 2020

Viewing posts 1–4 of 4

Hi there,

I'd like to make archive pages look like this - https://share.getcloudapp.com/bLuj5e5e

This is using the Dev site template + heading element.

Here's what my archive page looks like currently - https://share.getcloudapp.com/WnubDGZk

I'd like to be able to add some padding so everything looks similar.

Although, it would be even better if there was a way to hide the taxonomy title (e.g. Email Marketing being the category name in the above screenshot) and then add a header element with a tag that would change the headline to match the taxonomy.

Thanks!
Adam

Hi there,

you can create a new Header Element:

https://docs.generatepress.com/article/header-element-overview/
Then use the {{post_title}} template tag in the hero content eg.

<h1>{{post_title}}</h1>

You can set it to align center and add some top and bottom padding.

Then set your display rules to Post Category Archive.

Great, thanks!

You're welcome

This archived topic is closed to new replies.