رفتن به مطلب

تگ h1


bia2mafya

پست های پیشنهاد شده

با سلام

من یه مشکلی با تگ های h1 و h2 دارم

من از کد شرطی زیر برای تایتل استفاده میکنم


<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
elseif (is_single() ) { single_post_title(); }
elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
else { wp_title('',true); } ?></title>

و از کد زیر برای تگ h1


<?php if(is_front_page()):?><h1 class="hide"><?php else: ?><h2 class="hide"><?php endif;?><a href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a><?php if(is_front_page()):?></h1><?php else:?></h2><?php endif;?>

ولی نمیتونم مخفی کنمش و صفحه رو به هم میریزه

لطفا کمک کنید

لینک به ارسال

/*

Theme Name: .....

Theme URI: http:/.........

Description: This template designed especially for .

Version: 1.0.0

Author: HADI BEHGAM

*/

body, h1, h2, h3, h4, h5, h6, blockquote, p, form, ul, li {

margin: 0;

padding: 0;

}

li {

direction:rtl;

text-align:right;

list-style:none;

}

a {

color:#000000;

text-decoration:none;

}

a:hover {

color:#999999

}

img {

border:none

}

body {

font-family: tahoma;

font-size:11px;

text-align:right;

color: #fff;

margin: 0;

padding: 0;

direction:rtl;

background:url(images/bg.jpg) repeat-y center top #000 fixed;background-size: 100% 100%;-o-background-size: 100% 100%;-webkit-background-size: 100% 100%;-khtml-background-size: 100% 100%;-moz-background-size: 100% 100%;

}

input,textarea

{

-webkit-border-radius: 5px;

-moz-border-radius: 5px;

background:#FFF none repeat scroll 0 0;

border:1px solid #BBB;

font-size:11px;

margin:5px 5px 5px 0;

padding:5px 5px 5px 5px;

font-family:Tahoma, Geneva, sans-serif;

}

.middle {

width:960px;

margin: 0 auto;

position:relative

}

.top {

width:960px;

float:right;

height:25px;

background:url(images/top.jpg) repeat-x;

}

.top .best {

width:840px;

float:right;

background:url(images/arrow.jpg) no-repeat right;

height:25px;

color:#fff;

text-shadow:1px 1px #35393b;

padding:0 21px 0 0;

line-height:18px;

}

.top .best a {

color:#bbde76;

}

.top img {

margin:6px 0 0 0;

}

.header {

width:960px;

height:182px;

float:right;

background:url(images/header.jpg) no-repeat;

}

.topmenu {

width:960px;

float:right;

}

.topmenu_right {

width:22px;

height:52px;

float:right;

background:url(images/topmenu_right.jpg) no-repeat;

}

.topmenu_body {

width:916px;

height:52px;

float:right;

background:url(images/topmenu_bg.jpg) repeat-x;

}

.topmenu_left {

width:22px;

height:52px;

float:right;

background:url(images/topmenu_left.jpg) no-repeat;

}

.topmenu_body li {

float:right;

height:52px;

background:url(images/navlink_left.jpg) no-repeat left 0px;

padding:0 0 0 25px;

line-height:45px;

}

.topmenu_body li:hover {

background:url(images/navlink_left.jpg) no-repeat left -52px;

}

.topmenu_body li a {

color:#4b4b4b;

text-shadow:1px 1px #fff;

float:right;

padding:0 15px 0 0;

height:52px;

display:block;

}

.topmenu_body li:hover a {

background:url(images/navlink_right.jpg) no-repeat right 0px;

color:#fff;

text-shadow:1px 1px #16a1e2;

}

.search{

background:url(images/search.jpg) no-repeat;

width:259px;

height:30px;

position:relative;

float:left;

margin:5px 0 0 0

}

.search .input{

border:0;

direction:rtl;

position:absolute;

right:0px;

top:0px;

width:240px;

line-height:14px;

height:30px;

background:none;

color:#fff;

padding:0;

margin:0

}

.search .submit{

border:none;

background:none;

position:absolute;

top:9px;

left:6px;

width:12px;

height:12px;

cursor:pointer;

padding:0;

margin:0

}

.content {

width:958px;

float:right;

background:#fff;

border-right:1px solid #e3e3e3;

border-left:1px solid #e3e3e3;

}

.content .ads img {

margin:2px 5px 0 0;

}

