Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Supreme
  • #1099
    sunflow
    Member
    Post count: 14

    I need to change titles in <h1></h1> tag, by defaults it’s <h2></h2>
    When I trying change line 42 (single.php) to

    <h1><?php the_title(); ?></h1>

    and modify h1 style (styles.css) to

    h1 { font-size: 24px; line-height: 32px; }

    it’s not works.
    Can you help me?

    #1134
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    It depends on which titles we’re talking about. If they’re generated by the Page Builder, they’re not in single.php. Also, if you’re adding custom CSS in the theme options, you would most likely need to add !important to the rules, as you’re redefining existing CSS. (i.e. font-size: 24px !important)

    A link to the page in question would help.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #1158
    sunflow
    Member
    Post count: 14

    Hi Cosmin,

    I want to change this title “LinkMe: умный браслет для вашего смартфона” and all posts title to <h1>
    http://smart-craze.com/2013/04/09/linkme.html (but style needed like h2)

    Thanks,
    Andrew

    #1251
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Andrew,

    That would be in single.php :

    Then, open style.css and replace all .page-heading h2 with .page-heading h1

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register