Hey there - I've been editing the Zenlike skin to match my forums, and I'm having trouble because I would like to define separately within CSS the news content and the title of the news post, but they seem to be stuck together. I know there's {newstitle}, but it seems to control the title of the entire news section, not the individual news posts. I'm not sure if I'm missing something within the CSS, or if I'd have to rewrite the php (something I don't think I'd be able to do) to define them as separate entities. Can anybody point me in the right direction? I've been staring at it so long my eyes are going cross.
The site link is http://fiction.asphaltandrenegades.net/ .
If it helps:
Within the index.tpl, the part that concerns the news is pretty simple:
<div id="main">{news_content}</div>
The CSS that concerns the news:
#main {float:right; width: 750px;margin-top:10px; background:#D3D3D3; position:relative; top: 10px; display: inline; color:#FFF;}
#newsarchive,#sortform,.respond {text-align:center}
.newsbox {margin: 0px;border:0px solid #A4ACAC;width:100%;text-align:center}
.newstitle {font: Arial; text-transform:capitalize; color:ffffff; font-color: #ffffff; font-size:13px;font-weight:100;text-align:center;padding:0;background-color:#555555;padding: 8px;border-bottom:8px solid #2A7B89;}
.newstitle a{font-color:#ffffff;}
.news_content {color:ffffff;}
and the newsbox.tpl:
<!-- START BLOCK : newsbox -->
<div class="newsbox">
<div class="newstitle"><div style="float:right;font-size:10px;font-weight:normal">{newscomments}</div>{newstitle} {adminoptions}</div>
<small style="padding-left:45px">by {newsauthor} on {newsdate}</small><br /><br />
{newsstory}</div><br /><br />
<!-- END BLOCK : newsbox -->
Thank you in advance,
Laurena
I think it is the one in newsbox.tpl -- there is {newstitle} just before {adminoptions} which controls the individual news title not the overall block.
archive:
site:
Available for skin/mod commission! π