[Resolved] Can I create a featured post grid layout?

Home Forums Support [Resolved] Can I create a featured post grid layout?

Home Forums Support Can I create a featured post grid layout?

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • #109868
    Tim

    On the homepage of anabolicfacts.com, I like the featured posts grid layout. It’s 4 recent posts in a nicely spaced apart grid like layout. Is it possible to achieve something like this with Generate Press? I just bought Premium last night and hoping it can help.

    #109888
    bluebit

    I took a screenshot of my website with the layout before adding generatepress: [img]http://i.imgur.com/HzHhVK6.jpg[/img]

    #109934
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I’ve had a few other users request something like this.

    I may be able to swing something using the Masonry layout – let me play with this a bit tomorrow 🙂

    #110000
    bluebit

    Awesome, can’t wait to see what you come up with. I was using this theme before: http://themeforest.net/item/oldpaper-ultimate-magazine-blog-theme/7431822

    You can see the live preview of the layout.

    #110013
    Tom
    Lead Developer
    Lead Developer

    This may be a good starting point using masonry:

    .masonry-post .inside-article {
    	min-height: 150px;
    	position: relative;
    	overflow: hidden;
    }
    .masonry-post .entry-header {
    	bottom: 0;
    	right: 0;
    	z-index:10;
    	position: absolute;
    	padding: 30px;
    }
    .masonry-post .post-image img {
    	left: 0;
    	top: 0;
    	position: absolute;
    	width: 100%;
    	height: 100%;
    }
    .masonry-post .entry-content,
    .masonry-post .entry-summary,
    .masonry-post footer.entry-meta {
    	display: none;
    }

    Will definitely need some adjusting..

    If you have issues with the image stretching, try to replace the .post-image img block with this:

    .masonry-post .post-image img {
        height: 100vh;
        left: 0;
        object-fit: cover;
        position: absolute;
        top: 0;
        width: 100vw;
    }
    #110054
    bluebit

    Quick question: Why is the “Home” button always highlighted on my site: http://anabolicfacts.com when I go to other pages, it’s always highlighted. How do I fix this?

    #110103
    Tom
    Lead Developer
    Lead Developer

    Hmm, that’s something you may need to ask the Ubermenu developers – looks like it has something to do with their code.

    #110401
    Timon

    Where do I post this code?

    #110412
    Tom
    Lead Developer
    Lead Developer
    #111308
    bluebit

    I just installed Simple Custom CSS: https://wordpress.org/plugins/simple-custom-css/

    Posted the code inside, hit update. Nothing happened.

    What do I do now?

    [img]http://i.imgur.com/zZQxQiZh.png[/img]

    #111334
    Tom
    Lead Developer
    Lead Developer

    Is your blog set to masonry?

    #111495
    bluebit

    Thanks, now I set it to Masonry, take a look: anabolicfacts.com

    Images appeared to be streched, so I added the anti-strech code that you gave me, now they appear really big Lol 🙂

    How to disable the right sidebar on the homepage and turn the text white? Make it look as close as possible to the image below:

    By the way Masonry looks awesome!!! Maybe you can add some of this code the next update, make it possible for people to change the text color inside of Masonry, the sizes of each box, stuff like that, so people can customize the look. I’d be happy to pay for an add-on like this.

    #111541
    Tom
    Lead Developer
    Lead Developer

    The Colors add-on allows you to the blog post title color and meta color in “Customize > Colors > Content Colors” – that’s your easiest bet.

    Let me know 🙂

    #111643
    bluebit

    I changed the Blog Post Title Color to White on the homepage. I’m glad this option is only for the homepage.

    I tried changing the “Entry Meta Text” and “Entry Meta Links” to White, but found that this option also turn the meta text and links white on the blog posts. So, this option wasn’t useful.

    But take a look, it’s starting to look better already: http://anabolicfacts.com

    Would be great to have options in “Customize > Colors > Content Colors” to change the “Blog Post Title” font size/style/bold.

    #111659
    bluebit

    How do I decrease the space in here: [img]http://i.imgur.com/2oMIG1j.png[/img]

    I want the image to hug the title.

Viewing 15 posts - 1 through 15 (of 32 total)
  • The topic ‘Can I create a featured post grid layout?’ is closed to new replies.