FiL3MAN

Kayıt : 28 Mart 2007 SALİHLİ_+_AYDIN
|
|
wordpress menüde her bir sıranin başina bi çizgi işaret bişi koymak istiyorum nasıl yapcaz dostlar menüdekiler direk yazi olarak karişiyor temayı o şekilde yapmışlar
mehmetalievran@hotmail.com
|
|
|
header.php ni gönder bana bakayım hocut özelden. Yada yaz buraya aynen.
|
XmV

Kayıt : 10 Mart 2007 Tarikat Denizcisi
|
|
style.css dosyasına gir menunün satırına gel ona bir background ver no repeat de menu başlarına verceğin bakgroundu verir
ölüler görür rüya
|
FiL3MAN

Kayıt : 28 Mart 2007 SALİHLİ_+_AYDIN
|
|
deathmaster bunu yazdı: -----------------------------
header.php ni gönder bana bakayım hocut özelden. Yada yaz buraya aynen.
-----------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style_ie.css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style_ie6.css" /> <![endif]--> <?php wp_head(); ?> </head>
<body>
<!-- Page --> <div id="page">
<!-- Header --> <div id="header"> <!-- Menu --> <div id="header-menu"> <ul> <?php wp_list_pages('title_li='); ?> </ul> </div> <!-- /Menu --> <!-- Title --> <div id="header-info"> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div> <!-- /Title --> <!-- Topbar --> <div id="topbar"> <div id="topbar-left"> </div> <div id="topbar-center"> <h3></h3> <ul> <?php wp_get_archives('type=postbypost&limit=3'); ?> </ul> </div> <div id="topbar-right"> <h3></h3> <ul> <?php $sql = "SELECT * FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' ORDER BY comment_date DESC LIMIT 0 , 3"; $comments = $wpdb->get_results($sql); foreach ($comments as $comment) { $data = $comment->comment_author . " @ " . $comment->post_title; echo "<li><a href=\"" . get_permalink($comment->comment_post_ID) . "\">" . substr($data,0,40) . " ...</a></li>"; } ?> </ul> </div> </div> <!-- /Topbar --> </div> <!-- /Header --> <!-- Main --> <div id="main"><div id="main-top"><div id="main-bottom">
mehmetalievran@hotmail.com
|
FiL3MAN

Kayıt : 28 Mart 2007 SALİHLİ_+_AYDIN
|
|
XmV bunu yazdı: -----------------------------
style.css dosyasına gir menunün satırına gel ona bir background ver no repeat de menu başlarına verceğin bakgroundu verir
-----------------------------
dostum ben pek anlamiyorum kodlardan okadar yaw :D style.css ye gelirim menu satirini da bulurum ama ona bi background weremem ona nasil olcek :D
mehmetalievran@hotmail.com
|
|
|
Burda list pages kısmındaki fonksiyonu editlemek yerine style.css dosyanda navbar navi yada navigation menu olarak geçen kısmın içine
border-left: solid 3px #000; padding-left:5px;
Kodlarını eklemen gerek. Bu kısım diğer çözümden daha kolay senin için.
Edit : şöyle birşey olmalı : #navbar li a{ Buraya eklenecek }
|
FiL3MAN

Kayıt : 28 Mart 2007 SALİHLİ_+_AYDIN
|
|
deathmaster bunu yazdı: -----------------------------
Burda list pages kısmındaki fonksiyonu editlemek yerine style.css dosyanda navbar navi yada navigation menu olarak geçen kısmın içine
border-left: solid 3px #000; padding-left:5px;
Kodlarını eklemen gerek. Bu kısım diğer çözümden daha kolay senin için.
Edit : şöyle birşey olmalı : #navbar li a{ Buraya eklenecek }
-----------------------------
hocam style.css de navbar yok topbar war sidebar war ama navbar yok
mehmetalievran@hotmail.com
|
|
|
kullandıgın temanın bir demosu var mı hali hazırda hangi temayı kullanıyosun ?
|
FiL3MAN

Kayıt : 28 Mart 2007 SALİHLİ_+_AYDIN
|
|
deathmaster bunu yazdı: -----------------------------
kullandıgın temanın bir demosu var mı hali hazırda hangi temayı kullanıyosun ?
-----------------------------
http://www.wpthemesfree.com/view.php?theme_id=2954
mehmetalievran@hotmail.com
|
|
|
Hocam style dosyanda hmenu diye bir div olacak şöyleki;
hmenu a{
buraya border ekliceksin renk uyumuna göre beyaz renk yani #000 yerine #fff kullan ve 1px yerine 2 px olarak ayarlayabilirsin.
}
|
FiL3MAN

