Need help? Check out our Support site, then


Centre and Italicize h2 heading text on Nishita theme

  1. Hi,

    I'd like to centre and Italicize my h2 heading text on my wordpress site (www.kingstonbridge.com)

    I've currently got the code below in place which has successfully changed the colour and made the font lowercase but has not italicized the text and I can't work out how I can shift this text to the centre of the page.

    h2.page-title {
    color: #Fff;
    font-style: italics;
    letter-spacing: .01em;
    text-transform: none;
    }

    Thanks!

    The blog I need help with is kingstonbridge.com.

  2. Hello, you're close with the italics ;) Should be 'italic' (without s) instead.

    To center it, add

    text-align: center;
  3. Hi again,

    Thanks the text has centred and it looks great!

    The text hasn't italicized again which is weird but I like the way it looks as it is now so not to worry.

    h2.page-title {
    font-style: italic;
    color: #Fff;
    letter-spacing: .01em;
    text-transform: none;
    text-align: center;
    }

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags