- This topic has 12 replies, 3 voices, and was last updated 2 years, 11 months ago by
Fernando.
-
AuthorPosts
-
March 26, 2023 at 3:11 pm #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 areaMarch 26, 2023 at 3:51 pm #2583262Leo
StaffCustomer SupportHi 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-typeThen select Before content container in the Quick Hook Select List:
https://docs.generatepress.com/article/block-element-page-hero/#quick-hook-selectLastly, toggle on Disable title:
https://docs.generatepress.com/article/block-element-page-hero/#disable-titleLet me know 🙂
March 26, 2023 at 3:58 pm #2583265Dan Nguyen
Yep, that works
How do I add a line separating the navbar and the main content?March 26, 2023 at 5:31 pm #2583311Fernando Customer Support
Hi Dan,
Can you try adding this through Appearance > Customize > Additional CSS?:
header.site-header { border-bottom: solid 2px #000000; }March 26, 2023 at 5:42 pm #2583324Dan 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 widgetMarch 26, 2023 at 6:07 pm #2583342Fernando 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.
March 26, 2023 at 7:08 pm #2583376Dan 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 descriptionI’ve added the category here in the private area
March 26, 2023 at 7:10 pm #2583378Dan 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 sidebarMarch 26, 2023 at 7:34 pm #2583389Fernando Customer Support
Try adding this through Appearance > Customize > Additional CSS:
body:is(.blog, .archive) header.entry-header { margin-top: 30px }March 26, 2023 at 7:38 pm #2583394Dan Nguyen
Will this affect author page? Author page & blog pages are fine, it’s just the category page that is the issue.
March 26, 2023 at 8:22 pm #2583414Fernando 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; }March 26, 2023 at 8:41 pm #2583419Dan Nguyen
Yep that works.
ThanksMarch 26, 2023 at 8:53 pm #2583426Fernando Customer Support
You’re welcome, Dan!
-
AuthorPosts
- You must be logged in to reply to this topic.