Site logo

[Resolved] Author About Boxes On Archive Pages

Home Forums Support [Resolved] Author About Boxes On Archive Pages

Home Forums Support Author About Boxes On Archive Pages

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2461209
    Jodie

    Hi,

    I have two questions about creating author boxes for author archive pages.

    I’ve got a columns block, but the left side is bleeding off the container width. How do I fix this?

    Also, how do I ensure the GenerateBlocks element I’ve created only applies to one author, and not all?

    Thanks!

    Cheers Jodie

    #2461221
    Fernando
    Customer Support

    Hi Jodie,

    1. My suggestion would be to use a GB Image Block instead of a WP Image Block. Through this, you can set the width to a specific % value. This prevents overflowing. Example: https://share.getcloudapp.com/NQu4rp7J

    Reference: https://share.getcloudapp.com/NQu4rp7J

    2. You’ll need a Snippet for it. This article discusses how: https://docs.generatepress.com/article/generate_element_display/#display-an-element-to-a-specific-author

    #2462346
    Jodie

    Hi Fernando,

    Thanks for that.

    I’ve changed it to an GB image block and set the width to 90% but the container is still bleeding off to the side.

    Any ideas on what I could try? Thanks!

    Cheers Jodie

    #2462350
    Fernando
    Customer Support

    On what view is it “bleeding out”? I tried checking it from my end, and I can’t replicate the issue. Can you try clearing the cache of your browser first? Or, try using a different browser to test.

    #2463703
    Jodie

    Hi Fernando,

    I’ll make a screenshot to show you what I mean. The edges of the author box aren’t in line with the posts in the archive page.

    Can you tell me how I might fix this?

    Thanks for your help!

    Cheers Jodie

    #2463720
    Fernando
    Customer Support

    I see. Thank you for clarifying. Can you try adding a 15px left margin to the Container with a Magenta Background? Let us know how it goes.

    Let us know how it goes.

    #2463844
    Jodie

    Hi Fernando,

    Great, that worked! Thank you for your help.

    I seem to have an extra author box below the Element I’ve created.

    Any ideas on how to remove it? Thanks!

    #2463946
    David
    Staff
    Customer Support

    Hi there,

    the Block Element you created to add the Author box, is the Element Type a Page Hero – if it is then in those settings there is a Disable Title option, which should the theme author title and description.

    #2464709
    Jodie

    Hi David,

    Great, that fixed it, thank you so much!

    Cheers Jodie

    #2465014
    David
    Staff
    Customer Support

    Glad to hear that!

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