[Resolved] Padding above Archive page titles

Home Forums Support [Resolved] Padding above Archive page titles

Home Forums Support Padding above Archive page titles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1348507
    Adam

    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

    #1348570
    David
    Staff
    Customer Support

    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.

    #1348602
    Adam

    Great, thanks!

    #1348663
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.