Education Theme: How can I center the "Read More" button?

Community Forums Forums Design Tips and Tricks Education Theme: How can I center the "Read More" button?

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  tgibs 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37464

    tgibs
    Participant
    Post count: 2

    Hello,

    I am using the Education Theme for the site listed below.  In my Intro widget, I have a featured post “Upcoming Events”. I want to center the Read More button in this section only. Currently it is left aligned. The style should apply to this button only and not apply to the More buttons further down the page in the Featured section that currently displays the four featured posts. Any suggestions?

    http://0374a35.netsolhost.com/wordpress/
    #37930

    cdils
    Participant
    Post count: 420

    Hi there,

    If you add this, it’ll center all the more buttons:

    .more-link {
    margin: 0 auto;
    }

    Since you only want to center the one, you’ll want to target that element specifically. See if this works:

    .featuredpost .more-link {
    margin: 0 auto;
    }

    Cheers,
    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. :)

    I tweet @cdils.

    #37936

    tgibs
    Participant
    Post count: 2

    Thank you, thank you, thank you!!! That worked perfectly! :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.