Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kas galit pakeisti.
Parašė Nesąmonė.· 2010 Lie. 25 17:07:00
#1
Šitam kode yra logo.png, jį rodo headerio kairėj pusėj, bet va, noriu dar vieną logo pridėti dešinėje pusėje, gal galit sumesti kodus, kad veiktų?
<?php
echo "<div id='bodywrapper'>
<div id='header_top'>
<div id='header_logo'><img src='".THEME."images/logo.png' border='0'></div>
<div id='header_ads'>
</div>
</div>
<!-- header_top end -->
<div id='header_bottom'>
<ul id='nav'>
<li><a href='".BASEDIR."index.php'>Home</a></li>
<li><a href='".BASEDIR."forum'>Forum</a></li>
<li><a href='".BASEDIR."photogallery.php'>Photogallery</a></li>
<li><a href='".BASEDIR."articles.php'>Articles</a></li>
<li><a href='".BASEDIR."faq.php'>FAQ</a></li>
<li><a href='".BASEDIR."downloads.php'>Downloads</a></li>
<li><a href='".BASEDIR."weblinks.php'>Weblinks</a></li>
<li><a href='".BASEDIR."contact.php'>Contact Us</a></li>
</ul>
</div>\n";
?>
Ir dar vienas footeris ar kaip čia pavadinti, na ten kur copyrightas rašomas būna :)
Tai žodžiu, kur reikia įterpti hey.lt skaitliuko kodą, kad jis būtų normaliai, štai kodas
<?php
echo "<div id='bottombar'>
<!-- footer start -->
<div id='footer'>
<div id='footer_right'></a></div>
</div>
<!-- footer end -->
</div>\n";
?>
Parašė ire· 2010 Lie. 25 20:07:24
#2
styles.css nukopink čia
Parašė Nesąmonė.· 2010 Lie. 25 20:07:06
#3
/*General*/
body {
background:#5db1d6 url(images/bg.gif);
color:#000;
font:70% Verdana,Arial,sans-serif;
margin:0;padding:0
}
* {
font-family: Verdana, Arial, Sans, sans-serif;
margin: 0;
padding: 0;
border: 0;
font-size: 1em;
}
/*Links*/
a{color:#356aa0;text-decoration:none}
a:hover{color:#f50;text-decoration:none}
/*Layout*/
#bodywrapper {
background-color:#2f2f2f;
margin:40px auto 0 auto;
padding:7px 10px;width:950px
}
#header_top{height:100px}
#header_bottom {
color:#fff;
background-color:#444;
border:1px solid #555;
border-bottom:0;
height:28px;
padding:0 0 0 135px
}
#contentwrapper {
background:#fff url(images/bg_content.gif) repeat-y;
margin:0;
padding:30px 0 20px 20px
}
.content{float:left;margin:0;width:550px}
#sidebar{margin:0 0 0 580px;padding:4px;}
#sidebar_right{float:right;width:170px}
#sidebar_left{float:left;width:160px}
#bottombar {
background:#444;
border:1px solid #555;
margin:10px 0 0 0;
padding:0
}
#footer {
color:#fff;
padding:10px 0;
width:950px
}
#header_logo {
float:left;
margin-top:20px;
position:absolute
}
#header_ads {
float:right;
margin-top:20px;
margin-right:20px;
}
#nav {
height:22px;
list-style:none;
margin:0;padding:6px 0 0 0;
overflow:hidden
}
#nav li {
background:transparent;
display:inline;
float:left;
height:22px;
list-style:none;
margin:0 0 0 3px;
padding:3px 6px 3px 6px;
}
#nav a {
background:transparent;
color:#efefef;
display:block;
font-family:Tahoma,"Trebuchet MS",sans-serif;
font-size:11px;
font-weight:bold;
height:22px;
margin:0;padding:0px 6px 0px 6px;
}
#nav a:hover{color:#f50}
.contentbody{font-size:1.15em}
#sidebar h3 {
border-bottom:1px solid #ff0000;
color:#f50;
font-size:1em;
margin:0;padding:10px 0
}
#sidebar ul{margin:0;padding:0 0 5px 0;list-style:none}
#sidebar ul li{background:transparent url(images/bullet.gif) no-repeat 0px 10px;
font-size:0.95em;margin:0;padding:5px 0 0 16px}
#sidebar ul li ul{margin:0;padding:5px 0}
#sidebar ul li ul li{margin:0;padding:5px 0 0 16px}
.sidebar125ads{padding:6px}
img{border:0}
#searchbox{background:#efefef url(images/bg_search.gif) repeat-x;
padding:10px;border:1px solid #e5e5e5}
#searchform{margin:0;padding:0}
#searchformfield{background:#f9f9f9;border:1px solid #e3e3e3;
color:#888;font-size:1.2em;height:18px;margin:0;padding:0;width:270px}
#searchsubmit{background:url(images/search.gif) no-repeat 0 2px;
border:0;cursor:pointer;margin:0;padding:0;width:16px}
/*Navigation Panel*/
#navigation h2, .side-label {
color: #0077aa;
font-family: "Trebuchet MS", "Lucida Grande", sans-serif;
text-transform: uppercase;
font-size: 1.0em;
padding: 0.15em;
font-weight: 500;
}
#navigation ul {
margin-left: -0.25em;
list-style-type: none;
line-height: 1.2em;
}
* html #navigation ul li {height: 1%;}
#navigation a {
display: block;
color: #3d667a;
padding: 0.2em 0.2em 0.2em 0.2em;
text-decoration : none;
}
#navigation a:hover {
color: #006699;
background-color: #accad9;
}
/*Misc Styles*/
.pagenav {padding: 0.4em;}
.pagenav span, .pagenav a, .pagenav a:hover {
color: #006699;
background-color: #accad9;
border: 1px solid #dde5eb;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
}
.pagenav a {
color: #3d667a;
background-color: #edf3f6;
}
.textbox, .button, .quote {
border-bottom: 1px solid #838383;
border-right: 1px solid #838383;
border-top: 1px solid #E0E0E0;
border-left: 1px solid #E0E0E0;
background: #ECECEC url(images/caption.gif) repeat-x bottom;
font-size: 1em;
margin-top: 0.1em;
padding: 0.25em;
}
.textbox:focus{
border-bottom: 1px solid #c1d9e4;
border-right: 1px solid #c1d9e4;
border-top: 1px solid #6f8c99;
border-left: 1px solid #6f8c99;
}
.button{color: #006699;}
.bbcode {
border-bottom: 1px solid #6f8c99;
border-right: 1px solid #6f8c99;
border-top: 1px solid #c1d9e4;
border-left: 1px solid #c1d9e4;
background: #ECECEC url(images/caption.gif) repeat-x bottom;
font-size: 1em;
margin-top: 0.1em;
}
.news-category {
float: left;
margin: 0.2em 0.5em 0 0;
}
.news-footer-img {vertical-align: middle;}
.news-footer {padding: 0.5em;}
.panelcap {
color: #99BA4E;
background: #E3F0CB;
font-family: "Trebuchet MS", "Lucida Grande", sans-serif;
text-transform: uppercase;
font-size: 1.15em;
line-height: 1em;
font-weight: bold;
padding: 4px 6px 4px 6px;
margin: 0;
}
.panelbody {
padding: 0.15em 0.3em;
margin-bottom: 0.8em;
color: #838383;
background: #FFFFFF;
border: 3px solid #E3F0CB;
}
.quote, .admin-message {
color: inherit;
margin: 0.25em;
}
.admin-message{
color: #000000;
background: #F8F8F8;
border: 1px solid #DEDEDE;
padding: 0.4em 0.4em 0.6em 2.8em;
margin: 1em auto;
width: 80%;
}
.poll {
height: 1.3em;
background: #006698 url(images/pollbar.jpg) bottom repeat-x;
}
.comment-name {
color: #777;
font-weight: 700;
}
.shoutboxname {font-weight: 700;}
.shoutboxdate {
color: #888;
font-size: 0.8em;
}
.small,.small2,.side-small {font-size: 0.9em;}
.tbl,.tbl1,.tbl2,.forum-caption {padding: 0.3em;}
.tbl-border{background: #E0E0E0; border: 1px solid #bdc5cb;}
.tbl1{background: #F8F8F8;}
.tbl2 {background: #F8F8F8;}
.forum-caption {
font-weight: 700;
background: #ECECEC url(images/caption.gif) repeat-x;
}
code, pre {
font-family: monospace;
font-size: 1.1em;
}
hr {
border: solid #DEDEDE 1pt;
}
/*Helpers*/
.center {margin: 0 auto;}
.content_center {text-align: center;}
.flleft {float: left !important;}
.flright {float: right !important;}
.clear {clear: both;}
/*IE Fixes*/
* html #main-bg {
height: 1%;
width: auto;
}
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
.floatfix {overflow:hidden;}
* html .floatfix {width:100%;}
.center, *[align="center"] {margin: 0 auto;}
štai, na sutvarkys kas nors dabar? :)
Redagavo Nesąmonė.· 2010 Lie. 25 20:07:44
Parašė Nachal· 2010 Lie. 25 20:07:37
#4
Bandyk
/*General*/
body {
background:#5db1d6 url(images/bg.gif);
color:#000;
font:70% Verdana,Arial,sans-serif;
margin:0;padding:0
}
* {
font-family: Verdana, Arial, Sans, sans-serif;
margin: 0;
padding: 0;
border: 0;
font-size: 1em;
}
/*Links*/
a{color:#356aa0;text-decoration:none}
a:hover{color:#f50;text-decoration:none}
/*Layout*/
#bodywrapper {
background-color:#2f2f2f;
margin:40px auto 0 auto;
padding:7px 10px;width:950px
}
#header_top{height:100px}
#header_bottom {
color:#fff;
background-color:#444;
border:1px solid #555;
border-bottom:0;
height:28px;
padding:0 0 0 135px
}
#contentwrapper {
background:#fff url(images/bg_content.gif) repeat-y;
margin:0;
padding:30px 0 20px 20px
}
.content{float:left;margin:0;width:550px}
#sidebar{margin:0 0 0 580px;padding:4px;}
#sidebar_right{float:right;width:170px}
#sidebar_left{float:left;width:160px}
#bottombar {
background:#444;
border:1px solid #555;
margin:10px 0 0 0;
padding:0
}
#footer {
color:#fff;
padding:10px 0;
width:950px
}
#header_logo {
float:right;
margin-top:20px;
position:absolute
}
#header_ads {
float:right;
margin-top:20px;
margin-right:20px;
}
#nav {
height:22px;
list-style:none;
margin:0;padding:6px 0 0 0;
overflow:hidden
}
#nav li {
background:transparent;
display:inline;
float:left;
height:22px;
list-style:none;
margin:0 0 0 3px;
padding:3px 6px 3px 6px;
}
#nav a {
background:transparent;
color:#efefef;
display:block;
font-family:Tahoma,"Trebuchet MS",sans-serif;
font-size:11px;
font-weight:bold;
height:22px;
margin:0;padding:0px 6px 0px 6px;
}
#nav a:hover{color:#f50}
.contentbody{font-size:1.15em}
#sidebar h3 {
border-bottom:1px solid #ff0000;
color:#f50;
font-size:1em;
margin:0;padding:10px 0
}
#sidebar ul{margin:0;padding:0 0 5px 0;list-style:none}
#sidebar ul li{background:transparent url(images/bullet.gif) no-repeat 0px 10px;
font-size:0.95em;margin:0;padding:5px 0 0 16px}
#sidebar ul li ul{margin:0;padding:5px 0}
#sidebar ul li ul li{margin:0;padding:5px 0 0 16px}
.sidebar125ads{padding:6px}
img{border:0}
#searchbox{background:#efefef url(images/bg_search.gif) repeat-x;
padding:10px;border:1px solid #e5e5e5}
#searchform{margin:0;padding:0}
#searchformfield{background:#f9f9f9;border:1px solid #e3e3e3;
color:#888;font-size:1.2em;height:18px;margin:0;padding:0;width:270px}
#searchsubmit{background:url(images/search.gif) no-repeat 0 2px;
border:0;cursor:pointer;margin:0;padding:0;width:16px}
/*Navigation Panel*/
#navigation h2, .side-label {
color: #0077aa;
font-family: "Trebuchet MS", "Lucida Grande", sans-serif;
text-transform: uppercase;
font-size: 1.0em;
padding: 0.15em;
font-weight: 500;
}
#navigation ul {
margin-left: -0.25em;
list-style-type: none;
line-height: 1.2em;
}
* html #navigation ul li {height: 1%;}
#navigation a {
display: block;
color: #3d667a;
padding: 0.2em 0.2em 0.2em 0.2em;
text-decoration : none;
}
#navigation a:hover {
color: #006699;
background-color: #accad9;
}
/*Misc Styles*/
.pagenav {padding: 0.4em;}
.pagenav span, .pagenav a, .pagenav a:hover {
color: #006699;
background-color: #accad9;
border: 1px solid #dde5eb;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
}
.pagenav a {
color: #3d667a;
background-color: #edf3f6;
}
.textbox, .button, .quote {
border-bottom: 1px solid #838383;
border-right: 1px solid #838383;
border-top: 1px solid #E0E0E0;
border-left: 1px solid #E0E0E0;
background: #ECECEC url(images/caption.gif) repeat-x bottom;
font-size: 1em;
margin-top: 0.1em;
padding: 0.25em;
}
.textbox:focus{
border-bottom: 1px solid #c1d9e4;
border-right: 1px solid #c1d9e4;
border-top: 1px solid #6f8c99;
border-left: 1px solid #6f8c99;
}
.button{color: #006699;}
.bbcode {
border-bottom: 1px solid #6f8c99;
border-right: 1px solid #6f8c99;
border-top: 1px solid #c1d9e4;
border-left: 1px solid #c1d9e4;
background: #ECECEC url(images/caption.gif) repeat-x bottom;
font-size: 1em;
margin-top: 0.1em;
}
.news-category {
float: left;
margin: 0.2em 0.5em 0 0;
}
.news-footer-img {vertical-align: middle;}
.news-footer {padding: 0.5em;}
.panelcap {
color: #99BA4E;
background: #E3F0CB;
font-family: "Trebuchet MS", "Lucida Grande", sans-serif;
text-transform: uppercase;
font-size: 1.15em;
line-height: 1em;
font-weight: bold;
padding: 4px 6px 4px 6px;
margin: 0;
}
.panelbody {
padding: 0.15em 0.3em;
margin-bottom: 0.8em;
color: #838383;
background: #FFFFFF;
border: 3px solid #E3F0CB;
}
.quote, .admin-message {
color: inherit;
margin: 0.25em;
}
.admin-message{
color: #000000;
background: #F8F8F8;
border: 1px solid #DEDEDE;
padding: 0.4em 0.4em 0.6em 2.8em;
margin: 1em auto;
width: 80%;
}
.poll {
height: 1.3em;
background: #006698 url(images/pollbar.jpg) bottom repeat-x;
}
.comment-name {
color: #777;
font-weight: 700;
}
.shoutboxname {font-weight: 700;}
.shoutboxdate {
color: #888;
font-size: 0.8em;
}
.small,.small2,.side-small {font-size: 0.9em;}
.tbl,.tbl1,.tbl2,.forum-caption {padding: 0.3em;}
.tbl-border{background: #E0E0E0; border: 1px solid #bdc5cb;}
.tbl1{background: #F8F8F8;}
.tbl2 {background: #F8F8F8;}
.forum-caption {
font-weight: 700;
background: #ECECEC url(images/caption.gif) repeat-x;
}
code, pre {
font-family: monospace;
font-size: 1.1em;
}
hr {
border: solid #DEDEDE 1pt;
}
/*Helpers*/
.center {margin: 0 auto;}
.content_center {text-align: center;}
.flleft {float: left !important;}
.flright {float: right !important;}
.clear {clear: both;}
/*IE Fixes*/
* html #main-bg {
height: 1%;
width: auto;
}
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
.floatfix {overflow:hidden;}
* html .floatfix {width:100%;}
.center, *[align="center"] {margin: 0 auto;}
Redagavo Nachal· 2010 Lie. 25 21:07:15
Parašė Nesąmonė.· 2010 Lie. 25 21:07:47
#5
Tik pasakyk, čia headeriui ar footeriui?
Parašė Nachal· 2010 Lie. 25 21:07:28
#6
Mesajus parašė:
Tik pasakyk, čia headeriui ar footeriui?
headeriui.
Parašė Nesąmonė.· 2010 Lie. 25 22:07:24
#7
O kokį kodą dar kur įterpti, kad dar vieną headery logo damesti? Header.php faile? :)
Redagavo Nesąmonė.· 2010 Lie. 25 22:07:37