~
Advanced Hosters -


: 25.08.2014
: 35
# : 03, 2015 6:09 pm
! header.php ( ) :

<?php if(is_home()){ ?>
<h1 id="name-text" class="logo-site">
<span itemprop="headline"><?php bloginfo('name'); ?></span>
</h1>
<?php } else {?>
<div id="name-text" class="logo-site">
<span itemprop="headline"><?php bloginfo('name'); ?></span>
</div>
<?php } ?>

h1, . , .



:

body {
font:14px/1.2 Arial, Verdana, Geneva, sans-serif;
color:#FFFFFF;
background:#f6f7f8;
word-wrap:break-word;
min-width:1190px;
margin: 50;

}

, . : , ?

Adler
: 23.07.2014
: 908
# : 06, 2015 11:27 am
WordPress H1 H2..H6

Yabuti
V.I.P.
: 28.11.2008
: 11270
Contest (: 2)
# : 06, 2015 12:07 pm
, body, h1:
:
h1 {
font-size:18px;
}


, h1:
:
<h1 <?php if(is_home() || is_front_page()) : ?>class="mainpage_h1"<?php endif; ?>>Header</h1>


CSS :
:
.mainpage_h1 {
font-size:18px;
}


, , , :
:
<h1 <?php if(!is_home() || !is_front_page()) : ?>class="mainpage_h1"<?php endif; ?>>Header</h1>

PQCService.net 7 , icq: 87244588
EvaPharmacy. , ! Jabber: [email protected] ICQ: 750000
    ~