WordPress Türkiye Forumları

WordPress Türkiye Forumları » Temalar

3-4 sorum var

(10 posts)
  • Started 4 years ago by kursadcakir
  • Latest reply from oceangray
  • Bu konu Destek sorusu değil

No tags yet.

  1. kursadcakir
    Member

    Arkadaşlar wp ye yeni başladım bi projem var fakat tema konusunda sıkıntı çekiyorum istediğim temayı bulamıyorum aslında istediğim tema bokvarsendegel.com tarzı bi tema, ikinci olarak pckoliq.com da üst kısmı nasıl kaldırabilirim. Lasguard yazısının altındaki java fontları kaldırmak istiyorum. Ücüncüsü ise siyah kolonların içini farklı bi renk düşünüyorum.Nasıl değiştirebilirim. Bir de en üste logo koymak istiyorum.

    Posted 4 years ago #
  2. oceangray
    Member

    1. bahsettiğin sitede kullanılan temayı stil dosyasının içerisinden görebilirsin..arkadaş her ne kadar tema bilgilerini anasayfadanda silmişse de.. stil dosyasında

    /*
    Theme Name: Benevolence
    Theme URI: http://www.thoughtmechanics.com/blog/2005/01/03/benevolence/
    Description: An inclination to perform kind, charitable acts.
    Version: 1.0
    Author: Theron Parlin
    Author URI: http://www.thoughtmechanics.com/
    */

    bu ibare geçiyor.. temanın wp themedeki adresi

    2. üstte yer alan arkaplan değişikliği yapan kodlar ise temanda header.php içerisinden yapabilirsin.

    a class=\\"wallpaper\\" id=\\"wallpaper0\\" onclick=\\"changebackground(0);\\" href=\\"javascript: void(0);\\"

    buna benzer kısımları silerek kaldırabilirsin.

    3. tema dizininde yer alan css uzantılı dosyadan değişebilirsin. arkaplan için renk kodu kullanılmışsa rengi, imaj kulanılmışsa da imajları değişmen gerekiyor.

    4. üste koymak istediğin logoyuda header.php içerisinden değişebilirsin.

    Posted 4 years ago #
  3. kursadcakir
    Member

    header.php in içeriği şöyle, nereleri silicem kodlar farklı

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>

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

    <style type="text/css" media="screen">
    <!--
    @import url(<?php bloginfo('stylesheet_url'); ?>);
    <?php pickaskin(); ?>
    <?php spitOutMenuPosition(); ?>

    <?php spitOutWallpaperCSS(); ?>

    -->
    </style>

    <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'); ?>" />

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="<?php bloginfo('description'); ?>" />

    <script src="<?php bloginfo('template_directory'); ?>/scripts/prototype.lite.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--

    function createCookie(name,value,days)
    {
    if (days)
    {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path=/";
    }

    function readCookie(name)
    {
    var nameEQ = name + "=";
    var ca = document.cookie.split(';');
    for(var i=0;i < ca.length;i++)
    {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
    }
    return null;
    }

    function eraseCookie(name)
    {
    createCookie(name,"",-1);
    }

    function init()
    {

    var wallpapernumber = readCookie('wpcookie');
    if (!wallpapernumber) {
    createCookie('wpcookie','0',7);
    }
    else {
    changebackground(wallpapernumber);
    }

    $('s').onfocus = focusS;
    $('s').onblur = blurS;

    }

    function focusS() {
    if ($('s').value == "Search...") { $('s').value = ''; }
    $('label').innerHTML = "Type and press enter.";
    }

    function blurS() {
    $('label').innerHTML = "";
    if ($('s').value == '') { $('s').value = 'Search...'; }
    }

    function changebackground(number)
    {
    <?php spitOutWallpaperJS(); ?>
    }

    //-->
    </script>

    <?php spitOutIEFix(); ?>

    <?php wp_head(); ?>

    </head>

    <body id="body">


    <form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
    <p class="right" id="search">
    <input type="text" value="Search..." name="s" id="s" alt="Search"/>
    <label id="label"></label>
    </p>
    </form>
    <h1>
    " title="Go back home."><?php bloginfo('title'); ?>
    </h1>

    <?php spitOutWallpaperThumbs(); ?>


    Posted 4 years ago #
  4. kursadcakir
    Member

    kodlar yukarıda,

    tam oalrak burası kalkacak logo gelicek.

    http://www.b1p.org/k1.jpg

    Posted 4 years ago #
  5. oceangray
    Member

    <?php spitOutWallpaperThumbs(); ?>
    <?php spitOutWallpaperCSS(); ?>

    bunları sil.. olmazsa bende temayı indirip inceler detaylı yazarım buraya..

    Posted 4 years ago #
  6. kursadcakir
    Member

    tamamdır hocam javalar gitti arka plan istediğim gibi sabit kaldı, şu an orda lasguard yazısı var ben oraya boydan boya logo koyacağım ama nasıl?

    Posted 4 years ago #
  7. oceangray
    Member

    css dosyana

    #header {
    background: #fff url(logo.png); /*logo yolu*/
    height:52px; /* buraya senin logonun yuksekligini yaz */ }

    ve ordaki blog isminin gozukmemesi içinde şunu kullan..

    h1 {
    display: none; /*blog ismini gizlemek için*/ }

    bu verdiklerim sadece örnek..mantığı anlarsan istediğin şekli verebilirsin.. logoyu headera arka plan olarak ekliyoruz.. farklı şekilde de olabilir.direkt header.php ye de bir logo ekleyebilirsin.

    Posted 4 years ago #
  8. kursadcakir
    Member

    beceremdim bi türlü

    /*
    Theme Name: Vistered Little
    Theme URI: http://vistered.scarylittlemonkey.com/
    Description: A glass-like interface with drag and drop "wallpaper" support.
    Drag a JPG file into the wallpapers folder and a thumbnail is generated for you.
    Multiple user selectable "skins" and support for ALL major browsers.
    Version: 1.6
    Author: Nik Iliadis
    Author URI: http://scarylittlemonkey.com/
    */

    #header {
    background: #fff url(logo.jpg); /*img/logo.jpg*/
    height:52px; /*85px*/ }

    /* Begin Generic and body styles. */

    * {
    margin: 0px;
    padding: 0px;
    font-family: "verdana", sans-serif;
    }
    body {
    font-size: 16px;
    margin: 0px;
    padding: 0px;
    }
    a:link, a:active, a:visited {
    text-decoration: none;
    }
    a:hover {
    }
    a img {
    border: 0px;
    }
    #header {
    width: 100%;
    height: 107px;
    padding: 10px 0px;
    }
    h1 {
    display: none; /*Lasguard*/ }
    h1>a {
    margin-left: 10px;
    font-size: 1em;
    font-weight: normal;
    font-family: "Trebuchet MS", sans-serif;
    letter-spacing: -.1em;
    }

    h1 a:link, h1 a:active, h1 a:visited, h1 a:hover {
    }

    .left {
    float: left;
    font-size: 1.1em;
    }

    .right {
    float: right;
    font-size: 1.1em;
    }

    .clear {
    clear: both;
    height: 0px;
    overflow: hidden;
    }

    label {
    font-size: .8em;
    }

    #browserwarning {
    width: 400px;
    padding: 10px;
    font-size: .6em;
    background: #000;
    margin: -35px auto 0px auto;
    border: 1px dashed #ff0000;
    text-align: justify;
    display: none;
    }

    .wallpaper {
    width: 20px;
    height: 20px;
    display : block;
    float: left;
    margin: 10px 0px 0px 20px;
    }

    #bodyowner {
    width: 740px;
    margin: 0px auto;
    }
    #search {
    width: 110px;
    padding: 0px;
    margin-right: 15px;
    }
    #search label {
    font-size: .6em;
    }

    #s {
    width: 110px;
    background: transparent;
    padding: 2px;
    font-size: .6em;
    }

    code {
    margin: 5px;
    overflow: auto;
    padding: 3px;
    font-size: .9em;
    display: block;
    }
    #topmenu {
    position: absolute;
    text-align: right;
    top: 63px;
    right: 10px;
    font-size: .8em;
    }
    #topmenu a {
    background: url('images/star.png') left center no-repeat;
    padding-left: 13px;
    margin-left: 10px;
    }
    #topment a:after {
    content: " ";
    }
    /* END */

    /* Begin Blog and comment styles. */

    #contentcontainer {
    font-size: .7em;
    width: 432px;
    float: left;
    }
    .blog {
    margin: 0px;
    padding: 0px 35px;
    width: 422px;
    overflow: hidden;
    }
    .blogbefore {
    height: 32px;
    width: 492px;
    margin: 10px 0px 0px 0px;
    overflow: hidden;
    }
    .blogafter {
    height: 32px;
    width: 492px;
    margin: 0px 0px 10px 0px;
    overflow: hidden;
    }
    #contentcontainer p {
    text-align: justify;
    padding: 5px;
    }
    #contentcontainer p.headertext {
    text-align: left;
    font-size: .9em;
    }
    #contentcontainer p.footertext {
    text-align: right;
    font-size: .9em;
    }
    #contentcontainer h3 {
    font-size: 1.6em;
    text-align: left;
    font-weight: normal;
    }
    #contentcontainer ol {
    margin: 5px 30px;
    }
    #contentcontainer ul {
    margin: 5px 15px;
    }
    #contentcontainer ul li {
    list-style-type: none;
    background: url('images/star.png') 0px 2px no-repeat;
    padding-left: 13px;
    }
    #contentcontainer h3>a {
    display: block;
    width: 100%;
    }
    .blog blockquote {
    margin: 5px 15px;
    padding: 3px;
    font-size: .9em;
    }
    #comment {
    display: block;
    width: 360px;
    background: transparent;
    padding: 5px;
    margin: 10px auto;
    font-size: .9em;
    }
    #inputcontainer {
    width: 366px;
    margin: 10px auto;
    }
    #namefield {
    display: block;
    float: left;
    width: 110px;
    margin-right: 15px;
    }
    #emailfield {
    display: block;
    float: left;
    width: 110px;
    margin-right: 15px;
    }
    #urlfield {
    display: block;
    float: left;
    width: 110px;
    }
    #namefield input, #emailfield input, #urlfield input {
    width: 110px;
    background: transparent;
    padding: 2px;
    font-size: .8em;
    }
    #submitter {
    clear: both;
    text-align: center;
    }
    #submitter input {
    display: block;
    width: 150px;
    margin: 10px auto;
    }
    .blog img {
    max-width: 362px;
    }
    /* END */

    /* Begin Menu styles */

    #menucontainer {
    width: 233px;
    float: right;
    font-size: .6em;
    }
    .menu {
    margin: 0px;
    padding: 0px 35px;
    width: 163px;
    }

    .menubefore {
    height: 32px;
    width: 233px;
    margin: 10px 0px 0px 0px;
    overflow: hidden;
    }

    .menuafter {
    height: 32px;
    width: 233px;
    margin: 0px 0px 10px 0px;
    overflow: hidden;
    }

    #menucontainer p, #menucontainer ul {
    text-align: justify;
    padding: 3px;
    list-style-type: none;
    }

    #menucontainer ul#links {
    padding: 0px;
    }

    #menucontainer ul ul {
    padding: 0px 10px;
    }

    #menucontainer ul#links ul {
    padding: 3px;
    }

    #menucontainer h3, #wp-calendar caption, #menucontainer h2 {
    font-size: 1.6em;
    text-align: left;
    font-weight: normal;
    background: url('images/bigstar.png') left center no-repeat;
    padding-left: 16px;
    }
    #wp-calendar {
    width: 90%;
    margin: 0px auto;
    text-align: center;
    }
    .menu p.links>a, .menu ul li {
    background: url('images/star.png') 0px 2px no-repeat;
    padding-left: 12px;
    line-height: 12px;
    }
    ul#links>li {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    }
    .feedicon {
    margin-top: 4px;
    }
    /* END */

    Posted 4 years ago #
  9. oceangray
    Member

    /* */ bu karakterlerin arasında yazılanlar açıklama içindir.yani css dosyan bunları işlemez.. ona göre tekrar düzenle.. ve zaten css dosyanda #header mevcut onun altına yazabilirsin..

    Posted 4 years ago #
  10. oceangray
    Member

    temanda skin desteğide olduğu için o skinlere ait css dosyalarını düzenlemelisin ya da !important ile ilk css dosyasındaki değerleri okutabilirsin. yani şu kod sanırım işini görür

    #header {
    width: 100% ;
    padding: 10px 0px ;
    background: #fff url(img/logo.png) no-repeat !important;
    height:90px !important; }

    ama en basit şekilde header.php içerisinede logonu ekleyebilirsin..

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.