Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip pakeisti spalva..

Parašė Soo-2· 2007 Rugp. 31 17:08:06
#1

Gal kas zinote kurioje vietoje reikia pakeisti naujienu aprašimo bg spalva.. man nks nesigauna.. Stai kodas style.css:
body {
   background-color: #272D45;
   background-image: url(media/fonas.jpg);
   background-position: top center;
   background-repeat: repeat-x;
   background-attachment: fixed;
   font-family : Verdana;
   font-size : 11px;
   margin : 0px;
   scrollbar-face-color:#CFCED2;
   scrollbar-highlight-color:#BEC2CB;
   scrollbar-3dlight-color:#BEC2CB;
   scrollbar-darkshadow-color:#BEC2CB;
   scrollbar-shadow-color:#BEC2CB;
   scrollbar-arrow-color:#777778;
   scrollbar-track-color:#E1E1E1;
}
a {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
}
a:hover {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
}
a.side {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
}
a:hover.side {
   font-family : Verdana;
   color : #0f8ed8;
   text-decoration : none;
}
a.foot {
   font-family : Verdana;
   color : #ffffff;
   text-decoration : none;
}
a:hover.foot {
   font-family : Verdana;
   color : #ffffff;
   text-decoration : none;
}
a.white {
   font-family : Tahoma;
   color : #f9f9f9;
   text-decoration : none;
   text-transform: uppercase;
}
a:hover.white {
   font-family : Tahoma;
   color : #ffffff;
   text-decoration : none;
   text-transform: uppercase;
}
a.toplinks {
   font-family : Verdana;
   color : #ffffff;
   text-decoration : none;
}
a:hover.toplinks {
   font-family : Verdana;
   color : #35b4fe;
   text-decoration : none;
}
a.sides {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
   font-weight: bold;
}
a:hover.sides {
   font-family : Verdana;
   color : #ffffff;
   text-decoration : none;
   font-weight: bold;
}
form {
   margin : 0px;
}
hr {
   height : 2px;
   border-bottom : 1px solid #fff;
   border-top : 1px solid #313131;
}
hr.side-hr {
   height : 2px;
   border-bottom : 0px solid #fff;
   border-top : 0px solid #313131;
}
td {
   font-family : Verdana;
   font-size : 10px;
}
pre {
   font-family : Verdana;
   font-size : 10px;
}
.alt {
   color : #555;
}
.outer-border {
   color: #313131;
   border-color : #c0c0c0 #c0c0c0 #c0c0c0 #c0c0c0;
   border-width : 0px;
   border-style : solid;
}
.inner-border {
   color: #ffffff;
   border-color : #c0c0c0 #c0c0c0 #c0c0c0 #c0c0c0;
   border-width : 0px;
   border-style : solid;
}
.sub-header {
   background-color: #ffffff;
   background-image: url('images2/toplinks.gif');
   font-family : Verdana;
   font-size : 10px;
   font-weight: bold;
   color : #35b4fe;
   padding : 2px;
}
.full-header {
   font-family : Verdana;
   font-size : 10px;
   color : #ffffff;

   padding : 5px;
}
.button {
   font-family : Verdana;
   font-size : 9px;
   font-weight: bold;
   color : #0d8ad3;
   background-color : #ffffff;
   height : 20px;
   border : 1px solid #0a86cf;
   margin-top : 2px;
}
.textbox {
   font-family : Verdana;
   font-size : 10px;
   color : #ffffff;
   background-color : #ffffff;
   border : 1px solid #0a86cf;
}
.main-body {
   background: transparent;
   font-size : 11px;
   color : #000;
   padding : 4px 4px 5px 4px;
}
.side-body {
   font-family : Verdana;
   font-size : 11px;
   color : #444;
   padding : 6px 6px 6px 8px;
}
.main-bg {
   background-color : #313131;
   background-position: bottom right;
   background-repeat: repeat-x;
   color : #000;
   padding : 1px 10px 10px 10px;
}
.border {
   border : 1px solid #000;
}
.side-border-left {
   color : #444;
   background-color : #313131;
   padding-bottom : 4px;
        padding-left : 4px;
        padding-right : 4px;
        padding-top : 0px;
   border-right: 0px dashed #313131;
}
.side-border-right {
   color : #444;
   background-color : #313131;
   padding-bottom : 4px;
        padding-left : 4px;
        padding-right : 4px;
        padding-top : 0px;
   border-left: 0px dashed #313131;
}
.mainsite-border {
   border-right : 1px solid #313131;
   border-left : 1px solid #313131;
   padding : 0px;
}
.news-footer {
   font-size : 10px;
   color : #e68700;
   padding : 1px 4px 1px 4px;
   border: 1px dashed #313131;
}
.capmain {
   font-family : Tahoma;
   font-size : 11px;
   font-weight : bold;
   text-transform: normal;
   color : #50638D;
   background: transparent;
   border-bottom: 1px solid #313131;
   padding : 4px 4px 4px 4px;
}
.capmain {
   background-image: url(media/capmain.gif);
   font-family : Tahoma;
   font-size : 11px;
   font-weight : bold;]
   text-transform: normal;
   color : #f9f9f9;
   padding : 9px 9px 9px 9px;
}

