Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1295311

    vivalame
    Participant

    Hi,

    I would like to centre align the featured image and post title as it currently looks odd being right aligned. Here is a link to a page to show you what I mean http://vivalame.com/8-steps-to-self-love/

    Thanks for your help

    #1295315

    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    To center it, you can add this under Custom > Edit Global CSS in the Customizer.

    
    .single-post .entry-header,
    .single-post .entry-featured {
        text-align:center;
    }
    

    Hope that helps.

    #1295332

    vivalame
    Participant

    Thanks for the reply.

    It seems to have aligned the image in that post with the body text. However, in all other posts the featured image and title are still right aligned.

    Do you have another suggestion?

    Thanks

    #1295334

    Lely
    Moderator

    Hello There,

    Can you add the code and then give us the link where it is not working?
    The code is supposed to work on all single post unless it was added in Cornerstone > Settings Tab > Custom CSS. That place for custom CSS will only work for the page/post. It should be added on Appearance > Customize > Custom > Edit Global CSS to work on every post.

    #1295387

    vivalame
    Participant

    Hi,

    I did insert the code in the ‘Edit Global CSS’ through the customizer. I am not very technical minded but I just copied and pasted it into the Edit global css and then saved.

    An example of a post that hasn’t aligned centre is http://vivalame.com/ego-in-control/.

    Thanks,
    Kate

    #1295395

    Paul R
    Moderator

    Hi Kate,

    I don’t see the code getting added.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1295397

    vivalame
    Participant
    This reply has been marked as private.
    #1295407

    Paul R
    Moderator

    Hi,

    I went ahead and fix it for you.

    There is a syntax error in your css code.

    I removed this code

    
    header.x-container.max {
        display: none;
    

    Thanks

    #1295409

    vivalame
    Participant

    Thank you so much – you are amazing!

    #1295412

    Rue Nel
    Moderator

    You’re welcome!
    We’re glad we were able to help you out.