Site logo

[Support request] How to remove the default author info box on Archive page

Home Forums Support [Support request] How to remove the default author info box on Archive page

Home Forums Support How to remove the default author info box on Archive page

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2583232
    Dan Nguyen

    Hi
    How do I remove the default author info at the top of the author archive page.
    I want to use a custom author box, but it looks like it’s causing duplication issue
    I’ve added the info in the private area

    #2583262
    Leo
    Staff
    Customer Support

    Hi there,

    Is the current custom author box added as a simple block element hook?
    https://docs.generatepress.com/article/block-element-hook/

    If so, can you change the Element type to a Page Hero:
    https://docs.generatepress.com/article/block-element-overview/#element-type

    Then select Before content container in the Quick Hook Select List:
    https://docs.generatepress.com/article/block-element-page-hero/#quick-hook-select

    Lastly, toggle on Disable title:
    https://docs.generatepress.com/article/block-element-page-hero/#disable-title

    Let me know 🙂

    #2583265
    Dan Nguyen

    Yep, that works
    How do I add a line separating the navbar and the main content?

    #2583311
    Fernando
    Customer Support

    Hi Dan,

    Can you try adding this through Appearance > Customize > Additional CSS?:

    header.site-header {
        border-bottom: solid 2px #000000;
    }
    #2583324
    Dan Nguyen

    Hi,
    I tried to do the same thing for Category page but it doesn’t seem to work
    I’m trying to add more top margin to make the title even with the sidebar widget

    #2583342
    Fernando
    Customer Support

    Try adding 30px top padding through Appearance > Customize > Layout > Container. If that doesn’t work or it affects other pages, let us know. We’ll need custom CSS if so.

    #2583376
    Dan Nguyen

    Uhm, that’s actually not how I want to do it.
    I want to add the Category box the same way as the Author box above.
    Is there a way to do this?
    It’s just H1 + the description

    I’ve added the category here in the private area

    #2583378
    Dan Nguyen

    Just checked.
    Adding padding to container push everything down.
    I just want to push down the main content blog to make it even with the sidebar

    #2583389
    Fernando
    Customer Support

    Try adding this through Appearance > Customize > Additional CSS:

    body:is(.blog, .archive) header.entry-header {
        margin-top: 30px
    }
    #2583394
    Dan Nguyen

    Will this affect author page? Author page & blog pages are fine, it’s just the category page that is the issue.

    #2583414
    Fernando
    Customer Support

    I see. I could. Try this instead if you don’t want it to affect those:

    body:is(.archive):not(.author, .blog) header.page-header {
        margin-top: 30px;
    }
    #2583419
    Dan Nguyen

    Yep that works.
    Thanks

    #2583426
    Fernando
    Customer Support

    You’re welcome, Dan!

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