.scapmain {
 background-image: url(media/scapmain.gif);
 font-family : Tahoma;
 font-size : 11px;
 font-weight : bold;]
 text-transform: normal;
 color : #FFFFFF;
 padding : 7px 7px 7px 7px;
}

.tbl-border {
   color : #000;
   background-color: #0a86cf;
}
.tbl {
   font-size : 11px;
   padding : 4px;
}
.tbl1 {
   font-size : 11px;
   color : #ffffff;
   background-color: #f8fbfd;
   padding : 4px;

}
.tbl2 {
   font-size : 11px;
   color : #666;
   background-color: #f9f9f9;
   padding : 4px;
}
.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #fff;
   background-color: #ACACAC;
   padding : 2px 4px 3px 4px;
}
.quote {
   color : #ffffff;
   background-color : #fff;
   padding : 2px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #617d8f;
}
.poll {
   height : 6px;
   border : 1px solid #000;
}
.comment-name {
   font-weight : bold;
   color : #0a86cf;
}
.shoutboxname {
   font-weight : bold;
   color : red;

}
.shoutbox {
   color : #444;

}
.shoutboxdate {
   font-size : 9px;
   color : #213d6f;

}
.small {
   font-size : 11px;
   font-weight : normal;
}
.small2 {
   font-size : 11px;
   font-weight : normal;
   color : #555;
}
.side-small {
   font-size : 11px;
   font-weight : normal;
   color : #444;
   background-color : #eee;
}
.side-label {
   color : #444;
   background-color : #ddd;
   padding : 2px;
}
.gallery {
   padding : 16px 0px 8px 0px;
}

.gallery img {
   border : 0px solid #ccc;
}
img.activegallery {
   border : 1px solid #ccc;
}
.footer {
   background-image: url('media/main.jpg');
   background-repeat: repeat-x;
   background-position: bottom;
   background-color: #fff;
   font-family : Verdana;
   font-weight: bold;
   font-size : 10px;
   color: #0a86cf;
   padding-bottom: 2px;
}



Parašė ramon· 2007 Rugs. 1 00:09:25
#2

1.Cia tikrai ne EXPERT klausimas.
2.Nefloodink.
3.Cia beda gali buti netik style.css bet ir themes.php.
4.Parodyk themes.php naujienu funkcija.

Parašė Soo-2· 2007 Rugs. 1 00:09:07
#3

<?
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "750";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width;

echo "<table align=center class='mainsite-border' align='left' width='750' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>

<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
include_once "header.php";
echo "</td></tr>
</table>\n";



echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";

}


function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>".$info['kategorija'].": $subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'><img src='".THEME."media/readmore.png' alt=''></a>\n" : "")."</td>";
echo "</tr>
</table>
</td>
</tr>
</table>\n";

}
function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," Ā·").articleopts($info,"Ā·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=23 width=160 class='scapmain' align=center>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}

function closesidex() {

echo "</div>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}
?>



Redagavo Soo-2· 2007 Rugs. 1 00:09:25

Parašė ramon· 2007 Rugs. 1 00:09:01
#4

.main-body {
   background: transparent;
   font-size : 11px;
   color : #000;
   padding : 4px 4px 5px 4px;
}



Parašė Soo-2· 2007 Rugs. 1 00:09:37
#5

;);););) dėkui.. 10 tau