WordPress.org

Ready to get started?Download WordPress

Forums

problem with a theme (3 posts)

  1. Exoskeletor
    Member
    Posted 6 years ago #

    hello guys. i have make a blog and i have a problem with a blog. i have made this blog http://www.bstefanou.gr/arthra but i want to have this design, http://www.bstefanou.gr so does anyone knows how i can remove the bars from the header and the footer?

  2. @mercime
    Volunteer Moderator
    Posted 6 years ago #

    In header.php delete

    `<!--#header { background: url('http://www.bstefanou.gr/arthra/wp-content/themes/default/images/header-img.php?upper=FFFFFF&lower=FFFFFF') no-repeat bottom center; }
    -->`

    In style.css
    replace

    #header {
    	background: #73a0c5 url('http://www.bstefanou.gr/images/header3.jpg') no-repeat bottom center;
    	}

    with

    #header {
    	background-color: #73a0c5;
            }

    in style.css also
    replace

    #footer {
    	background: #eee url('images/kubrickfooter.jpg') no-repeat top;
    	border: none;
    	}

    with

    #footer {
    	background-color: #eee;
    	border: none;
    	}
  3. Exoskeletor
    Member
    Posted 6 years ago #

    thanx for helping, this is my header.php, i cant find the lines you say to delete:

    <!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() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    <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'); ?>" />
    
    <style type="text/css" media="screen">
    
    #Arxikh {
    
    	margin-right: 10px;
    
    	margin-top: 10px;
    
    }
    
    #Arthra {
    
    	margin-right: 10px;
    
    	margin-top: 10px;
    
    }
    
    #Diigimata {
    
    	margin-right: 11px;
    
    }
    
    body {
    
    	background-image: url('http://www.bstefanou.gr/images/bg.jpg');
    
    	background-position: top;
    
        background-repeat: repeat-y;
    
    	background-color: #E3D9CD;
    
        margin: 0;
    
    }
    
    #nav {
    
    	background-image: url('http://www.bstefanou.gr/images/buttonsBackround.jpg');
    
    	height: 80px;
    
    	background-repeat: no-repeat;
    
    	background-position: center top;
    
    }
    
    #Poihmata {
    
    	margin-right: 10px;
    
    }
    
    #header {
    
    	text-align: center;
    
    	margin-top: 10px;
    
    }
    
    #page {
    
    	margin: 0;
    
    }
    
    #Epikoinonia {
    
    	margin-bottom: 6px;
    
    }
    
    .style2 {	font-size: small;
    
    	color: #999999;
    
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    
    }
    
    #main {
    
    margin: 0;
    
    	height: auto;
    
    } 
    
    .description {
    
    }
    
    </style>
    
    <?php wp_head(); ?>
    
    <script src="http://www.bstefanou.gr/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    
    function MM_swapImgRestore() { //v3.0
    
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    
    }
    
    function MM_preloadImages() { //v3.0
    
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    
    }
    
    function MM_findObj(n, d) { //v4.01
    
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    
    }
    
    function MM_swapImage() { //v3.0
    
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    
    }
    
    function MM_effectAppearFade(targetElement, duration, from, to, toggle)
    
    {
    
    	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    
    }
    
    </script>
    
    </head>
    
    <body>
    
    <div id="page">
    
    <div id="header"> <img src="http://www.bstefanou.gr/images/header3.jpg" alt="Βασίλης Στεφάνου" width="548" height="200"  /></div>
    
    <div id="nav">
    
    <body onload="MM_preloadImages('/images/arxikh2O.gif','/images/arthra2O.gif','http://www.bstefanou.gr/images/diigimata2O.gif','http://www.bstefanou.gr/images/poiimata2O.gif','http://www.bstefanou.gr/images/epikoinonia2O.gif')">
    
      <div align="center"><a href="/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Arxikh','','http://www.bstefanou.gr/images/arxikh2O.gif',1)"><img src="http://www.bstefanou.gr/images/arxikh2.gif" alt="Αρχική Σελίδα" name="Arxikh" width="92" height="39" border="0" id="Arxikh" /></a><a href="/arthra" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Arthra','','http://www.bstefanou.gr/images/arthra2O.gif',1)"><img src="http://www.bstefanou.gr/images/arthra2.gif" alt="Αρθρα" name="Arthra" width="86" height="42" border="0" id="Arthra" /></a><a href="http://www.bstefanou.gr/arthra/?cat=8" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Diigimata','','http://www.bstefanou.gr/images/diigimata2O.gif',1)"><img src="http://www.bstefanou.gr/images/diigimata2.gif" alt="Διηγήματα" name="Diigimata" width="139" height="43" border="0" id="Diigimata" /></a><a href="http://www.bstefanou.gr/arthra/?cat=3" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Poihmata','','http://www.bstefanou.gr/images/poiimata2O.gif',1)"><img src="http://www.bstefanou.gr/images/poiimata2.gif" alt="Ποιήματα" name="Poihmata" width="125" height="43" border="0" id="Poihmata" /></a><a href="/contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Epikoinonia','','http://www.bstefanou.gr/images/epikoinonia2O.gif',1)"><img src="http://www.bstefanou.gr/images/epikoinonia2.gif" alt="Επικοινωνία" name="Epikoinonia" width="154" height="37" border="0" id="Epikoinonia" /></a></div>
    
    </div>
    
    <hr />

Topic Closed

This topic has been closed to new replies.

About this Topic