Site logo

Archived topic

Elements – posts viewing trouble

3 replies · Started by Zdeněk on February 24, 2022

Viewing posts 1–4 of 4

Hi, I have problem with viewing first post and other posts.

I created two post types in Elements – First post and Posts: Elements - posts types

Here is setting of them:

First post setting: http://cyklo.mestopacov.cz/wp-content/uploads/2022/02/first-post-setting.jpg
Posts setting: http://cyklo.mestopacov.cz/wp-content/uploads/2022/02/other-posts-setting.jpg

ande here is Blog setting: http://cyklo.mestopacov.cz/wp-content/uploads/2022/02/blog-settings.jpg

The first post should appear across the width of the page, but I don't know why it looks like this: http://cyklo.mestopacov.cz

Thank you in advance for your help

Zdenek

GP Premium 2.1.1, GenerateBlocks 1.4.2 Installed

Hi Zdenek,

The container width of the first Post wont change through a Content Template. It’s width depends on the settings in Appearance > Customize > Layout > Blog: https://share.getcloudapp.com/7KuqDZKW

For instance, if you set the archive to display in 2 columns, the featured post would take up 100% width, if 4 columns - 50% so on and so forth.

To force this behavior, you here is a CSS you may try:

.content-area article.featured-column {
    width: 100%;
}

Here is an article with regards to adding custom CSS: https://docs.generatepress.com/article/adding-css/

Hope this helps! :)

Thanks Fernando, that´s it.
Thanks fo quick reply.

Great GP support. 👍

You’re welcome Zdenek! Glad to be of assistance! Feel free to reach out anytime if you’ll need assistance with anything else. :)

This archived topic is closed to new replies.