Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #79795
    deevd
    Participant

    Hello
    By default Featured Content images and titles are aligned by left, like this:
    https://yadi.sk/i/awaa_DCvkXjdB

    How can I align Featured Content images and titles by centre? Like this:
    https://yadi.sk/i/9wgM8irDkXjgC

    Dmitry

    #79831
    Sakin
    Keymaster

    @deevd: try adding following CSS in “Appearance => Theme Options => Custom CSS” box:

    #featured-post .post {
        display: inline-block;
        float: none;
    }

    If this doesn’t work then you need to post in your site URL so that I can check in detail.

    #79850
    deevd
    Participant
    #79876
    Sakin
    Keymaster

    @deevd: You featured content is in center, you just need vertical alignment. So, replace previous css:

    #featured-post .post {
        display: inline-block;
        float: none;
    }

    With the following css:

    #featured-post .post {
        display: inline-block;
        float: none;
        vertical-align: top;
    }
    #79909
    deevd
    Participant

    yes, but featured content displayed in three columns, while the settings specified 4 columns.

    #79948
    Sakin
    Keymaster

    @deevd: Looks like you have changed css. For that you can add the following css in “Appearance => Theme Options => Custom CSS” box:

    #featured-post.layout-four .post:nth-child(4n+1) { margin-left: 0; }

    #80045
    deevd
    Participant

    It works. Thank you.

    >> Looks like you have changed css
    I changed only “Costom CSS” for your recommendations.

    Dmitry

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Featured Content alignment’ is closed to new replies.