• Resolved sydneyjblog17

    (@sydneyjblog17)


    I’m working on a static homepage and I’d like the featured image and the “Read more” link centered on the blog page. Is there a CSS code for this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hi Sydney,

    With what I understand you are asking, I would do something like this:
    Configure the shortcode like this
    [latest-selected-content limit="1" display="title,excerpt-small" titletag="h6" chrlimit="120" url="yes" linktext="Read more" image="large" elements="3" css="one-columns as-overlay light tall align-center" type="post" status="publish" orderby="dateD" show_extra="tags,taxpos_tags_after-title"]

    Then add some additional CSS in the customizer like this
    section.latest-post-selection.align-center {text-align: center}

    However, I might not understand what you need, maybe you can point me to the page where you show this and describe some more what the result should look like.

    I hope this helps.

    Regards,
    Iulia

    Thread Starter sydneyjblog17

    (@sydneyjblog17)

    Thanks, I’ll try this. I don’t have the page published yet, but I want the post’s image to be centered in the post grid. Right now, it’s aligned to the left.

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    I think I understand what you ask.

    You can add this extra style and use the align-center css in the shortcode, and see if it works as you expect:

    
    section.latest-post-selection.align-center {text-align: center}
    section.latest-post-selection.align-center img {margin: auto; float: none;}
    

    Regards,
    Iulia

    • This reply was modified 4 years, 10 months ago by Iulia Cazan.
    • This reply was modified 4 years, 10 months ago by Iulia Cazan.
    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I haven’t heard back from you in a while so I will mark this as resolved.
    You can start a new thread if you have any other questions.

    If you are satisfied with my plugin and you haven’t rate/review it yet, please do this. It would not take you more than one minute and it would help me. Thank you!

    Regards,
    Iulia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Center the Featured Image and Read More Link’ is closed to new replies.