Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #99426
    scatmax
    Participant

    Hello,

    I need to justify the excerpts in the blog loop. If I change the text-align from Center to Justify, the photo will justify to moving toward left.

    So, I need to justify the excerpts but keep the photo centered.

    Can you supply me the CSS Style code for it please?

    Thank you

    #99456
    Mahesh
    Participant

    @scatmax: Please post in your site url, so I can see the issue. How are you getting image in excerpt? I’m a bit confused. Let me know further.

    Regards,
    Mahesh

    #99481
    scatmax
    Participant

    Hello,

    thanks for your reply.

    There are no images in the excerpts. The images are the ones coming from the posts with the excerpts below. I need to justify the text of the excerpts but doing that, the images above are getting ‘justified’ too moving towards left.

    Kind regards

    #99484
    Mahesh
    Participant

    @scatmax: Please post in your site url.

    Regards,
    Mahesh

    #99497
    scatmax
    Participant
    #99559
    scatmax
    Participant

    ok, I think I fixed half the problem:

    in the style.css file:

    line 239 #supplementary .widget {
    line 240 margin-bottom: 30px;

    I add this:
    text-align: justify

    and that fixes my problem; it justifies my excerpt and leaves the image centered.

    …but, I want to put this in the custom css file.
    If I copy the line 239, 240 and I add the text-align: justify, it won’t work.

    So my question is: What shall I put in the custom css file to make it work?

    Thank you

    #99630
    Mahesh
    Participant

    @scatmax: If you still mean to justify the text, go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:

    .entry-summary p {
        text-align: justify;
    }

    Regards,
    Mahesh

    #99661
    scatmax
    Participant

    Thank you!! It works 🙂

    #99665
    Mahesh
    Participant

    @scatmax: Thank you for your appreciation. Have a nice day!

    Regards,
    Mahesh

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Justify Excerpts’ is closed to new replies.