Change H2 to H3 tag on homepage

Discussion in 'Local Business WordPress Theme' started by mrnic, May 9, 2013.

  1. mrnic

    mrnic New Member

    Joined:
    Jul 27, 2012
    Messages:
    10
    Likes Received:
    0
    Hi, Where would I edit the header tags for the homepage? I count 8 H2 tags on my home page and no H3, H4 ect.... For instance each of the feature headings is an H2. How can I change edit the header tag numbers or remove excess tags that are associated with content on the home page?
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    You can edit feature headings through code given below.

    Code:
    .feature_contentbox h2 {
    color: red;
    margin-top: 20px;
    margin-right: 15px;
    line-height: 30px;
    margin-bottom: 15px;
    font-size: 24px;
    }
     
  3. mrnic

    mrnic New Member

    Joined:
    Jul 27, 2012
    Messages:
    10
    Likes Received:
    0
    Thanks, can you please tell me which php file is that located in? I can't locate it.
    I only want 1 H2 tag on the home page, so if i need to edit in multiple files please let me know.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Please do let me know what changes you want in featured heading. I will provide you easy css code for that.
     
  5. mrnic

    mrnic New Member

    Joined:
    Jul 27, 2012
    Messages:
    10
    Likes Received:
    0
    Hello,
    Thanks I appreciate your help. I'd like to keep the H2 tag on the first feature heading, and remove the H2 tags on feature headings 2 & 3. Additionally, I'd like change the H2 tag on the Left Feature Heading to H3.
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    1.For your first issue

    Go to front-page.php present in your theme directory and follow the instruction as shown in image given below

    [​IMG]


    Now,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .feature_contentbox h3 {
        margin-top:20px;
        margin-right:15px;
        line-height:30px;
        margin-bottom:15px;
        font-size:24px;
    }

    2.For your second issue

    Go to front-page.php present in your theme directory and follow the instruction as shown in image given below

    [​IMG]


    Now,

    Go to style.css present in your theme directory and follow the instruction as shown in image given below

    [​IMG]


    This will solve your issue.
     

Share This Page