.content .line {

width:958px;

height:6px;

float:right;

background:url(images/line.jpg) no-repeat;

margin:10px 0

}

.sidebar_right {

width:225px;

float:right;

margin:5px 5px 0 0;

}

.menu {

width:225px;

float:right;

margin:0 0 15px 0;

}

.menu_title {

width:225px;

height:38px;

float:right;

background:url(images/sidebar_right_titles.gif) no-repeat;

color:#989898;

}

.menu_title h3 {

float:right;

margin:10px 30px 0 0;

text-shadow:1px 1px #fff;

font-weight:normal;

font-size:11px;

}

.home_menu {

background-position:0px 0px;

}

.ads {

background-position:0px -38px;

}

.cats {

background-position:0px -76px;

color:#8d6b4c !important

}

.contact {

background-position:0px -114px;

}

.text_ads {

background-position:0px -152px;

}

.stat {

background-position:0px -190px;

}

.menu_body {

width:223px;

float:right;

border-right:1px solid #dadada;

border-left:1px solid #dadada;

background:url(images/menu_bg.jpg) repeat-x top #fff;

}

.menu_body .text {

width:203px;

float:right;

margin:5px 10px 0 0;

color:#616161

}

li.movies {

width:100%;

float:right;

background:url(images/movies.png) right top no-repeat;

line-height:14px;

padding:0 20px 0 0 ;

margin:10px 0 10px 0;

}

li.full {

width:100%;

float:right;

background:url(images/full.png) right top no-repeat;

line-height:14px;

padding:0 20px 0 0 ;

margin:10px 0 10px 0

}

li.music_video {

width:100%;

float:right;

background:url(images/music_video.png) right top no-repeat;

line-height:14px;

padding:0 20px 0 0 ;

margin:10px 0 10px 0

}

li.music {

width:100%;

float:right;

background:url(images/music.png) right top no-repeat;

line-height:14px;

padding:0 20px 0 0 ;

margin:10px 0 10px 0

}

li.genre {

width:100%;

float:right;

background:url(images/genre.png) right top no-repeat;

line-height:14px;

padding:0 20px 0 0 ;

margin:10px 0 10px 0

}

li.series {

width:100%;

float:right;

background:url(images/series.png) right top no-repeat;

line-height:14px;

padding:0 20px 0 0 ;

margin:10px 0 10px 0

}

li.movies a ,li.full a ,li.music_video a ,li.music a , li.genre a , li.series a {

color:#6e9f15

}

li.cat-item {

width:100%;

float:right;

background:url(images/li_small.png) no-repeat right top;

line-height:8px;

padding:0 15px 3px 0;

margin:10px 0 0 0

}

li.cat-item a {

color:#6a6a6a;

}

.menu_bottom {

width:225px;

float:right;

height:5px;

background:url(images/menu_bottom.png) no-repeat;

}

li.admins {

width:90px;

height:22px;

float:right;

background:url(images/admins.jpg) no-repeat;

margin:5px 5px 0 0;

text-align:center;

line-height:20px;

}

li.admins a {

color:#616161;

text-shadow:1px 1px #fff;

width:90px;

height:22px;

display:block

}

.ads_box {

width:211px;

float:right;

background:#51b5d6;

border:1px solid #c4d6dc;

height:22px;

color:#fff;

text-align:center;

margin:5px 5px 0 0;

line-height:23px

}

.ads_box a{

color:#fff;

}

li.news {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right 0px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.hits {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -16px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.ip {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -32px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.uonline {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -48px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.feed {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -64px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.twitter {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -80px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.facebook {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -96px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.update {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -112px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.hits {

width:100%;

float:right;

background:url(images/stat_icons.png) no-repeat right -16px;

padding:0 20px 0 0;

line-height:16px;

height:16px;

margin:5px 0 3px 0 ;

}

li.stat_line {

width:203px;

float:right;

background:url(images/stat_line.jpg) no-repeat;

height:8px;

margin:10px 0 10px 0 ;

}

.center {

width:530px;

float:right;

margin:0 5px 0 0

}

.slider {

width:530px;

float:right;

margin:5px 0 0 0;

position:relative

}

.slider_top {

width:530px;

float:right;

height:10px;

background:url(images/slider_top.jpg) no-repeat;

}

.slider_body {

width:530px;

float:right;

background:url(images/slider_bg.jpg) repeat-y;

height:300px

}

.slider_bottom {

width:530px;

float:right;

height:10px;

background:url(images/slider_bottom.png) no-repeat;

}

.post{

width:530px;

float:right;

margin:5px 0 10px 0;

}

.special_post_title {

width:530px;

float:right;

background:url(images/special_post_title.jpg) no-repeat;

height:44px;

}

.post_title {

width:530px;

float:right;

background:url(images/post_title.jpg) no-repeat;

height:61px;

}

.special_post_title h3 {

color:#858585;

float:right;

margin:10px 40px 0 0;

font-size:11px

}

.special_post_title h3 a {

color:#858585;

text-shadow:1px 1px #fff;

}

.post_title h1 {

color:#858585;

float:right;

margin:10px 10px 0 0;

font-size:11px;

width:100%

}

.post_title h1 a {

color:#858585;

text-shadow:1px 1px #fff;

}

.post_title h2 {

color:#858585;

float:right;

margin:10px 10px 0 0;

font-size:11px;

width:100%

}

.post_title h2 a {

color:#858585;

text-shadow:1px 1px #fff;

}

.date {

float:right;

background:url(images/date.png) no-repeat 100% 3px;

color:#c6544e;

padding:0 20px 0 0;

height:20px;

line-height:19px;

margin:10px 5px 0 0

}

.categoey {

float:right;

background:url(images/cats.png) no-repeat 100% 3px;

color:#df7110;

padding:0 20px 0 0;

height:20px;

line-height:19px;

margin:10px 15px 0 0

}

.categoey a {

color:#df7110;

}

.views {

float:right;

background:url(images/views.png) no-repeat 100% 3px;

color:#717171;

padding:0 20px 0 0;

height:20px;

line-height:19px;

margin:10px 15px 0 0

}

.gplus {

float:left;

margin:10px 0 0 5px;

}

.post_body {

width:530px;

float:right;

background:url(images/post_bg.jpg) repeat-y;

}

.post_body .text{

width:510px;

float:right;

text-align:justify;

color:#454545;

margin:0 10px 0 0;

line-height:18px

}

.more {

width:76px;

height:22px;

float:left;

margin:10px 0 0 5px;

}

.post_bottom {

width:530px;

float:right;

background:url(images/post_bottom.jpg) no-repeat;

height:9px;

}

.tag_box {

width:521px;

float:right;

margin:0 5px 0 0;

}

.tag_box_top {

width:521px;

float:right;

height:14px;

background:url(images/tag_box_top.jpg) no-repeat;

}

.tag_box_body {

width:521px;

float:right;

background:url(images/tag_box_bg.jpg) repeat-y;

}

.tag_box_body ul {

float:right;

background:url(images/tag.jpg) no-repeat 100% 0 ;

padding:0 20px 0 0;

min-height:20px;

margin:0 10px 0 0

}

.tag_box_body ul li {

float:right;

color:#a3bad0;

}

.tag_box_body ul li a{

color:#a3bad0;

}

.tag_box_bottom {

width:521px;

float:right;

height:11px;

background:url(images/tag_box_bottom.jpg) no-repeat;

}

.comment_top {

width:530px;

float:right;

background:url(images/comment_top.jpg) no-repeat;

height:30px;

}

.comment_top h3 {

color:#a0a0a0;

float:right;

margin:5px 25px 0 0;

font-size:11px;

font-weight:normal

}

.comment_top h3 a {

color:#a0a0a0;

}

.comment_bottom {

width:530px;

float:right;

height:9px;

background:url(images/comment_bottom.png) no-repeat;

}

.date_c {

float:right;

background:url(images/date_c.jpg) no-repeat 100% 3px;

color:#c0cbcb;

padding:0 20px 0 0;

height:20px;

line-height:19px;

margin:0px 5px 0 0;

font-size:11px

}

.send_comment {

width:530px;

float:right;

background:url(images/send_comment.jpg) no-repeat;

height:29px;

}

.send_comment h3 {

color:#a0a0a0;

float:right;

margin:5px 25px 0 0;

font-size:11px;

font-weight:normal

}

.send_comment h3 a {

color:#a0a0a0;

}

.pages {

width:530px;

height:35px;

float:right;

background:#d5d5d5;

-webkit-border-radius: 5px;

-moz-border-radius: 5px;

-o-border-radius: 5px;

border-radius: 5px;

}

.wp-pagenavi {

clear: both;

direction:ltr;

text-align:left;

float:right

}

.wp-pagenavi a, .wp-pagenavi span {

text-decoration: none;

text-align:center;

background:url(images/page_navi.png) no-repeat 0 -28px;

color:#5d5d5d;

float:right;

width:32px;

height:28px;

line-height:26px;

margin:3px 3px 0 0

}

.wp-pagenavi a:hover, .wp-pagenavi span.current {

color:#FFF;

float:right;

background:url(images/page_navi.png) no-repeat 0 0;

}

.wp-pagenavi span.current {

font-weight: bold;

float:right

}

.last {

width:62px !important;

height:28px !important;

float:right !important;

background:url(images/n_p.jpg) no-repeat !important;

color:#d1d1d1 !important;

}

.sidebar_left {

width:180px;

float:right;

margin:5px 5px 0 0;

}

.menu_left {

width:180px;

float:right;

margin:0 0 15px 0;

}

.menu_title_left {

width:180px;

height:37px;

float:right;

background:url(images/sidebar_left_titles.png) no-repeat;

color:#989898;

}

.menu_body_left h2 {

float:right;

margin:0px 0px 0 0;

text-shadow:1px 1px #fff;

font-weight:normal;

font-size:11px;

}

.menu_title_left h3 {

float:right;

margin:10px 30px 0 0;

text-shadow:1px 1px #fff;

font-weight:normal;

font-size:11px;

}

.menu_body_left {

width:178px;

float:right;

border-right:1px solid #dadada;

border-left:1px solid #dadada;

}

.menu_body_left .text {

width:157px;

float:right;

margin:5px 10px 0 0;

color:#919191;

text-align:justify;

line-height:18px

}

.menu_body_left .text li {

width:157px;

float:right;

background:url(images/right_arrow.jpg) no-repeat right 10px;

padding:0 8px 0 0;

text-align:right

}

.menu_body_left .tagbox {

width:157px;

float:right;

margin:5px 10px 0 0;

color:#919191;

text-align:justify;

line-height:18px

}

.menu_body_left .tagbox ul {

margin:5px 0 10px 0 ;

}

.menu_body_left .tagbox li {

height:24px;

float:right;

line-height:20px;

margin:5px 0 0 0;

padding: 0 5px 0 0

}

.menu_body_left .tagbox li a {

color:#5d5d5d;

}

.menu_body_left .tagbox li:hover a{

color:#de8511;

}

.menu_body_left .tagbox li:hover{

background:#f8ddbb;

-webkit-border-radius: 5px;

-moz-border-radius: 5px;

cursor:pointer;

}

.menu_bottom_left {

width:180px;

float:right;

height:7px;

background:url(images/menu_bottom_left.png) no-repeat;

}

.announcement {

background-position:0px 0px;

}

.ads_left {

background-position:0px -37px;

}

.archive {

background-position:0px -75px;

}

.tags {

background-position:0px -112px;

}

.newpost {

background-position:0px -149px;

}

.application {

background-position:0px -185px;

}

.dl {

width:174px;

height:69px;

float:right;

margin:10px 3px 0 0;

}

.content_bottom {

width:960px;

height:7px;

float:right;

background:url(images/content_bottom.png) no-repeat;

}

.footer {

width:960px;

float:right;

height:52px;

margin:10px 0 15px 0

}

.footer_right {

width:7px;

float:right;

height:52px;

background:url(images/footer_right.png) no-repeat;

}

.footer_body {

width:947px;

float:right;

height:52px;

background:url(images/footer_bg.png) repeat-x;

}

.footer_body .text {

width:818px;

float:right;

margin:5px 0 0 0;

}

.footer_body .ptext {

float:right;

color:#5d5d5d;

margin:5px 0 0 0;

width:818px;

}

.footer_body .etext {

float:right;

color:#5d5d5d;

direction:ltr;

text-align:left;

width:818px;

margin:5px 0 0 0

}

.footer_body .icons {

width:129px;

float:right;

height:33px;

margin:12px 0 0 0

}

.footer_body .icons img{

margin:0 10px 0 0;

float:left

}

.rating {

float:left;

line-height:13px;

color:#a1a1a1;

padding:0 20px 0 0;

height:16px;

margin:0 5px 0 0

}

.footer_left {

width:6px;

float:right;

height:52px;

background:url(images/footer_left.png) no-repeat;

}

.comment, .pagenavi{

margin: 5px 4px 10px 5px;

-moz-box-shadow: 0 0 4px 0px #B4B4B4;

-webkit-box-shadow: 0 0 4px 0px #B4B4B4;

box-shadow: 0 0 4px 0px #B4B4B4;

-moz-border-radius: 5px;

border-radius: 5px;

-webkit-border-radius: 5px;

padding: 5px;

background: #F1F1F1;

background: -moz-linear-gradient(top , #EAEAEA 0%, #F1F1F1 20px) repeat 0 0;

}

.comment h4, .alt h4, .comment-author {

font-size: 11px;

font-family: tahoma;

color: #999;

font-weight: normal;

margin-bottom: 5px;

background:url(images/comment_author.gif) no-repeat right;

padding: 7px 40px 5px 0px;

}

.input-comment, .text-box {

border: 1px solid #e4e4e4;

-moz-border-radius-topright: 5px;

-moz-border-radius-bottomright: 5px;

-moz-border-radius-bottomleft: 5px;

padding: 5px;

width: 200px;

color: #999999;

text-shadow: 1px 1px #fff;

font:11px/1.9 tahoma,Arial,sans-serif;

background: #f5f5f5;

}

.darkhastt {width:175px;height:78px;margin-bottom:8px}

.darkhastt a{width:170px;height:77px;background-image:url(images/darkhast2.png);position:absolute;}

.darkhastt img{-webkit-transition: all 0.1s ease-in-out;-moz-transition: all 0.1s ease-in-out;-o-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;position:absolute;}

.darkhastt img:hover{opacity:0;}

.facebook a {

background: url(images/facebook.png) no-repeat;

display: block;

width: 31px;

height: 31px;

-ms-transition : all 0.3s ease-in-out;

transition : all 0.3s ease-in-out;

-webkit-transition : all 0.3s ease-in-out;

-moz-transition : all 0.3s ease-in-out;

-o-transition : all 0.3s ease-in-out;

}

.facebook a:hover {

background: url(images/facebook.png) no-repeat 0px -31px;

width: 31px;

height: 31px;

}

.twitter a {

background: url(images/twitter.png) no-repeat;

display: block;

width: 31px;

height: 31px;

-ms-transition : all 0.3s ease-in-out;

transition : all 0.3s ease-in-out;

-webkit-transition : all 0.3s ease-in-out;

-moz-transition : all 0.3s ease-in-out;

-o-transition : all 0.3s ease-in-out;

}

.twitter a:hover {

background: url(images/twitter.png) no-repeat 0px -31px;

width: 31px;

height: 31px;

}

.rss a {

background: url(images/rss.png) no-repeat;

display: block;

width: 31px;

height: 31px;

-ms-transition : all 0.3s ease-in-out;

transition : all 0.3s ease-in-out;

-webkit-transition : all 0.3s ease-in-out;

-moz-transition : all 0.3s ease-in-out;

-o-transition : all 0.3s ease-in-out;

}

.rss a:hover {

background: url(images/rss.png) no-repeat 0px -31px;

width: 31px;

height: 31px;

}

.social-networks

{

height:32px;

text-align:center;

}

.social-networks ul li

{

list-style:none;

float:left;

margin-left:10px;

}

#menu-ws-alb {

float:right;

background-color:#eee;

color: #003553!important;

border:1px solid #233068;

border-top:none;

-moz-border-radius: 0px 0px 8px 8px;

-webkit-border-radius: 0px 0px 8px 8px;

border-radius: 0px 0px 8px 8px;

padding: 0px 3px 3px 3px;

-webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.9);

-moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.9);

box-shadow: 0 0 4px #fff;

filter:alpha(opacity=100);

opacity:0.7;

}

.menu-ws-alb {

width:scroll ;

height:scroll ;

}

.menu-ws-alb a{

-webkit-transition: all 0.5s ease-in-out;-moz-transition : all 0.5s ease-in-out;-o-transition : all 0.5s ease-in-out; -ms-transition : all 0.5s ease-in-out; transition : all 0.5s ease-in-out;

background : url(images/bg-top-menu.png) center top repeat;

background-position : 20% -70px;

font-size:12px;

padding:12px;

float : right;

display : block;

color : #111;

-moz-border-radius: 0px 0px 6px 6px;

-webkit-border-radius: 0px 0px 6px 6px;

border-radius: 0px 0px 6px 6px;

}

.menu-ws-alb a:hover {

background-position : 0% -10px;

color : #ffffff;

text-shadow:0px 2px 2px #000;

}

.title-post a:hover {color:#2a2a2a;}

.animate , .animate a , .animate img {-moz-transition: all 0.3s ease-out;-o-transition: all 0.3s ease-out;-webkit-transition: all 0.3s ease-out;transition: all 0.3s ease-out;}

.epic img {padding:10px 5px; filter:alpha(opacity=100);opacity:0.7;-webkit-transition:all 0.3s ease-in;-moz-transition:all 0.3s ease-in;-o-transition:all 0.3s ease-in;transition:all 0.3s ease-in;}

.epic img:hover{filter:alpha(opacity=100);opacity:1;-webkit-transform: scale(1.100);-moz-transform: scale(1.200) ;-o-transform: scale(1.100) ;}

.wbh-share-box{

width:520px;

margin:5px auto;

height:60px;

}

.wbh-share-t{

float:right;

width:120px;

height:30px;

background:url(images/sharethis.png) ;

}

.wbh-share-box ul{

width:520px;

float:left;

padding:0px;

margin: 0px;

height:30px;

list-style: none;

display: inline-table;

}

.wbh-share-box li{

list-style: none;

display: inline-table;

list-style-image: none;

width:60px ;

height:30px;

float:left ;

margin:0px 5px 0px 0px ;

padding:0px ;

}

.wbh-shr a:link{

width:60px ;

height:30px;

float:left ;

margin:0px ;

padding:0px ;

dislay:block;

}

.wbh-shr-icon1 a{

background:url(images/share-wbh.png) 0px -30px ;

}

.wbh-shr-icon1 a:hover{

background:url(images/share-wbh.png) 0px 0px ;

}

.wbh-shr-icon2 a{

background:url(images/share-wbh.png) 0px -90px ;

}

.wbh-shr-icon2 a:hover{

background:url(images/share-wbh.png) 0px -60px ;

}

.wbh-shr-icon3 a{

background:url(images/share-wbh.png) 0px -150px ;

}

.wbh-shr-icon3 a:hover{

background:url(images/share-wbh.png) 0px -120px ;

}

.wbh-shr-icon4 a{

background:url(images/share-wbh.png) 0px -210px ;

}

.wbh-shr-icon4 a:hover{

background:url(images/share-wbh.png) 0px -180px ;

}

.wbh-shr-icon5 a{

background:url(images/share-wbh.png) 0px -270px ;

}

.wbh-shr-icon5 a:hover{

background:url(images/share-wbh.png) 0px -240px ;

}

.wbh-shr-icon6 a{

background:url(images/share-wbh.png) 0px -330px ;

}

.wbh-shr-icon6 a:hover{

background:url(images/share-wbh.png) 0px -300px ;

}

.wbh-shr-icon7 a{

background:url(images/share-wbh.png) 0px -390px ;

}

.wbh-shr-icon7 a:hover{

background:url(images/share-wbh.png) 0px -360px ;

}

.wbh-shr-icon8 a{

background:url(images/share-wbh.png) 0px -450px ;

}

.wbh-shr-icon8 a:hover{

background:url(images/share-wbh.png) 0px -420px ;

کد استایلم اینه . اگه امکانش باشه درستش کنین

لینک به ارسال

سلام

دلیلی نمی بینم داخل تایتل از همچین شرطی استفاده بشه. به نظر من تایتل رو به این صورت:


<title><?php wp_title(); ?>-<?php bloginfo('name'); ?></title>

h1 رو عنوان یا لوگو سایت در نظر بگیرید و h2 رو هم عنوان پست ها.

یه نکته دیگه اینه که تگ های heading رو سعی کنید درست استفاده کنید که نیاز به مخفی کردنشون نباشه.. مخفی که بشه از اهمیتشون کم میشه.

لینک به ارسال

اخه قالب رو بهم میریزه اگه بشه استایل داد بهش تا دیده نشه خیلی خوب میشه

کد h1 اگه لوگو سایت باشه تو صفحه مطالب 2 تا h1 میشه ؟ چون تو مطالب عنوان مطالب به عنوان h1 تعریف شده

لینک به ارسال

به این صروت مخفی میشه.


<h1 style="display:none;">....</h1>

ولی بازم پیشنهاد میدم مخفی نکنید.

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...