Site logo

Archived topic

Custom blog category pages - template?

38 replies · Started by Jessica on September 6, 2022

Viewing posts 16–30 of 39

I see.

Let's tackle #1 first, then address #2 afterwards.

Can you try going to Appearance > Customize > Layout > Secondary Navigation, and set Navigation Location to No Navigation?

Can you turn-off your caching mechanisms temporarily to assure we're seeing the same thing? Let me know once it's done.

Done, I don't have any caching tools turned on.

Got it. To clarify, is it appearing now on the correct pages, and not on the one's it's not supposed to?

No, it's not showing up on the category page where it's supposed to, but at least it's gone now from the other pages. https://cairnproject.flywheelstaging.com/category/our-community At least I don't see it anywhere on this page, do you? I have never been able to get this secondary menu to show up where it's supposed to on the category page (under the page hero). I'm trying to achieve what Fernando initially suggested with the Dispatch site: https://gpsites.co/dispatch/category/featured/

Yes! Adding them below. Thank you!!

Thank you!

In your Hook Element - Blog & Blog Category Page Navigation, you haven't enabled the "Execute PHP" in the settings.

Can you enable it?

I checked that but it didn't change anything. I played around with the hook name/priority of the page hero (after_header and 50 now) and this blog navigation hook (before_main_content 25 now) and it's getting pretty close now: https://cairnproject.flywheelstaging.com/category/our-community

What's left to straighten out now:

- How to reduce the space below the Page Hero image and the navigation (there's a lot) and add a little space below the navigation since the background color hits the blog post images currently

- How to get the blog post containers/cards to line up like I have on other query loops - here's my comment from earlier: I’m using CSS for even containers to get the post sizes lined up on regular pages, but that CSS isn’t working when applied to the post/card template. Any tip to make this happen?

For reference, I'm trying to make it look as close to this manually-built page as possible: https://cairnproject.flywheelstaging.com/blog

Thanks again for your help!!

Hi Jessica,

Let's try to tackle the spacing first.

For the spacing between the Page Hero and the secondary nav, can you try to reduce the top padding in Appearance > Customize > Layout > Container?

As for the spacing under the secondary nav, can you try this code?

nav#secondary-navigation {
    margin-bottom: 10px;
}

Awesome, that worked great for spacing above and below, thanks! That section looks good now.

Last thing to figure out on this topic is getting the blog post containers/cards to line up like I have on other query loops. I’m using CSS for even containers to get the post sizes lined up on regular pages, but that CSS isn’t working when applied to the post/card template. Any idea how to make this happen? Thanks!

Hi there, does anyone have insight on my last question on this thread? Copied from above. Happy to open a new thread if I need to, thanks!

Last thing to figure out on this topic is getting the blog post containers/cards to line up like I have on other query loops. I’m using CSS for even containers to get the post sizes lined up on regular pages, but that CSS isn’t working when applied to the post/card template. Any idea how to make this happen? Thanks!

Hi Jessica,

Sorry for the late reply, our system seems missed your previous reply.

I tried to login to see your site, but the username/pw doesn't seem to work.

It requires another set of un/pw before we can see the WP login page.

Let me know!

Hi Ying, thanks! Is it the https authentication you need or WP admin creds? HTTPS authentication to just see the site are Cairnproject and Preview. Let me know if you need admin access- thanks!

This archived topic is closed to new replies.