آقا من اين كار رو كردم كمك نكرد. اصلآ ببينيد اين هم فيال CSS اش. اگه لطف كنيد اون قسمتهاي مورد نظرتون رو تغيير بديد.
/*
Theme Name: Shayan
Theme URI: http://www.p30help.ir/shayan-theme-for-wordpress/
Description: ظ‚ط§ظ„ط¨ ط´ط§غŒط§ظ† ط·ط±ط§طغŒ ط´ط¯ظ‡ طھظˆط³ط· <a href="http://www.p30help.ir/">ظ…ظ‡ط¯غŒ ط±ط§ط¯غŒ</a> ط¯ط§ط±ط§غŒ ط³ظ‡ ط³ط§غŒط¯ط¨ط§ط± ط¨ط§ ظ‚ط§ط¨ظ„غŒطھ ظˆغŒط¬غŒطھ ظˆ ط³ط§ط²ع¯ط§ط± ط¨ط§ ط§ظ†ظˆط§ط¹ ظ…ط±ظˆط±ع¯ط±ظ‡ط§ طھظ‚ط¯غŒظ… ط¨ظ‡ ظ…ط±ط¯ظ… ط´ط¬ط§ط¹ ط§غŒط±ط§ظ†...
Version: 1.0
Author: Mehdi Radi
Author URI: http://www.p30help.ir
*/
body, h1, h2, h3, h4, h5, h6, address, dd, dl, hr, p, form
{
margin : 0;
padding : 0;
}
blockquote:before, blockquote:after, q:before, q:after {content: ''}
blockquote p
{
background: url(images/blockquote.gif) no-repeat right top;
padding: 3px;
padding-right: 25px;
margin-bottom: 5px;
}
img
{
border:0;
}
a:hover img.aligncenter,a:hover img.alignleft,a:hover img.alignright,a:hover img.alignnone
{
border : 2px solid #6BaBff;
padding : 3px;
margin: -1px;
}
img.aligncenter,img.alignleft,img.alignright,img.alignnone
{
border : 1px dotted #dddddd;
padding : 3px;
}
.clear
{
clear: both
}
body
{
margin : 0;
font-family: Tahoma,Arial,Helvetica,Georgia,Sans-serif;
font-size: 12px;
text-align: center;
vertical-align: top;
background:#ffffff;
color:#111111;
}
h1
{
font-family : Georgia, Sans-serif;
font-size : 24px;
padding : 0 0 10px 0;
}
a:link ,a:visited
{
text-decoration : none;
color : #336699;
}
a:hover
{
text-decoration : none;
color : #1a8bfc;
}
p
{
padding : 10px 0 0 0;
}
#wrapper
{
margin : 0 auto 0 auto ;
width : 1000px;
text-align : right;
direction: rtl;
}
#header
{
background: url(images/header.png) no-repeat center top #d8e7f7;
/*
border-left: 1px solid #d25a0b;
border-right: 1px solid #d25a0b;
*/
float: left;
width : 1000px;
border-bottom: 4px solid #D25A0B;
height: 90px;
}
#blogname
{
font-size: 13px;
margin-top: 10px;
margin-right: 20px;
padding-top: 9px;
padding-right: 80px;
}
#blogname a
{
color: #5e94cf;
}
#blogname-size
{
font: 100 250%/100% Georgia, "Times New Roman", Times, serif;
}
#blogdesc
{
margin-right: 52px;
margin-bottom: 2px;
margin-top: -6px;
padding-bottom: 20px;
padding-right: 26px;
padding-top: 13px;
font-size: 12px;
color: #99c8fa;
background: url(images/butter.png) no-repeat right center;
}
/*************** Menu Bar ***********/
#menubar {
min-width : 980px;
float: right;
height: 24px;
padding: 0;
margin:0 15px 5px 0;
display: inline;
background: transparent;
font-size: 13px;
}
#menubar li {
margin-right: 2px;
float: right;
display: block;
height: 24px;
}
#menubar li ul li {
height: 24px;
border-bottom: 1px solid #ddd;
width: 100%;
}
#menubar li a {
display: block;
background: #000;
margin-top: 1px;
padding-left: 10px;
padding-right: 10px;
font-weight: bold;
font-size: 0.75em;
text-transform: lowercase;
line-height: 24px;
color: #f7f7f7;
}
#menubar li a:hover {
margin-top: -1px;
padding-bottom: 2px;
background: #D25A0B;
color: #fff;
}
#menubar li.current_page_item a {
margin-top: -1px;
padding-bottom: 2px;
background: #D25A0B;
color: #fff;
}
#menubar li.current_page_item a:hover {
background: #b54b05;
color: #fff;
}
#menubar ul {
display: none;
z-index: 99;
position: absolute;
}
#menubar ul li a {
display: block;
background: #FFF;
}
#menubar li ul a:hover {
display: block;
background: #FFF;
}
#menubar ul a {
display: block;
}
#menubar ul ul {
margin-top: -25px;
display: none;
margin-left: 199px;
position: absolute;
}
#menubar li:hover ul ul {
display: none;
}
#menubar li:hover ul {
display: block;
}
#menubar ul li:hover ul {
display: block;
}
#menubar li ul li {
display: block;
width: 100%;
}
#menubar li.page_item ul {
border-top: 1px solid #ddd;
min-width: 20px;
margin-right: -30px;
}
#menubar li.page_item a {
display: block;
}
#menubar li.page_item a:hover {
display: block;
}
#menubar li.page_item ul li a {
display: block;
text-align: right;
height: 24px;
line-height: 24px;
background: #ecebeb;
padding-left: 10px;
padding-right: 10px;
text-transform: lowercase;
font-size: 0.7em;
font-weight: bold;
color: #666;
border-right: 1px solid #dcdcdc;
border-bottom: 1px solid #dcdcdc;
border-top: 1px solid #dcdcdc;
border-left: 1px solid #dcdcdc;
}
#menubar li.page_item ul li a:hover {
padding-top: 2px;
display: block;
text-align: right;
height: 24px;
line-height: 24px;
background: #FFF;
padding-left: 10px;
padding-right: 10px;
text-transform: lowercase;
font-size: 0.7em;
font-weight: bold;
color: #393939;
border-right: 1px solid #dcdcdc;
border-bottom: 1px solid #dcdcdc;
border-left: 1px solid #dcdcdc;
}
/*----------- Search Form ---------*/
#search{
position: absolute;
right: 755px;
float: left;
margin: 0;
margin-top: 2px;
margin-left: 50px;
padding: 0;
padding-left: 10px;
}
#textinput{
font : tahoma, "Georgia", Times, serif;
height: 17px;
width: 190px;
border: 1px solid #d28e0b;
margin-top: 2px;
padding-top: 2px;
margin-left: -4px;
font-family: tahoma;
color: #a9730c;
}
.submit{
position: absolute;
margin-top: 2px;
background-color: #d28e0b;
border: 1px #d28e0b solid;
padding: 0px 3px 0 3px;
color: #fff;
text-decoration: none;
font : 600 110%/135% "Times New Roman", "Georgia", Times, serif;
}
.submit:visited{
color: black;
}
.submit:hover{
background-color: #d5a446;
padding: 0px 3px 0 3px;
}
.submit:active{
color: black;
}
/*------------*/
.cssbutton{
background-color: #d1ec4c;
border: 2px #d1ec4c outset;
padding: 1px 4px;
color: black;
text-decoration: none;
font: bold 90% "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
}
.cssbutton:visited{
color: black;
}
.cssbutton:hover{
border-style: inset;
background-color: #e3f48e;
padding: 2px 3px 0 5px;
}
.cssbutton:active{
color: black;
}
/*----------*/
/*----- Finish Search ------*/
#container
{
margin-left: 5px;
margin-right: 3px;
margin-bottom: 5px;
float : left;
width : 570px;
}
/*------------------------------------*/
.post
{
padding : 5px 0 5px 0;
margin-bottom: 7px;
}
.post h2
{
background: url(images/entry-header.jpg) no-repeat top right;
font : 300 200%/135% "Times New Roman", "Georgia", Times, serif;
margin-bottom: 5px;
padding-top: 4px;
padding-right: 20px;
padding-left: 11px;
}
.con-post
{
margin-right: 15px;
text-align: center;
width: 100px;
border: 1px solid #cee0f4;
background: #e2eef9;
font-size: 13px;
padding-top: 3px;
padding-bottom: 3px;
font-weight:bold;
}
.con-post:hover
{
border: 1px solid #e2eef9;
background: #fff;
}
.edit
{
font-family: georgia;
font-size: 16px;
text-align: center;
background:#e8f1f7;
padding-bottom: 2px;
font-weight:bold;
border: 1px solid #b7cfe9;
margin-top: 5px;
margin-right: 5px;
margin-left: 5px;
margin-bottom: 5px;
}
.postmetadate-top
{
width: 100%;
float: right;
border-bottom: 1px solid #cee0f4;
margin-bottom: 1px;
margin-top: 1px;
}
span.comment-pop
{
background: url(images/comment-pop.jpg) no-repeat center left;
font-size: 10px;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 22px;
float: left;
margin-top: 1px;
margin-bottom: 1px;
margin-left: 2px;
}
.comment-pop a:link,.comment-pop a:visited
{
color: #5eb4fd;
}
.comment-pop a:hover
{
color: #1794fe;
}
span.date-author
{
background: url(images/author.jpg) no-repeat center right;
font-size: 10px;
color: #5eb4fd;
float: right;
margin-top: 1px;
margin-bottom: 1px;
margin-right: 2px;
padding-top: 2px;
padding-bottom: 3px;
padding-right: 19px;
}
span.date-author a:link,span.date-author a:visited
{
color: #3ba4fd;
}
span.date-author a:hover
{
color: #0079df;
}
.entry
{
background: url(images/entry-top.png) no-repeat top center;
border-right: 1px solid #cee0f4;
border-left: 1px solid #cee0f4;
border-bottom: 1px solid #cee0f4;
padding-right: 7px;
padding-left: 7px;
padding-top: 1px;
padding-bottom: 4px;
line-height: 18px;
}
.postmetadata-bottom
{
background: url(images/postmetadata.jpg) no-repeat bottom center;
min-height: 17px;
padding-bottom:10px;
padding-top:5px;
margin-bottom:10px;
margin-top:-12px;
padding-right:15px;
}
#category
{
background: url(images/category.jpg) no-repeat right top;
padding-right: 20px;
padding-bottom: 4px;
}
#code-place
{
float:left;
width: 570px;
}
.goldar
{
background: url(images/goldar.png) no-repeat center top;
height: 12px;
padding-bottom: 2px;
}
/*----------------- Navigation -------------*/
#pagenavi
{
height:28px;
margin-top: 5px;
padding : 3px 2px 9px 2px;
background: url(images/navigation.gif) no-repeat top center ;
text-align: center;
}
#pagenavi a:link,#pagenavi a:visited
{
color: #3e97b8;
}
/*
.navigation
{
padding : 10px 0 0 0;
font-size: 14px;
font-weight: bold;
line-height: 18px;
}
*/
.navigation
{
padding : 3px 2px 18px 2px;
font-size: 14px;
font-weight: bold;
}
.navigation a:link,.navigation a:visited
{
color: #3e97b8;
}
.navigation a
{
font-weight: bold;
text-decoration: none;
font-size: 0.9em;
}
.previous
{
float: left;
}
.next
{
float: right;
}
/*--------------- Page Navi -----------*/
.wp-pagenavi
{
padding-top: 3px;
}
span.pages
{
}
span.current
{
}
/* ----------------- Finish Navigation ------------- */
/**************** Page Navi ****************/
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
background: #e0eefd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
.wp-pagenavi a:hover {
background: #d1e2f6 !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
.wp-pagenavi span.pages {
background: #e0eefd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
color: #3979c2 !IMPORTANT;
}
.wp-pagenavi span.current {
background: #cfe5fd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
.wp-pagenavi span.extend {
background: #e0eefd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
/***************** Finish Page Navi ******************/
/*----------- Feed ---------------*/
#feed
{
border-right: 1px solid #dae998;
border-left: 1px solid #dae998;
border-bottom: 1px solid #dae998;
background: #f0f7d8;
width: 406px;
height: 145px;
}
#pic-rss
{
text-align: center;
float: right;
width: 170px;
}
#subscibe-button
{
margin-top: 5px;
}
#email-form
{
width: 170px;
border: 1px solid #c6d934;
background: #f1f7dc;
color: #98af3d;
font-size: 12px;
font-family: tahoma;
text-align: left;
}
#form-rss
{
padding-left: 5px;
padding-right: 5px;
text-align: center;
float: left;
width: 225px;
color: #777;
border-right: 1px solid #dae998;
}
#feed-h2
{
margin-right: 0px;
background: url(images/feed-h2.png) no-repeat top center;
color: #6b830c;
}
#feed img
{
padding-top: 5px;
padding-bottom: 5px;
}
/*-------- Finish Feed ---------*/
/*----------- All Sidebar ---------*/
.textwidget
{
padding: 7px;
}
#all-sidebar
{
float: right;
width: 420px;
}
#sidebar
{
float: right;
width: 420px;
}
table#wp-calendar
{
width : 100%;
}
/*----------- Sidebar center ---------*/
.sidebar_center #tag_cloud a
{
padding-right: 5px;
font-family: tahoma,goergia;
}
.sidebar_center #tag_cloud h2
{
background: url(images/sidebar-h2-tags.jpg) no-repeat top center;
padding-bottom: 6px;
padding-top: 10px;
margin-right: 0px;
margin-left: -3px;
}
.sidebar_center
{
float: right;
width: 410px;
margin: 3px 5px 2px 3px;
display: inline;
}
.sidebar_center ul
{
width: 410px;
list-style: none;
margin: 0 0 0 0;
padding-top: 0;
padding-bottom:0;
padding-right: 0;
padding-left: 0;
}
.sidebar_center ul li
{
background: url(images/sidebar-center-center.png) top center #eef4fb;
border-bottom: 1px solid #cddff4;
margin-right: 0px;
margin-left: 0px;
margin-bottom: 15px;
margin-top: 0;
width: 408px;
color: #588bc7;
font-size: 12px;
}
.sidebar_center ul li ul li {
background: url(images/bullet.gif) no-repeat right center ;
margin-bottom: 0;
width: 390px;
padding-right: 13px;
margin-right: 2px;
}
.sidebar_center ul li ul li a
{
display: block;
color: #4a82b9;
padding: 3px 0 4px 0;
margin: 0 3px 0 2px;
line-height: normal;
}
.sidebar_center ul li li:hover
{
background: url(images/h.gif) no-repeat center right #e3eefb;
padding-right: 13px;
margin-right: 2px;
}
.sidebar_center ul li h2
{
height: 20px;
background: url(images/sidebar-h2-center.png) no-repeat top center;
color: #3e97b8;
padding: 4px 0;
padding-left: 5px ;
padding-right: 8px ;
font: 400 155%/100% Georgia, "Times New Roman", Times, serif;
}
.sidebar_center ul li table
{
background: #eef4fb;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
.sidebar_center ul li caption
{
background: #eef4fb;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
.sidebar_center ul ul li
{
background: #f1f2f2;
padding:0;
line-height : 24px;
}
.sidebar_center select
{
font-family: tahoma;
background: #d7e9fd;
border: 1px solid #b4d5fd;
color: #1f84fb;
width: 387px;
margin-right: 10px;
margin-left: 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.sidebar_center div
{
}
/*----------- Sidebar right ----------*/
.sidebar_right #tag_cloud h2
{
background: url(images/sidebar-tags.jpg) no-repeat top center;
padding-bottom: 8px;
padding-top: 8px;
margin-right: 0px;
margin-left: -3px;
}
.sidebar_right
{
float: right;
width: 199px;
margin: 0 5px 10px 3px;
display: inline;
}
.sidebar_right ul
{
width: 199px;
list-style: none;
margin: 0 0 0 0;
padding-top: 0;
padding-bottom:0;
padding-right: 0;
padding-left: 0;
}
.sidebar_right ul li
{
background: url(images/sidebar-center-bottom.gif) top center #eef4fb;
border-bottom: 1px solid #cddff4;
margin-right: 0px;
margin-left: 0px;
margin-bottom: 15px;
margin-top: 0;
width: 197px;
color: #588bc7;
font-size: 12px;
}
/*
.sidebar_right ul li li
{
background: #eef4fb;
margin-right: -1px;
margin-left: -1px;
border-bottom: 1px solid #cddff4;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
*/
.sidebar_right li div
{
}
.sidebar_right ul li ul li {
background: url(images/bullet.gif) no-repeat right center ;
margin-bottom: 0;
width: 181px;
padding-right: 13px;
margin-right: 2px;
}
.sidebar_right ul li ul li a
{
display: block;
color: #4a82b9;
padding: 3px 0px 4px 0;
margin: 0 3px 0 2px;
line-height: normal;
}
.sidebar_right ul li li:hover
{
background: url(images/h.gif) no-repeat center right #e3eefb;
padding-right: 13px;
margin-right: 2px;
}
.sidebar_right ul li h2
{
height: 22px;
background: url(images/sidebar-h2.png) no-repeat top center;
color: #3e97b8;
padding: 4px 0;
padding-left: 5px ;
padding-right: 5px ;
padding-bottom: 2px ;
font: 400 155%/100% Georgia, "Times New Roman", Times, serif;
}
.sidebar_right ul li table
{
background: #eef4fb;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
.sidebar_right ul li caption
{
background: #eef4fb;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
.sidebar_right ul ul li
{
background: #f1f2f2;
padding:0;
line-height : 24px;
}
.sidebar_right select
{
font-family: tahoma;
background: #d7e9fd;
border: 1px solid #b4d5fd;
color: #1f84fb;
width: 177px;
margin: 10px;
}
.sidebar_right div
{
}
/*----------- Sidebar left ------------*/
.sidebar_left #tag_cloud h2
{
background: url(images/sidebar-tags.jpg) no-repeat top center;
padding-bottom: 8px;
padding-top: 8px;
margin-right: 0px;
margin-left: -3px;
}
.sidebar_left
{
float: right;
width: 199px;
margin: 0 5px 10px 3px;
display: inline;
}
.sidebar_left ul
{
width: 199px;
list-style: none;
margin: 0 0 0 0;
padding-top: 0;
padding-bottom:0;
padding-right: 0;
padding-left: 0;
}
.sidebar_left ul li
{
background: url(images/sidebar-center-bottom.gif) top center #eef4fb;
border-bottom: 1px solid #cddff4;
margin-right: 0px;
margin-left: 0px;
margin-bottom: 15px;
margin-top: 0;
width: 197px;
color: #588bc7;
font-size: 12px;
}
/*
.sidebar_left ul li li
{
background: #eef4fb;
margin-right: -1px;
margin-left: -1px;
border-bottom: 1px solid #cddff4;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
*/
.sidebar_left ul li ul li {
background: url(images/bullet.gif) no-repeat right center ;
margin-bottom: 0;
width: 181px;
padding-right: 13px;
margin-right: 2px;
}
.sidebar_left ul li ul li a
{
display: block;
color: #4a82b9;
padding: 3px 0px 4px 0;
margin: 0 3px 0 2px;
line-height: normal;
}
.sidebar_left ul li li:hover
{
background: url(images/h.gif) no-repeat center right #e3eefb;
padding-right: 13px;
margin-right: 2px;
}
.sidebar_left ul li h2
{
height: 22px;
background: url(images/sidebar-h2.png) no-repeat top center;
color: #3e97b8;
padding: 4px 0;
padding-left: 5px ;
padding-right: 5px ;
padding-bottom: 2px ;
font: 400 155%/100% Georgia, "Times New Roman", Times, serif;
}
.sidebar_left ul li table
{
background: #eef4fb;
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
}
.sidebar_left ul li caption
{
border-right: 1px solid #cddff4;
border-left: 1px solid #cddff4;
background: #eef4fb;
}
.sidebar_left ul ul li
{
background: #f1f2f2;
padding:0;
line-height : 24px;
}
.sidebar_left select
{
font-family: tahoma;
background: #d7e9fd;
border: 1px solid #b4d5fd;
color: #1f84fb;
width: 177px;
margin: 10px;
}
.sidebar_left div
{
}
/*------------------ Finish Sidebars -----------*/
/*------------- Footer -----------*/
#footer
{
background: #d8e7f7;
border-top: 3px solid #D25A0B;
clear: both;
float: left;
width: 100%;
line-height : 18px;
color: #777;
}
#shayan
{
color: #555;
font-weight: bold;
}
.copyright {
float: left;
line-height: 2em;
font-size: 12px;
}
.credit {
float: right;
color: #999;
line-height: 1.4em;
}
a.sitename {
border-bottom: 1px dotted #ff9600;
}
a.footrss {
background: url(images/rssimg.gif) no-repeat left center;
padding-left: 22px;
margin-left: 10px;
}
.credit a {
font-weight: bold;
color: #666;
}
.credit a:hover {
color: #ff9600;
}
#rss
{
float: left;
}
/*------------ Finish Footer ----------*/
/* -------------- Comment ----------------*/
#comments-template
{
margin: 10px 0 0;
padding: 0 10px 25px 10px;
}
#comments-template ol
{
margin: 0;
padding: 0 0 15px;
list-style-type: none;
}
#comments-template ol li
{
background: #ecf5c8;
border: 1px solid #d6e792;
margin: 10px 0 0 0;
line-height: 18px;
padding: 10px;
padding-bottom:10px;
font-size: 11px;
color: #555;
}
#comments-template ol li p
{
width: 462px;
}
.alt
{
background : #000;
}
#comments-template h2, #comments-template h3
{
padding-left: 21px;
margin-top: 4px;
margin-bottom: 2px;
font-family: ,tahoma,Georgia, Sans-serif;
font-size: 14px;
color: #555;
}
#comments
{
background: url(images/comments.jpg) no-repeat top right;
padding-right: 20px;
padding-left: 7px;
padding-top: 10px;
padding-bottom: 7px;
}
.commentmetadata
{
height: 23px;
margin: 0;
padding: 0;
background: url(images/comment-h2.jpg) no-repeat right top;
font-size: 12px;
padding-left: 3px;
padding-right: 35px;
padding-top: 0;
padding-bottom: 0;
font-size: 12px;
color: #7a911e;
}
.commentmetadata a
{
color: #7a911e;
}
#comments-template p.nocomments
{
padding: 0;
}
#write-comment
{
border: 1px solid #cddff4;
background: #eef4fb;
padding: 3px;
padding-right: 8px;
}
#comments-template textarea
{
font-family: tahoma,Arial, Helvetica, Georgia;
font-size: 12px;
}
.comment_author_link
{
max-width: 426px;
}
img.avatar
{
border: 1px solid #ddd;
padding: 2px;
float:left;
margin-right:5px;
}
#submit
{
}
#sub-comment
{
float: right;
margin-left: 20px;
}
#author
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}
#email
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}
#url
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}
#comment
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}