Problema Titlebox!
Pagina 1 din 2 • Distribuiţi
Pagina 1 din 2 • 1, 2
Problema Titlebox!
Salut FG.
Am o problema la title-box deci nu-mi arata titlul de la topic si numele celui ce a facut topicul..
Ce am adaugat in viewtopic_body pentru title box
Si in css
Am o problema la title-box deci nu-mi arata titlul de la topic si numele celui ce a facut topicul..
Ce am adaugat in viewtopic_body pentru title box
- Cod:
<div class="titlebox">
<dd> <dava><div class="avatarredet"><a class="teste2" href="#">
<img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava>
<div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto">
<div style="line-height: 80%;"> </div>
<h2 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h2>
<div class="desc lighter blend_links">
<dts>Started by </dts><span itemprop="creator"></span> - <span itemprop="data_post"></span></div></div>
</dd></div><br>
Si in css
- Cod:
.titlebox{
-moz-border-radius:3px;
-moz-box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px;
-webkit-border-radius:3px;
-webkit-box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px;
background:#212121;
border:1px solid #2e2e2e;
border-radius:3px;
box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px;
overflow:hidden;
padding:10px;
text-shadow:#fff 0 1px 0
}
.titlebox dd{display:block}
.titlebox dava{float:left}
.titlebox dava a img{
-moz-box-shadow:0 2px 2px rgba(0,0,0,0.1);
-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.1);
background:#fff;
border:1px solid #D5D5D5;
box-shadow:0 2px 2px rgba(0,0,0,0.1);
float:left;
height:50px!important;
padding:1px;
width:50px!important
}
.titlebox dava a img:hover{
-moz-box-shadow:0 2px 2px rgba(0,0,0,0.2);
-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.2);
border-color:#A1A1A1;
box-shadow:0 2px 2px rgba(0,0,0,0.2)
}
.ipsType_pagetitle a{
z-index:999;
}
.desc.lighter.blend_links{
color:#a4a4a4;
}
.desc.lighter,.desc.lighter.blend_links a{
color:#A4A4A4;
}
.desc,.desc.blend_links a,p.posted_info{
color:#777;
font-size:12px;
}
.conect{
display:inline-block;
padding-left:5px;
}
div.avatarredet {
padding-right: 5px;
}
Re: Problema Titlebox!
Nimeni ?
Re: Problema Titlebox!
Daca scoti codurile respective tema nu isi revine? Vreau sa zic... titlul nu apare?
Re: Problema Titlebox!
Da titul nu apare si nici de cine a fost creat topicul
Re: Problema Titlebox!
Incearca acest CSS:
Si aceasta parte de viewtopic_body:
- Cod:
.titlebox {
background:#f9f9f9;
border:1px solid #e6e6e6;
text-shadow:#fff 0px 1px 0px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-webkit-box-shadow:inset rgba(0,0,0,0.05) 0px 1px 4px;
-moz-box-shadow:inset rgba(0,0,0,0.05) 0px 1px 4px;
box-shadow:inset rgba(0,0,0,0.05) 0px 1px 4px;
padding:10px;
overflow:hidden;
}
.titlebox dd {
display:block;
}
.titlebox dava {
float:left;
}
.titlebox dava a img {
-moz-box-shadow:0 2px 2px rgba(0,0,0,0.1);
-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.1);
background:#fff;
border:1px solid #D5D5D5;
box-shadow:0 2px 2px rgba(0,0,0,0.1);
float:left;
height:50px!important;
padding:1px;
width:50px!important
}
.titlebox dava a img:hover {
-moz-box-shadow:0 2px 2px rgba(0,0,0,0.2);
-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.2);
border-color:#A1A1A1;
box-shadow:0 2px 2px rgba(0,0,0,0.2)
}
.padding-box {
padding: 0px 10px 0px 10px;
}
.ipsType_pagetitle {
font: 300 26px/1.4 Helvetica,Arial,sans-serif;
}
Si aceasta parte de viewtopic_body:
- Cod:
<div class="padding-box"><div class="titlebox">
<dd> <dava><div class="avatarredet"><a class="teste2" href="#">
<img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava>
<div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto">
<h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1>
<div class="desc lighter blend_links">
<dts>Started by </dts><span itemprop="creator"></span> - <span itemprop="data_post"></span></div></div>
</dd></div></div>
Vizitator- Vizitator
Re: Problema Titlebox!
Uite eu nu am javascript..
Re: Problema Titlebox!
,
adaugati in javascript:
Amplasare: Topicuri
adaugati in javascript:
- Cod:
jQuery(document).ready(function() {
var url=$('.post:first .postmain .postbody .user .user-ident .user-basic-info a img').attr('src');
$('.teste').attr('src',url);
var url2=jQuery('.post:first .postmain .postbody .user .user-ident .user-basic-info a').attr('href');
jQuery('.teste2').attr('href',url2);
var url3=jQuery('.post:first .postmain .postbody .user .user-ident .username').html();
jQuery('span[itemprop="creator"]').html(url3);
var url5=jQuery('span.data-post').html();
jQuery('span[itemprop="data_post"]').html(url5);
});
Amplasare: Topicuri
Pagina 1 din 2 • 1, 2
Subiecte similare
» problema pagina de start problema grup problema avatar
» Am o problema
» Problema
» Problema
» Problema
» Am o problema
» Problema
» Problema
» Problema
Pagina 1 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum