Archived topic
Disable Full Width First Post on Custom Post Type Archive Page with Columns
5 replies · Started by Joona on October 28, 2017
Hey! I use a column layout with "First Post Full Width" enabled. This seems to be applied to custom post type archives as well. I have enabled columns for custom post type archives, but I wouldn't want the first post to be full width on the archive pages. Is there a way to disable the full width first post on custom post type archive pages?
Hi there,
On all custom post type archives, or just a specific one?
Let me know :)
Just one specific custom post type archive.
You could do this:
.post-type-archive-video .generate-columns.featured-column {
width: 50%;
float: left;
}
video being the name of the CPT.
Yeah, this does the trick, although I was looking for a solution that would've skipped loading the image in that size in the first place. But I guess that the impact in load times are nominal.
You can always tell GP to have a featured post only in specific post types. Might be worth waiting for GPP 1.5 though, as the featured post option has changed a bit.