• Hi. I am using Fashionista theme. The posts text on main homepage is aligned to center but when i go to individual posts the text is aligned to left. Please help me how to align it to center.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    If you could please provide a link to the website, it would allow us to see what needs to be changed.

    Thread Starter nandiniii

    (@nandiniii)

    Thanx for the reply. I have imported my blog from BlogSpot and all the text in imported blogs is aligned to the left and not justified. Though the text of new postss on WordPress is properly aligned and justified but there is a problem with all the earlier posts imported from BlogSpot. Please find the link below where the text is center and justified.

    https://perkymegs.com/2016/02/stunning-silver-jewellery-shopping-at-chandni-chowk/

    And the link below where the text is not justified and aligned left and not center. Also you can notice weird lines (borders may be) above and below photos. There are the imported posts from blogger.

    https://perkymegs.com/2015/12/my-november-jewellery-shopping-hau/d

    Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    I would try adding the following to your child theme’s stylesheet:

    To center the text:
    .MsoNormal { text-align: center; }

    To remove the lines:
    td { border: none; }

    Does that give you the effect you are looking for?

    Thread Starter nandiniii

    (@nandiniii)

    Great!! The first code regarding the text alignment is working fine for me….Thank you so much. But the second code regarding removing the border lines above and below the images in posts is not working….I have added it in custom css file but nothing changed. Can you please suggest something else?

    Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    I’m glad to hear the first line worked! Could you please try the following code to see if it removes the extra line?

    table th,
    table td {
    	border-top: 1px solid #ddd;
    	}
    Thread Starter nandiniii

    (@nandiniii)

    Thanks for the reply but its not working. The thin line is still there on all my earlier posts.

    Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    I’m so sorry, I didn’t actually change the code that was already in there! I meant to type the following:

    table th,
    table td {
        border-top: none;
    }

    Does that make any difference?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Post text to be aligned center’ is closed to new replies.