• Resolved aislinn-mc

    (@aislinn-mc)


    Hi,

    Could you tell me how to show the caption of a featured image? And also how to align it to the right?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Go to “Theme Options > Advanced > Show Featured Image On” and check places where you want thumbnail to show up.

    To align it to the right add this CSS code to “Theme Options > Stylign > Custom CSS”:

    .wp-post-image {
      float: right;
      margin: 5px 0 10px 10px;
    }
    Thread Starter aislinn-mc

    (@aislinn-mc)

    Perfect thanks a lot! And such a quick answer, I appreciate it

    Any chance you know how to add the caption too (and ideally, only on the post not on the archive page)

    Oh, right.

    You can add images with caption at the beginning of posts, and add this CSS to hide those images in archives:

    body.category .entry-content img,
    body.category .entry-content .wp-caption {
      display: none;
    }

    That’s the simplest solution, alternatively you could modify mosaic_post_thumbnail() function in functions.php to achieve the same result with thumbnails.

    Thread Starter aislinn-mc

    (@aislinn-mc)

    Great thank you Artur

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured image caption and position’ is closed to new replies.