Centering the page title for a fullwidth template

Discussion in 'ColorWay WordPress Theme' started by forpaws, Jan 13, 2013.

Thread Status:
Not open for further replies.
  1. forpaws

    forpaws New Member

    Joined:
    Jan 8, 2013
    Messages:
    5
    Likes Received:
    0
    I would like to have the Fullwidth page title to be centered and I would like to change the font size if possible.
    If I create a new page "Contact" the word contact is left justified on the page and looks to be h2. Can I center this and change the size?

    Thanks.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .content-wrapper h2 {
    text-align: center;
    font-size: 15px;
    }
    .content-wrap .contact h2{
    text-align: center;
    font-size: 15px;
    }
     
  3. forpaws

    forpaws New Member

    Joined:
    Jan 8, 2013
    Messages:
    5
    Likes Received:
    0
    This looks to center every single h2. Is it not possible to only center the Page Title?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    I would like to suggest you that used h2 tag only for Page Title and do not used h2 tag again in the fullwidth page .
    If you would like to use another heading in the fullwidth page then you should use h3,h4...etc instead of h2.

    Thanks
    Piyush
     
  5. forpaws

    forpaws New Member

    Joined:
    Jan 8, 2013
    Messages:
    5
    Likes Received:
    0
    Thanks
     
Thread Status:
Not open for further replies.

Share This Page