Kayıt : 28 Mart 2007 SALİHLİ_+_AYDIN
|
|
deathmaster bunu yazdı: -----------------------------
Hocam style dosyanda hmenu diye bir div olacak şöyleki;
hmenu a{
buraya border ekliceksin renk uyumuna göre beyaz renk yani #000 yerine #fff kullan ve 1px yerine 2 px olarak ayarlayabilirsin.
}
-----------------------------
hocam style dosyamin içi
/* Theme Name: Music DJ Theme URI: http://musicdj.qualitywordpress.com Description: Music DJ is a DJ and music related wordpress theme with a great vector design of a turntable. Version: 1.0 Author: qualitywordpress.com Author URI: http://qualitywordpress.com */
/* General */
body { margin: 0; background: url("images/bg.gif"); }
h1, h2, h3, h4 { margin: 0; }
img { border: 0; }
.clear { clear: both; height: 1px; overflow: hidden; }
/* Page */
#page { margin: 0 auto; width: 1004px; }
/* Header */
#header { width: 1004px; height: 459px; background: url("images/header.jpg") no-repeat; position: relative; }
/* Header - Info */ #header #header-info { position: absolute; top: 185px; left: 550px; } #header #header-info h1 { color: #FFFFFF; font: bold 30px "Verdana", Verdana; } #header #header-info h1 a { color: #FFFFFF; text-decoration: none; } #header #header-info .description { color: #FFFFFF; font: bold 15px "Verdana", Verdana; } /* Header - Menu */ #header #header-menu { position: absolute; top: 0px; left: 26px; height: 53px; } #header #header-menu ul { margin: 0; padding: 0; list-style-type: none; height: 53px; } #header #header-menu ul li { float: left; height: 53px; margin-right: 8px; font: bold 10px/43px "Verdana", Verdana; color: #ffffff; text-transform: lowercase; background: url("images/header_menu_left.gif") no-repeat; } #header #header-menu ul li a { color: #ffffff; text-decoration: none; padding: 0 40px; background: url("images/header_menu_right.gif") no-repeat right top; display: block; } #header #header-menu ul li a:hover { text-decoration: underline; } #header #header-menu ul li ul { display: none; } /* Header - Topbar */ #header #topbar { position: absolute; top: 270px; left: 0px; width: 1004px; height: 201px; color: #ffffff; font: normal 12px "Trebuchet MS", Verdana; } #header #topbar h3 { font: bold 15px "Verdana", Verdana; color: #ffffff; } #header #topbar ul { margin: 0; padding: 0; list-style-type: none; } #header #topbar ul li { padding-top: 12px; color: #ffffff; font: normal 12px "Trebuchet MS", Verdana; } #header #topbar ul li a { color: #ffffff; text-decoration: none; } #header #topbar ul li a:hover { text-decoration: underline; } /* Header - Topbar - Boxes */ #header #topbar #topbar-left { width: 285px; padding: 35px 33px; float: left; } #header #topbar #topbar-center { width: 306px; float: left; padding: 12px 0 0 30px; } #header #topbar #topbar-right { width: 287px; float: left; padding: 12px 0 0 30px; }
/* Main */
#main { width: 1004px; background: url("images/main.gif") repeat-y; }
#main-top { width: 1004px; background: url("images/main_top.gif") no-repeat; }
#main-bottom { width: 992px; padding-left: 12px; min-height: 50px; background: url("images/main_bottom.gif") no-repeat left bottom; }
/* Main - Content */ #content { float: left; width: 570px; padding: 6px 16px 0 16px; } /* Main - Content - Post */ #content .post { color: #FFFFFF; float: left; margin-bottom: 16px; width: 554px; padding: 7px; background: #95965D; } /* Post - Title */ #content .post .post-title { width: 554px; height: 51px; color: #FFFFFF; font: bold 12px "Trebuchet MS", Verdana; } #content .post .post-title a { color: #FFFFFF; text-decoration: none; } #content .post .post-title a:hover { text-decoration: underline; } #content .post .post-title .post-date { float: left; background: url("images/post_date.gif") repeat-x; width: 50px; height: 51px; color: #ffffff; text-align: center; text-transform: uppercase; margin-right: 10px; font: bold 10px/15px "Trebuchet MS", Verdana; } #content .post .post-title .post-date span { margin-bottom: 2px; display: block; font: bold 16px/34px "Trebuchet MS", Verdana; } #content .post .post-title h2 { padding: 4px 0 3px 0; color: #FFFFFF; font: bold 19px "Verdana", Verdana; } #content .post .post-title h2 a { color: #FFFFFF; text-decoration: none; } #content .post .post-title h2 a:hover { text-decoration: underline; } /* Post - Entry */ #content .post .post-entry { font: normal 12px/18px "Trebuchet MS", Verdana; color: #FFFFFF; padding: 0 4px; width: 546px; } #content .post .post-entry a { color: #FFFFFF; text-decoration: none; } #content .post .post-entry a:hover { text-decoration: underline; } #content .post .post-entry .more-link { font: bold 12px/20px "Trebuchet MS", Verdana; color: #FFFFFF; float: right; padding-bottom: 5px; } #content .post .post-entry .more-link a { color: #FFFFFF; text-decoration: none; } #content .post .post-entry .more-link a:hover { text-decoration: underline; } /* Post - Info */ #content .post .post-info { padding: 10px 4px 0 4px; width: 546px; clear: both; font: bold 12px "Trebuchet MS", Verdana; color: #FFFFFF; } #content .post .post-info a { color: #FFFFFF; text-decoration: none; } #content .post .post-info a:hover { text-decoration: underline; } /* Post - Comments */ #content .post h3 { color: #FFFFFF; font: bold 17px "Verdana", Verdana; margin: 25px 0 5px 0; padding: 0 4px; width: 546px; } #content .post .comments { padding: 0 4px; width: 546px; font: normal 12px/18px "Trebuchet MS", Verdana; color: #FFFFFF; } #content .post .comments a { color: #FFFFFF; text-decoration: none; } #content .post .comments a:hover { text-decoration: underline; } #content .post .comments ol { margin: 10px 0 10px 0; padding-left: 25px; } #content .post .comments ol li { padding: 5px; } #content .post .comments ol li.alt { background: #000000; } #content .post .comments ol li cite { color: #FFFFFF; font-style: normal; font-weight: bold; } #content .post .comments ol li cite a { color: #FFFFFF; text-decoration: none; } #content .post .comments ol li cite a:hover { text-decoration: underline; } #content .post .comments ol li .commentmetadata a { color: #FFFFFF; text-decoration: none; } #content .post .comments ol li .commentmetadata a:hover { text-decoration: underline; } #content .post #commentform { margin: 0; font: normal 12px/18px "Trebuchet MS", Verdana; color: #FFFFFF; padding: 0 4px; width: 546px; } #content .post #commentform a { color: #FFFFFF; text-decoration: none; } #content .post #commentform a:hover { text-decoration: underline; } /* Main - Sidebar */ .sidebar { float: left; width: 189px; font: strong 15px/18px "Trebuchet MS", Verdana; color: #ffffff; padding: 7px 0; } .sidebar a { color: #ffffff; text-decoration: none; } .sidebar a:hover { text-decoration: underline; } /* Sidebar - Titles */ .sidebar h3 { padding-left: 18px; font: bold 15px/34px "Verdana", Verdana; text-transform: lowercase; color: #000000; height: 46px; width: 189px; background: url("images/sidebar_title.gif") no-repeat; } /* Sidebar - Menus */ .sidebar ul { margin: 0 0 20px 18px; padding: 0; list-style-type: none; } .sidebar ul li { color: #ffffff; font: normal 15px/26px "Trebuchet MS", Verdana; } .sidebar ul li a { color: #ffffff; text-decoration: none; } .sidebar ul li a:hover { text-decoration: underline; } /* Sidebar - Forms */ .sidebar #searchform { margin: 0 auto; padding: 15px 0 25px 0; width: 145px; text-align: center; } .sidebar #searchform #s { width: 145px; } /* Sidebar - Tables */ .sidebar #calendar_wrap { margin: 5px auto 20px auto; width: 120px; } .sidebar #calendar_wrap caption { font-weight: bold; } .sidebar #calendar_wrap #today { font-weight: bold; } /* Sidebar - Texts */ .sidebar .textwidget { padding: 0 10px 20px 10px; }
/* Footer */
#footer { margin-top: 15px; width: 1004px; height: 62px; background: url("images/footer.gif") repeat-x; color: #FFFFFF; font: normal 10px/15px "Trebuchet MS", Verdana; text-align: center; }
#footer a { color: #CCCCCC; text-decoration: none; }
#footer a:hover { text-decoration: underline; }
mehmetalievran@hotmail.com
|
|