Joomla : Header-də şəkili dəyişmək
Mən yüklədiyim şablomda - Header-də şəkili dəyişmək istəyirəm- amma nəsə alınmır.
1) Şablondaki özünkünün şəlinnini yerini FİREBUG- dan öyrəndim . (seklin adı logo-du.)
[code]
a href="/">
<img class="logo" border="0" src="/templates/jt017_j15/images/logo.png">
2)İstədiyim şəkli www/images folderine qoydum (seklin adi ( Headlogo-du)
3 ) Sonra Joomal-na sablomun HTML- konlarini deyisen yerde
images/log.png pozub images/headlogo.png yazdim
sablomdimdaki :
<a href="baseurl ?>/"><img src="baseurl; ?>/templates/template; ?>/images/logo.png" border="0" class="logo"></a>
[/code]
men deyisdikden sonra
[code]<a href="baseurl ?>/"><img src="baseurl; ?>/templates/template; ?>/images/headlogo.png" border="0" class="logo"></a>
şablomun şekli yox oldu (logo) amma mənim seklim (headlogo) göstərmir.
4 ) həttde kodlarin arasinda olan bütün logo sözləri dəyişim headlogo elədim- amma heçnə alənmadı
5) CSS -də 1 dənə logo -sözü vardı - onuda dəyişib headlogo eledim amma yene kecnə cixmadi
Bütün şablomki kodlar
HTML :
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="language; ?>" lang="language; ?>" >
<link rel="stylesheet" href="baseurl ?>/templates/template ?>/css/styles.css" type="text/css" />
<div>
<div>
countModules('logo')) : ?>
<div class="headlogo">
</div>
<a href="baseurl ?>/"><img src="baseurl; ?>/templates/template; ?>/images/headlogo.png" border="0" class="headlogo"></a>
countModules('menu')) : ?>
<div><div><div>
</div></div></div>
</div>
</div>
countModules('slideshow')) : ?>
<div><div>
</div></div>
<div>
<div>
<div>
countModules('breadcrumb')) : ?>
<div>
</div>
countModules('user1 or user2 or user3')) : ?>
<div id="mods1" class="spacer">
</div>
<div class="full">
<div>
<div id="comp_">
<div>
</div>
</div>
countModules('left')) : ?>
<div>
<div>
</div>
</div>
</div>
countModules('right')) : ?>
<div>
<div>
</div>
</div>
<div class="clr"></div>
</div>
</div>
</div>
</div>
countModules('user4 or user5 or user6')) : ?>
<div id="mods2" class="spacer">
</div>
countModules('user7 or user8 or user9 or user10')) : ?>
<div>
<div class="footer-pad">
<div><div><div></div></div></div>
<div id="mods3" class="spacer">
</div>
<div><div><div></div></div></div>
</div>
</div>
<div>
countModules('copyright')) : ?>
<div class="copy">
</div>
<div class="design"><a href="http://joomlathemes.co" target="_blank" title="joomla themes">Business Joomla Templates</a> designed by <a href="http://joomla-hosting.co" target="_blank" title="best joomla hosting">Joomla Hosting</a></div>
</div>
</div>
CSS-deki :
/*
Design by http://JoomlaThemes.co
*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,font,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,center,dl,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {background: transparent;border: 0;font-style: inherit;font-weight: inherit;margin: 0;padding: 0;outline: 0;vertical-align: baseline;} table {border-collapse: collapse;border-spacing: 0;}
/* Main Layout */
html {height: 100%;}
body { font:normal 13px/1.8em Arial, Helvetica, sans-serif; color:#555; background:#0f0f0f}
.background {position: absolute;width: 100%;}
h1,h2,h3,h4,h5,h6,.componentheading {margin:0; padding:10px 0; font-weight:bold; color:#A50000;font-family:'Ubuntu', Arial, Helvetica, sans-serif; letter-spacing:1px }
.componentheading { font-style:italic;font-size:20px;}
h1{font-size:28px;}
h2 {font-size:25px;}
h3 {font-size:23px;}
h4 {font-size:19px;} h5 {font-size:17px;} h6 {font-size:15px;}
a {color: #111;text-decoration: underline;}
a:hover {color:#A50000}
ul {margin:0 0 0 15px;}
p {margin-top: 0;margin-bottom: 10px;}
blockquote { background:#eee; border:3px solid #ccc; margin:5px; padding:5px; font-size:18px; font-family:'Ubuntu', Times, serif; font-style:italic}
element.style { height:auto;}
hr { width:100%; clear:both; border:none; height:2px; background:#eee;}
.clr {clear: both;}
/* Header */
#header { position:relative; height:100px; width:960px; margin:0 auto;}
#header-w { background:#000 url(../images/header.png) top center repeat-x; position:relative; border-bottom:4px #CEA20A solid}
.headlogo{ position:absolute; top:10px; left:0px; color:#fff;}
#slide-w { margin:0; padding:0; background:#d4ac23 url(../images/slideshow.png) 0 0 repeat; border-bottom:1px solid #eebd16;border-top:1px solid #eebd16;}
#slide { width:960px; margin:0 auto;}
/* Navigation */
#nav {}
#navl {}
#navr {background: none;height:35px; position:absolute; right:0; bottom:0}
#nav {z-index:10; position:relative;}
#nav ul {margin:0; padding:0; float:left;}
#nav ul li {list-style:none;float:left;height:35px;position:relative; padding:0; margin:0 0 0 2px; background:url(../images/nav-li.png) 100% 0 no-repeat;}
#nav ul li a { display:block;padding:0 10px; margin:0;line-height:35px;color:#474747;font-weight:100;text-decoration:none;font-size:15px;background:url(../images/nav-a.png) 0 0 no-repeat;}
#nav ul li.active { background:url(../images/nav-li.png) 100% 0 no-repeat;}
#nav ul li.active a {color:#fff; background:url(../images/nav-a.png) 0 0 no-repeat;}
#nav ul li:hover { background:url(../images/nav-li.png) 100% 0 no-repeat;}
#nav ul li a:hover{color:#fff;text-decoration:none; background:url(../images/nav-a.png) 0 0 no-repeat;}
#nav ul li ul {position:absolute;width:170px;left:-999em;border-top:0; margin:0;}
#nav ul li:hover ul, #menu ul li.sfHover ul {left:0;}
#nav ul li ul li {padding:0;height:auto;width:170px; margin:0; border:none;}
#nav ul li:hover ul li a {text-shadow:none;}
#nav ul li:hover ul li { background:none;}
#nav ul li:hover ul li a, #nav ul li ul li a, #nav ul li.active ul li a{margin:0; padding:0 0 0 10px;height:24px;line-height:24px; background:#CEA20A;border-bottom:1px solid #c59a05;color:#474747; font-size:11px;font-weight:normal;text-shadow:none;}
#nav ul li ul li a:hover, #nav ul li ul li.active a, #nav ul li.active ul li a:hover, #nav ul li.active ul li.active a {margin:0; padding:0 0 0 10px;height:24px;line-height:24px;background:#dbac08;color:#fff; font-size:11px;text-shadow:none;}
#nav ul li ul ul, #nav ul li:hover ul ul, #nav ul li:hover ul ul ul, #nav ul li:hover ul ul ul ul, #nav ul li.sfHover ul ul, #nav ul li.sfHover ul ul ul, #nav ul li.sfHover ul ul ul ul {left:-999em;}
/* Content */
#main { margin:0 auto;background:#eeeeee url(../images/shadow.png) top center no-repeat;}
#main, .leading, #page {position: relative;}
#main-content { clear:both;margin:0 auto; padding:0 5px; background:#fff;}
#maincol {position: relative;}
#wrapper { margin:0 auto; width:960px; padding:0;position: relative;}
#top1 {background:url(../images/main-top.png) 0 0 no-repeat;clear:both;}
#top2 {background: url(../images/main-top.png) 100% 100% no-repeat; }
#top3 { background: #2f2f2f; height: 6px;margin:0 6px;}
#bot1 {background:url(../images/main-bot.png) 0 0 no-repeat;clear:both;}
#bot2 {background: url(../images/main-bot.png) 100% 100% no-repeat; }
#bot3 { background: #4e4e4e; height: 6px;margin:0 6px;}
#comp_60 { width:530px; float:right; position:relative; padding:0; margin:0; min-height:300px;}
#comp_80 { width:740px; float:right; position:relative; padding:0; margin:0; min-height:300px;}
#comp_100 { width:950px; position:relative; padding:0;margin:0 auto; min-height:300px; }
#comp-i {padding:0 10px;}
#comp { float:left;}
.cols1 {display: block;float: none;margin: 0;width: 100%;}
.cols2 {width: 49%;overflow: hidden;}
.cols3 {width: 33%; float:left;}
.column1, .column2, .column3 {position: relative;float: left;margin: 0;}
.colpad {padding: 0 10px;position: relative;}
.article_row {overflow: hidden;margin: 0 -10px 15px -10px;}
.spacer .module {float: left;}
.spacer.w99 .module {width: 100%;}
.spacer.w49 .module {width: 50%;}
.spacer.w33 .module {width: 33.3%;}
.spacer.w24 .module {width: 24.5%;}
/* Content styles */
.buttonheading { position:absolute; top:20px; right:5px;}
.buttonheading .icon {display:block;width:16px;height:16px;float:left;margin-left:5px;}
.buttonheading .pdf {background: url(../images/pdf_button.png) 0 50% no-repeat;}
.buttonheading .print {background: url(../images/printButton.png) 0 50% no-repeat;}
.buttonheading .email {background: url(../images/emailButton.png) 0 50% no-repeat;}
.iteminfo {font-size: 11px;overflow:hidden;margin-bottom:5px;display:block;margin-top:-10px;width: 100%; color:#d2d2d2;}
.modifydate, .createdby, .createdate {padding:0 10px 0 0;}
.createdby {font-weight:bold;}
a.readon {margin-top:15px;}
.component-pad {padding: 15px;}
.banneritem_text {margin-bottom: 10px;}
#modlgn_username, #modlgn_passwd {padding: 3px;}
h2.contentheading {padding-right: 65px;} .contentheading, .contentheading a { font-size:25px; line-height:30px; text-decoration:none;} .contentheading a:hover {}
.sectiontableheader {font-weight: bold;line-height: 25px;text-align: left;}
tr.sectiontableentry0 td, tr.sectiontableentry1 td, tr.sectiontableentry2 td, td.sectiontableentry0, td.sectiontableentry1, td.sectiontableentry2 {text-align: left;padding: 0 4px;vertical-align: middle;border-top: 1px solid #e4e4e4;line-height: 30px;}
.pagination span, .pagination a {margin-right: 5px; padding:2px 5px; background:url(../images/button.png) 0 0 repeat-x; border:1px solid #890000; color:#eee;-moz-border-radius: 3px;border-radius: 3px;}
.button { background:url(../images/button.png) 0 0 repeat-x; border:1px solid #890000; color:#eee;cursor:pointer; padding:2px 5px;margin:0 0 10px 0;-moz-border-radius:3px;border-radius:3px;}
.button:hover,.pagination a:hover {background:#A50000;color:#fff;}
.inputbox, input, textarea, select {background:#fff; border:1px solid #d4d4d4;}
.breadcrumbs { padding:0 0 0 10px;}
/* Sidebar */
#leftbar-w {width:210px; min-height:200px; float:left; margin:0;}
#rightbar-w {width:210px; min-height:200px; float:right; margin:0;}
#sidebar {padding:0}
#sidebar .module {padding:5px; margin:0;}
#sidebar .module-title {font-size:18px;font-weight:100;margin:0;height:40px; line-height:32px; color: #000; text-shadow:1px 1px #f0c42a;}
#leftbar-w .module-title {background: url(../images/h3-l.png) 0 0 no-repeat; text-align:left;padding:0 0 0 10px; }
#rightbar-w .module-title {background: url(../images/h3-r.png) 0 0 no-repeat; text-align:right;padding:0 10px 0 0; }
#sidebar .module-body {margin:0; padding:0 5px;}
#sidebar .module-body p{padding:0; margin:0;}
#sidebar ul li { margin:0 5px; padding:0;}
#sidebar .module ul.menu{margin:5px 0 0 0; padding:0;list-style:none; padding:0; list-style-type:none;}
#sidebar .module ul.menu li{ list-style:none; list-style-type:none;margin:0; padding:0; border-bottom:1px solid #e4e4e4;}
#sidebar .module ul.menu li a {display:block;margin:0; padding:3px 0 3px 25px;font-weight:bold;line-height:20px;background: url(../images/arrow2.png) 0% 50% no-repeat; text-decoration:none; color:#999; font-size:13px;}
#sidebar .module ul.menu li a:hover { color:#A50000; text-decoration:none;}
#sidebar .module ul.menu li.active a{color:#A50000;}
#sidebar .module ul.menu li ul {border-top:1px solid #e4e4e4; margin:0;}
#sidebar .module ul.menu li ul li {background:none; border:none; margin: 0 0 0 15px; }
#sidebar .module ul.menu li ul li a{ border: 0; color:#999; background: url(../images/arrow2.png) 0% 50% no-repeat;}
#sidebar .module ul.menu li ul li a:hover{ border: 0; color:#A50000; background: url(../images/arrow2.png) 0% 50% no-repeat; }
#sidebar .module ul.menu li.active ul li a{color: #999;}
#sidebar .module ul.menu li ul li.active a, #sidebar .module ul.menu li.active ul li a:hover{color:#A50000;}
/* Modules 1 */
#mods1 {overflow: hidden;padding:0; margin:0 auto;clear:both;}
#mods1 .module { padding:0; margin:0; }
#mods1 .inner { padding:10px; }
#mods1 .module-title {margin:0;padding:0 0 10px 0;}
#mods1 h3 {display: block;padding-left: 10px;padding-top: 3px;height: 20px;font-size: 18px; color:#A50000;}
#mods1 .module-body {padding:0; margin:0;}
#mods1 ul {margin:0 10px; padding:0;}
#mods1 ul li {list-style:inside;}
#mods1-i { clear:both;}
/* Modules 2 */
#mods2 {overflow: hidden;padding:0; margin:0 auto;clear:both;width:960px; color:#d1d1d1; }
#mods2 .module { margin:0;padding:0;}
#mods2 .inner { padding:10px;}
#mods2 .module-title {margin:5px 0;padding:0;display: block;height: 22px;font-size: 20px;font-weight:100; color:#828282;}
#mods2 .module-body {padding:0; margin:0;}
#mods2 a { color:#d1d1d1;}#mods2 a:hover { color:#fff;}
#mods2 ul {margin:0; padding:0;}
#mods2 ul li {list-style:inside;margin:0; padding:0;}
/* Modules 3 */
#mods3 {overflow: hidden;padding:0; margin:0 auto; clear:both; width:960px; color:#9b9b9b; background:#4e4e4e url(../images/mods3.png) 0 0 repeat-x;}
#mods3 .module { margin:0;padding:0;}
#mods3 .inner { padding:5px 10px 0 10px;}
#mods3 .module-title {margin:0 0 5px 0;padding:0;display: block;height: 22px;font-size: 20px;font-weight: bold; color:#ccc;}
#mods3 .module-body {padding:0; margin:0;}
#mods3 a { color:#9b9b9b;}#mods3 a:hover { color:#fff;}
#mods3 ul {margin:0; padding:0;}
#mods3 ul li {list-style:inside; border-bottom:1px dotted #404040; list-style:none;}
#mods3 ul li:hover { background:#636363}
#mods3 ul li a {font-weight:100; display:block; padding:0 0 0 5px}
/* Footer */
#footer { clear:both; margin:10px 0 0 0; padding:0;}
.footer-pad { width:960px; margin:0 auto; padding: 0;}
#bottom {width:960px; margin:0 auto; padding:5px 0 0 0;}
.copy { margin:0; padding:0 0 0 10px;font-size:12px; float:left;color:#ccc}
.copy a {font-size:12px; color:#ccc}
.design {margin:0; padding:0 10px 0 0; font-size:11px; color:#161616; text-align:right; float:right}
.design a { text-decoration:none; font-size:11px;color:#161616}
/* System Messages */
#system-message { margin-bottom: 10px; padding: 0;}
#system-message dt { font-weight: bold; }
#system-message dd { margin: 0; font-weight: bold; text-indent: 30px; }
#system-message dd ul { color: #0055BB; margin-bottom: 10px; list-style: none; padding: 10px; border-top: 3px solid #84A7DB; border-bottom: 3px solid #84A7DB;}
/* System Standard Messages */
#system-message dt.message { display: none; }
#system-message dd.message { }
/* System Error Messages */
#system-message dt.error { display: none; }
#system-message dd.error ul { color: #c00; background-color: #E6C0C0; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B;}
/* System Notice Messages */
#system-message dt.notice { display: none; }
#system-message dd.notice ul { color: #c00; background: #EFE7B8; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E;}
/* Debug */
#system-debug { color: #ccc; background-color: #fff; padding: 10px; margin: 10px; }
#system-debug div { font-size: 11px;}
[/code]