Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #153542
    DSM
    Participant

    Dear support,
    descriptions used under photos in a text is always center aligned.
    Can I set this to align: left and also influence size?
    Thanks for helping on:
    https://www.stiftung-meeresschutz.org/
    Regards
    Ulrich

    #153563
    Skandha
    Keymaster

    @dsm: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    #featured-post .entry-content {
    	text-align:left;
    	font-size:16px;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #153630
    DSM
    Participant

    Dear Skandha,

    Thanks a lot. Yes it works with the featured posts on the homepage but what I meant were text posts like this here:

    https://www.stiftung-meeresschutz.org/themen/artenschutz/walkampf-in-brasilien/

    see caption text under first image in the post.

    Sorry for not being precise on this.

    Regards
    Ulrich

    #153666
    Skandha
    Keymaster

    @dsm: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    article .entry-content p {
          font-size:16px;
          text-align:justify;
    }

    You can adjust the font size according to your requirement.

    Let me know if this is what you want!
    Kind Regards,
    Skandha

    #153727
    DSM
    Participant

    Dear Skandha,

    sorry this is not what I meant, it works changing alignement and text size within p-taggs of all posts. What I would need is some CSS that only changes alignement and possible size of the words in the picture description that one can find under the photos inserted in the post.

    Do you have any idea how that can be achieved?

    Thanks in Advance.
    Kind regards
    Ulrich

    #153766
    Skandha
    Keymaster

    @dsm: Sorry to have misunderstood you. To align and the image caption and change the font-size
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .wp-caption-text {
    	text-align:left !important;
    	font-size:16px !important;
    }

    You can change the font-size according to your requirement.

    Let me know if this works out!
    Kind Regards,
    Skandha

    #154268
    DSM
    Participant

    @Skandha: Sorry sorry, completly lost that form my agenda… but GREAT this is exactly what I wanted, perfect!

    Have a nice day 🙂
    Regards
    Ulrich

    #154481
    Skandha
    Keymaster

    @dsm: Hello there, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/adventurous/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help,
    don’t hesitate to let me know. Have a good day!:)

    Kind Regards,
    Skandha

    #154898
    DSM
    Participant
    #154950
    Skandha
    Keymaster

    @dsm: Thank you so much. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘align of caption text under photos’ is closed to new replies.