Site logo

Archived topic

post format image-caption - how to?

8 replies · Started by Sven on April 10, 2016

Viewing posts 1–9 of 9

Hi Tom,

I stumpled over http://demo.generatepress.com/2012/12/06/post-format-image-caption/ and wonder how to realize that layout, so that the post-title is shown within the featured image...

I searched in the support forum but didn't find a how-to!?

I appreciate your answer... and guess it's just a css-issue?!

Sven

Hi Sven,

You can achieve that by simply adding a caption to your image when you upload it.

When you add an image to your page, you'll see a "caption" field on the right above the insert button :)

OMG! I assumed in advance, that it would be something extremely easy!!!
:-)

Thanks...

By the way: is that documented anywhere in your "help section"? Because I haven't found anything...

It's not, maybe it should be though :)

lol...

Does this also work for the page title? I would like the page title to show up in the featured image on the home page. Adding a caption to the image does not work, unless I'm doing something wrong. If I use the page header function to add a background image to the page header, the content is vertically centered in the middle of the image. I would like it to be at the bottom of the image. Thank you very much.

Captions won't work for background images.

However, you can remove the bottom padding from the page header with some CSS:

.generate-inside-combined-content, 
.generate-inside-page-header-content {
    padding-bottom: 0;
}

Thank you!

You're welcome :)

This archived topic is closed to new replies.