Captions left aligned?

Is it possible to have image captions left aligned by creating some custom CSS?

Thanks :)

Comments

  • Captions for what? Please send us url to page where you have captions and for which you want align to left and we`ll try to find solution for you.
  • Please find here the link to the blogpost with the image (at start of post)  and the caption ("Chutel, 2017").

    1) Is it possible to have image captions within the picture, 
     a) preferably visible on hover only, 
     b) but if that is not possible as static text.

    2) Is it possible to right or left-align the caption text (either inside the image or below the image if 1) is not possible)

    3) Is it possible to have the gray bars around the image removed? They are added by the theme with the caption, but I would like the caption without the gray bars.  


    If any Custom CSS is needed, could you please provide this?

    I am looking forward to your reply. Thank you in advance for your support.






  • Additional question
    4) How to adjust the font size of the caption-text only?
  • Hi,
    not all of the adjustments are possible. You can use custom css for most of them:

    .wp-caption-text {
    text-align: left !important;
    color: red !important;
    font-size:20px !important;
    background:blue !important;
    font-style: none !important;
    }
  • Hey Bryan,

    Thank you for your help!
Sign In or Register to comment.