queue  18
support
Results 1 to 5 of 5

Thread: [SOLVED] Change h1 to h2 in homepage

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    8

    Change h1 to h2 in homepage

    Hi,

    I want to change all the h1 to h2 (homepage). Currently I have 10 h1. This is not good for SEO.

    How can I change from h1 to h2? My priority is to change the title of each section from h1 to h2. Can you tell me which file or files I have to edit to change it?

    Thank you.

  2. #2
    Lead Coder Fabio's Avatar
    Join Date
    Aug 2011
    Posts
    2,081
    Hello,

    you can edit all pagecontent-*.php in the theme root folder and change h1 to h2.
    My cave is full of servers

  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    8
    Thank you. It worked.

    Now I have changed the remain three h1 in the home slider. I have edited the headlines.php file and changed the h1 to h2, but now the slider needs to be adjusted. Can you take a look to my website to see what I mean? http://innovamotion.com

    Will be great if you can tell me which file should I edit to adjust the slider.

    I will also appreciate the custom css to make the text of the slider in uppercase.

    Thank you!

  4. #4
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Posts
    1,987
    Code:
    .home-slider .slides>li h2{
        text-transform: uppercase;
        font-size: 75px;
        margin: 0;
        vertical-align: middle;
        padding: 20px 0;
    }
    Hi, This snippet above should do the trick. Paste it into the Custom CSS field in the theme options panel.

  5. #5
    Junior Member
    Join Date
    Aug 2014
    Posts
    8
    It worked perfectly. Thank you very much.