سلام . چگونه می توان دور لینک های ( برگه های ) موجود در هدر ، کادر ایجاد کرد ؟ ممنون میشم
سلام . چگونه می توان دور لینک های ( برگه های ) موجود در هدر ، کادر ایجاد کرد ؟ ممنون میشم
فکر کنم باید در استایل قالب تغییرات ایجاد کنید
style.css قالبتان را بررسی کنید
سلام لینک سایتتون رو بدید یا فالهای قالبتونو بزارید.
http://WWW.KANOONSHIMIGORGAN.COM
hadisoft گفت:
سلام لینک سایتتون رو بدید یا فالهای قالبتونو بزارید.
کدوم فایل ه
hadisoft گفت:
سلام لینک سایتتون رو بدید یا فالهای قالبتونو بزارید.
کدوم فایل ها را قرار بدم ؟ لطفا کمک.
کدوم فایل ها را قرار بدم ؟ لطفا کمک.
محتویات فایل style.css قالبتون رو بذارید.
hoshyar گفت:
محتویات فایل style.css قالبتون رو بذارید.
/*
Theme Name: khabari theme by <a href="http://www.ariatemp.ir">ariatemp</a>.
Description: khabari theme by <a href="http://www.ariatemp.ir">ariatemp</a>. The theme is released by ariatemp..
Version: 2.0
Author: ariatemp
Author URI: http://www.ariatemp.ir/
Tags: two-columns, threaded-comments, left-sidebar, fixed-width, SILVER
*/
body {
font-family:tahoma;
font-size:12px;
background:#FDF5DE;
margin-top:0px;
}
A:link {
COLOR: #FF0000; text-decoration: none
}
A:visited {
COLOR: #FF0000; text-decoration: none
}
A:active {
COLOR: #4D7CB3; text-decoration: none
}
A:hover {
COLOR: #4D7CB3; text-decoration: none
}
.wrapper {
width:950px;
background-color:white;
direction:rtl;
margin:auto;
border:2px solid #CDCCCC;
text-align: right;
}
.right li {
padding:0px;
margin:0px;
}
#page {
width:950px;
float:right;
background-color:white;
}
#header {
background: url(images/header.jpg) no-repeat;
float:right;
width:950px;
height:122px;
}
.tabsul ul, #sidel ul, #sider ul, .sidebar ul { list-style-type:none; margin:0; padding:0; font-size:11px; padding-right:0px;}
.tabs ul li, #sidel ul li, #sider ul li, .sidebar ul li { list-style-type:none; padding:0; }
.tabs ul li ul, #sidel ul li ul, #sider ul li ul, .sidebar ul li ul { list-style-type:square; margin:0; padding:0 3px; padding-right:0px;}
.tabs ul li ul li, #sidel ul li ul li, #sider ul li ul li, .sidebar ul li ul li {list-style-type: none;}
#sidel li a, #sider li a, .sidebar li a {
display:block;
width:140px;
background-color:#D0D0D0;
border:1px solid white;
border-left:1px solid #999;
text-decoration:none;
color:black;
padding:4px 10px 8px 18px;
overflow:hidden;
}
#sidel li, #sider li, .sidebar li, #ads li, #sidel ul, #sidel li ul li {
list-style:none;
}
#sidel ul li ul a, #sider ul li ul a, .sidebar ul li ul a{
display:block;
border:1px solid white;
border-left:1px solid #999;
text-decoration:none;
color:black;
}
.tabs li a, #sidel li a, #sider li a, .sidebar li a {
background:#D0D0D0;
color:black;
}
.tabsli a:hover, #sidel li a:hover, #sider li a:hover, .sidebar li a:hover {
color:black;
background-color:#CCCBCB;list-style:none;
list-style:none;border-color:#9C9999;
}
.tabsul li ul a, #sidel ul li ul a, #sider ul li ul a, .sidebar ul li ul a {
background:#D0D0D0;
}
.title ul {
padding:0px;
margin: 0px;
margin-right: 15px;
}
#ads ul li {
padding-right:4px;
list-style: circle;
}
.left {
float:left;
width:768px;
overflow:hidden;
}
#menu {
width:768px;
height:25px;
background-color:white;
border-bottom:1px solid #CDCCCC;
border-top:1px solid #CDCCCC;
overflow:hidden;
margin-bottom:10px;
list-style-type:none;
font-size:12px;
color:black;
}
#menu img {
margin-right:5px;
margin-top:1px;
}#menu A IMG {FILTER: progid:DXImageTransform.Microsoft.Alpha(opacity=50);moz-opacity: 0.40; opacity: 0.4}#menu A:hover IMG {FILTER: progid:DXImageTransform.Microsoft.Alpha(opacity=100);moz-opacity: 1.00; opacity: 1}
.right {
float:right;
width:180px;
overflow:hidden;
}
#sidel {
margin-left:3px;
float:left;
width:170px;
overflow:hidden;
}
#sidel h2{
list-style-type:none;
background-color:white;
border-bottom:1px solid #CDCCCC;
border-top:1px solid #CDCCCC;
font-family:tahoma;
font-size:8pt;
font-weight:bold;
height:20px;
margin:0px;
padding-right:10px;
padding-top:4px;
text-align:right;
}
.sidel {
background:#F6F4F4;
overflow:hidden;
}
#news {
overflow:hidden;
width:490px;
}
.img {
width:100px;
height:100px;
float:left;
padding-top:5px;
}
#news h1 {
width:478px;
height:20px;
font-family:tahoma;
font-size:12px;
font-weight:bold;
margin:0px;
text-align:right;
}
#news h1 { background: #F9FAFA url('images/menu.jpg') repeat-x; height: 28px; font-size: 1em; font-weight: bold; line-height: 29px; border: 1px solid #E6E6E6;; padding-left:0; padding-right:10px; padding-top:0px; padding-bottom:0px }
#body {
text-align:right;
border:1px solid #CDCCCC;
border-top:none;
background:#FBFBFB;
margin-bottom:5px;
}
.body {
width:487px;
min-height:105px;
text-align:right;
border-top:none;
background:#FBFBFB;
margin-bottom:5px;
border:1px solid #CDCCCC;
}
#pad {
padding:4px;
text-align:right;
}
#ads {
float:left;
width:270px;
background:white;
margin-bottom:5px;
margin-left:2px;
}
#ads1 {
float:left;
width:270px;
background:white;
margin-bottom:5px;
margin-left:2px;
}
#c {
border:1px solid #CDCCCC;
overflow:hidden;
}
#ads h2 {
width:auto;
height:20px;
font-family:tahoma;
font-size:12px;
font-weight:bold;
margin:0px;
text-align:right;
margin-top:6px;
color: #A93131;
}
#ads h2 { background: #F9FAFA url('images/menu.jpg') repeat-x; height: 28px; font-size: 1em; font-weight: bold; line-height: 29px; border: 1px solid #E6E6E6;; padding-left:0; padding-right:10px; padding-top:0px; padding-bottom:0px }
#abzarak {
float:right;
width:484px;
}
#abzar {
float:right;
width:242px;
}
#sider {
margin-right:5px;
float:right;
width:270px;
overflow:hidden;
}
.sider {
padding:4px;
text-align:right;
border-right:1px solid #CDCCCC;
border-left:1px solid #CDCCCC;
border-bottom:1px solid #CDCCCC;
background:#A8BBCB;
margin-bottom:5px;
}
#sider h2{
list-style-type:none;
background-color:white;
border-bottom:1px solid #CDCCCC;
border-top:1px solid #CDCCCC;
font-family:tahoma;
font-size:8pt;
font-weight:bold;
height:20px;
margin:0px;
padding-right:10px;
padding-top:4px;
text-align:right;
}
.sidebar {
width:273px;
float:right;
}
#sidebar {
margin-top:5px;
margin-right:5px;
float:right;
width:130px;
}
#sidebar h2{
background-color:white;
border-bottom:1px solid #CDCCCC;
border-top:1px solid #CDCCCC;
font-family:tahoma;
font-size:8pt;
font-weight:bold;
height:20px;
margin:0px;
padding-right:10px;
padding-top:4px;
text-align:right;
}
#s {
margin-top:5px;
float:left;
width:129px;
}
#s h2{
list-style:none;
background: white;
border-bottom:1px solid #CDCCCC;
border-top:1px solid #CDCCCC;
font-family:tahoma;
font-size:8pt;
font-weight:bold;
height:20px;
margin:0px;
padding-right:10px;
padding-top:4px;
text-align:right;
}
.break {
clear: both;
}
#footer {
width: 950px;
float:right;
border: 1px solid #dddddd;
font-family: tahoma;
background-color: rgb(248,248,248);text-align:left;
}
/* --= Begin Comments =-- */
textarea#comment { width:400px; height:70px; }
.commentlist { color: #6e604f; }
.commenttext p { line-height: 1.5; margin-bottom: 1em; }
ol.commentlist { margin-bottom: 2.5em; font: 12px tahoma; }
.commentlist li { margin:0 1em; padding:10px; background-color:#f2f0ea; line-height:1.7em; }
.commentlist li.alt { margin:0 1em; padding:10px; border:none; background-color:transparent; }
.commenttext { clear:both; }
.commentmetadata { }
.commentmetadata a { color: #6e604f; font-weight: bold; text-decoration:none; }
.commentmetadata a:hover, .commentauthor a:hover { color: #cc2a43; text-decoration: none; }
.commentauthor, .commentauthor a { font-weight: bold; color: #362b23; }
#commentform { margin-left: 7px; font:12px tahoma; color: #6e604f; }
#commentform p { margin:0.5em 0.5em 0 0.5em; }
#commentform input,#commentform textarea { border:1px solid #d3cfbb; background-color: #ded9c4; color:#1d1d1d; margin:0; padding:0.2em; }
#commentform input:hover,#commentform textarea:hover { border:1px solid #c5c1ad; background-color: #dbd6c0; }
#submit:hover { border:1px solid #c5c1ad; background-color:#c5c1ad; }
/* --= End Comments =-- */
/****************Caption*******************/
img.alignleft, div.alignleft {
float:left;
margin:0 0.5em 0.5em 0;
}
img.alignright, div.alignright {
float:right;
margin:0 0 0.5em 0.5em;
}
img.aligncentered, div.aligncentered, img.aligncenter, div.aligncenter {
text-align:center;
margin:0 auto;
}
/****************Caption2*******************/
div.wp-caption {
padding:5px;
background-color:#F3F3F3;
-moz-border-radius:3px;
-webkit-border-radius:3px;
-border-radius:3px;
text-align:center;
border:1px solid #DDD;
}
div.wp-caption p.wp-caption-text {
margin:0;
padding:3px 0 0 0;
color:#000;
font-size:11px;
text-align:center;
}
<iframe height="685" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none" src="http://www.dade24.net/form/embed.php?id=3" title="پرسش و پاسخ "><a href="http://www.dade24.net/form/view.php?id=3" title="پرسش و پاسخ ">پرسش و پاسخ </a></iframe>
<a href="http://www.dade24.net/form/view.php?id=3" title="پرسش و پاسخ ">پرسش و پاسخ </a>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://c.gigcount.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEzMjc2NDgzOTYzMDUmcHQ9MTMyNzY*ODc*MzA2MiZwPTE1MzkzMSZkPSZnPTEmbz*wODQ4OWI2M2FiMDQ*Yzg2ODNi/Mzc5ZGI4YzI*ZDUzNSZvZj*w.gif" /><script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
<style type="text/css">
#showyourself {
font-family: "Trebuchet MS", arial, sans-serif;
width: 190px;
border: 1px solid #A8A8A8;
list-style: none;
margin: 0;
padding: 0;
}
#showyourself h2 {
color:#000000;
background-color: #FFC000;
text-align: center;
padding: 1px 5px;
font-size: 18px;
margin: 0;
font-weight: normal;
}
ul#showyourself li {
margin: 0px;
padding: 1px 0px;
list-style: none;
display: block;
}
#showyourself li+li {
border-top: 1px solid #A8A8A8;
}
#showyourself li a {
background: #E8E8E8;
display: block;
color: #000000;
font-size: 11px;
padding: 1px 3px;
border: 0;
text-decoration: none;
}
#showyourself li a img {
border-width: 0;
}
#showyourself li a:hover {
background: #FFFFFF;
}
#showyourself strong {
font-size: 15px;
font-weight: normal;
}
#showyourself .footer {
background-color: #FFC000;
font-size: 10px;
text-align: center;
}
#showyourself li a:hover.footer {
background-color: #FFC000;
text-decoration: underline;
}
</style>
<ul id="showyourself" class="widget vcard">
<li><h2 class="fn">Your Name</h2></li>
<li><a rel="me news" href="http://www.digg.com/users/username"><img src="http://www.dbachrach.com/showyourself/widget_images/digg.png" alt="Digg" /> <strong>Digg</strong>/username</a> </li>
<li><a rel="me photos" href="http://www.flickr.com/photos/username"><img src="http://www.dbachrach.com/showyourself/widget_images/flickr.png" alt="Flickr" /> <strong>Flickr</strong>/username</a> </li>
<li><a rel="me " href="http://www.myspace.com/username"><img src="http://www.dbachrach.com/showyourself/widget_images/myspace.png" alt="Myspace" /> <strong>Myspace</strong>/username</a> </li>
<li><a rel="me " href="http://facebook.com/profile.php?id=ID Number"><img src="http://www.dbachrach.com/showyourself/widget_images/facebook.png" alt="Facebook" /> <strong>Facebook</strong>/Your Name</a> </li>
<li><a rel="me " href="http://friendster.com/ID Number"><img src="http://www.dbachrach.com/showyourself/widget_images/friendster.png" alt="Friendster" /> <strong>Friendster</strong>/Your Name</a> </li>
<li><a rel="me " href="http://virb.com/username"><img src="http://www.dbachrach.com/showyourself/widget_images/virb.png" alt="Virb" /> <strong>Virb</strong>/username</a> </li>
<li><a rel="me resume" href="http://www.linkedin.com/in/Public Profile Name"><img src="http://www.dbachrach.com/showyourself/widget_images/linkedin.png" alt="Linkedin" /> <strong>Linkedin</strong>/Public Profile Name</a> </li>
<li><a rel="me " href="http://www.twitter.com/username"><img src="http://www.dbachrach.com/showyourself/widget_images/twitter.png" alt="Twitter" /> <strong>Twitter</strong>/username</a> </li>
<li><a rel="me video" href="http://www.youtube.com/username"><img src="http://www.dbachrach.com/showyourself/widget_images/youtube.png" alt="YouTube" /> <strong>YouTube</strong>/username</a> </li>
<li><a rel="me music" href="http://www.last.fm/user/username"><img src="http://www.dbachrach.com/showyourself/widget_images/lastfm.png" alt="Last.fm" /> <strong>Last.fm</strong>/username</a> </li>
<li><a rel="me bookmarks" href="http://del.icio.us/username"><img src="http://www.dbachrach.com/showyourself/widget_images/delicious.png" alt="Del.icio.us" /> <strong>Del.icio.us</strong>/username</a> </li>
<li><a rel="me " href="http://en.wikipedia.org/wiki/User:username"><img src="http://www.dbachrach.com/showyourself/widget_images/wikipedia.png" alt="Wikipedia" /> <strong>Wikipedia</strong>/username</a> </li>
<li><a rel="me wishlist" href="Direct URL"><img src="http://www.dbachrach.com/showyourself/widget_images/amazonwishlist.png" alt="Wishlist" /> <strong>Wishlist</strong>/Your Name</a> </li>
<li><a rel="me " href="username?call"><img src="http://mystatus.skype.com/smallicon/username" alt="Skype" /> <strong>Skype</strong>/username</a> </li>
<li><a rel="me communication" href="GoIM?screenname=screen name"><img src="http://api.oscar.aol.com/SOA/key=de1achH_7UpAYB9N/presence/screen name" alt="AIM" /> <strong>AIM</strong>/screen name</a> </li>
<li><a rel="me email" href="mailto:email address@gmail.com"><img src="http://www.dbachrach.com/showyourself/widget_images/gmail.png" alt="GMail" /> <strong>GMail</strong>/Your Name</a> </li>
<li><a rel="me comments" href="http://www.cocomment.com/comments/username"><img src="http://www.dbachrach.com/showyourself/widget_images/cocomment.png" alt="coComment" /> <strong>coComment</strong>/username</a> </li>
<li><a rel="me music" href="http://www.ijigg.com/profile/username"><img src="http://www.dbachrach.com/showyourself/widget_images/ijigg.png" alt="iJigg" /> <strong>iJigg</strong>/username</a> </li>
<li><a rel="me music" href="http://www.purevolume.com/listeners/username"><img src="http://www.dbachrach.com/showyourself/widget_images/purevolume.png" alt="PureVolume" /> <strong>PureVolume</strong>/username</a> </li>
<li><a rel="me events" href="http://upcoming.org/user/ID Number"><img src="http://www.dbachrach.com/showyourself/widget_images/upcoming.png" alt="Upcoming" /> <strong>Upcoming</strong>/Your Name</a> </li>
<li><a rel="me games" href="http://www.kongregate.com/accounts/username"><img src="http://www.dbachrach.com/showyourself/widget_images/kongregate.png" alt="Kongregate" /> <strong>Kongregate</strong>/username</a> </li>
<li><a rel="me " href="http://username.zaadz.com/"><img src="http://www.dbachrach.com/showyourself/widget_images/zaadz.png" alt="Zaadz" /> <strong>Zaadz</strong>/username</a> </li>
<li><a rel="me " href="http://www.technorati.com/profile/username"><img src="http://www.dbachrach.com/showyourself/widget_images/technorati.png" alt="Technorati" /> <strong>Technorati</strong>/username</a> </li>
<li><a rel="me " href="http://www.mybloglog.com/buzz/members/username"><img src="http://www.dbachrach.com/showyourself/widget_images/mybloglog.png" alt="MyBlogLog" /> <strong>MyBlogLog</strong>/username</a> </li>
<li><a rel="me blog" href="//...)"><img src="http://www.dbachrach.com/showyourself/widget_images/blog.png" alt="Blog" /> <strong>Blog</strong>/Your Name</a> </li>
<li> <a href="http://www.dbachrach.com/showyourself/"> Get your own Widget</a> </li>
<?php
/*
Template Name: Contact me
*/
if($_POST[sent]){
$error = "";
if(!trim($_POST[your_name])){
$error .= "<p>لطفا نام خود را وارد کنید ";
}
if(!filter_var(trim($_POST[your_email]),FILTER_VALIDATE_EMAIL)){
$error .= "<p>لطفا آدرس ایمیل معتبری را وارد کنید </p>";
}
if(!trim($_POST[your_message])){
$error .= "<p>لطفا متن خود را وارد کنید </p>";
}
if(!$error){
$email = mail(get_option("admin_email"),trim($_POST[your_name])." این ایمیل ارسال شده از ".get_option("blogname"),stripslashes(trim($_POST[your_message])),"From: ".trim($_POST[your_name])." < ".trim($_POST[your_email]).">\r\nReply-To:".trim($_POST[your_email]));
}
}
?>
<?php get_header(); ?>
<div id="container">
<div id="content" role="main">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<p><?php the_title(); ?></p>
<div class="entry-content">
<?php if($email){ ?>
<p><strong>پیغام شما با موفقیت ارسال شد. منتظر پاسخ باشید </strong></p>
<?php } else { if($error) { ?>
<p><strong>پیغام شما نمی تواند ارسال شود </strong></p><p>
<?php echo $error; ?>
<?php } else { the_content(); } ?>
<form action="<?php the_permalink(); ?>" id="contact_me" method="post">
<input type="hidden" name="sent" id="sent" value="1" />
<table width="200" border="0">
<tr>
<td><?php (_e('Name')); ?>:</td>
<td><input type="text" name="your_name" id="your_name" value="<?php echo $_POST[your_name];?>" /></td>
</tr>
<tr>
<td><label for="label"><?php (_e('Email')); ?>:</label></td>
<td><input type="text" name="your_email" id="your_email" value="<?php echo $_POST[your_email];?>" /></td>
</tr>
<tr>
<td><label for="label"><?php (_e('Text')); ?>:</label></td>
<td><textarea name="your_message" id="your_message"><?php echo stripslashes($_POST[your_message]); ?></textarea></td>
</tr>
<tr>
<td colspan="2"><input type="submit" name = "send" value = "<?php (_e('Submit')); ?>" /></td>
</tr>
</table>
</form>
<?php } ?>
</p></div>
</div>
<?php endwhile; ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<div style="direction:rtl; border: 1px solid rgb(230, 219, 85); padding: 5px; margin-top: 10px; background:transparent url(لینک عکس بزار اینجا) repeat; background-color: rgb(255, 251, 204); font-size:16px; font-family:'Times New Roman';">
خدمت شما استاد گرامی ، ممنون میشم