Site logo

Archived topic

5 column blog layout, how to question?

5 replies · Started by albabes on December 18, 2021

Viewing posts 1–6 of 6

Genpress theme and Pre plugin.
How to publish POSTS to a specific Column, in a 5 Column layout, see (https://www.tucsoncomputerrepair.net)

Plus, hot to bg color those 5 columns, if I want.

Thanks
AL Guevara

Hi there,

Go to customizer > layout > blog > columns, scroll to the bottom, select 5 columns:
https://www.screencast.com/t/C6h9NRvP

For the color, go to customizer > colors > content, add background color to it.

Let me know if this helps :)

I got the cols setup already if you had viewed the website link, but thank you.

Plus your COLOR instructions (go to customizer > colors > content, add background color to it) arent correct.

Plus, the initial question. How to get POSTS to end up in a chosen column?

Hi there,

Plus, the initial question. How to get POSTS to end up in a chosen column?

Are you trying to move a post to the top of the list? (making it appear first?)

If so, you can set the post to "sticky" so it goes to the top of the blog index page post list.

But if you're trying to move a specific post to nth place on the list, that's not possible w/ the default loop.

Default post loops are meant to be following a specific query order.

While you can place a specific post to 1st place of the order by making the post sticky, there's no way to tell the query loop to place "post XXX" on the nth place on the loop.

As for changing the color of the background, what Ying suggested will work as shown here - https://share.getcloudapp.com/d5uNBK27 - but this will apply to the entire site meaning single post page's contents will change background color as well.

If you wish to apply the change on the blog index page and an archive page's post items only, you'll need custom CSS like this:

body.blog .inside-article, body.archive .inside-article {
    background-color: blue;
}

Hi Ying & Elvin. Ill try to explain in a different way. I'll stick with the programing help I need, as I got the BG color down. I know how to do that. And I know who to create the 5 columns.

Using the 5 column layout of GP premium, I want to create 5 categories for posts (only), and each post will only have 1 of those 5 categories. (I know how to do this part)

As each "single category" post is published, I want each to end up in an assigned column. See if this picture help to explain.

5 category example for gp folk.jpg

Hi there,

Unfortunately this would require a custom solution which is out of the scope of this forum.

More info here:
https://generatepress.com/what-support-includes/

The blog and archive page are generated by WordPress automatically regardless of which theme you are using.

And by default, WordPress displays posts from all categories on the blog/posts page - this isn't something the theme can control.

The layout you are after can only be achieved by creating a static with some custom coding to output the posts.

You can also consider using a plugin like WP Show Posts but do keep in mind of this post from Tom:
https://wpshowposts.com/weve-made-the-decision-to-merge-wp-show-posts-with-generateblocks/

Thanks for your understanding :)

This archived topic is closed to new replies.