CSS vraagje. Op http://www.uisge-beatha.eu/logboek/292/ ... ingen.html staat de social media regel onder de datum-regel. Ik zou deze graag op dezelfde regel willen. Nu ziet een deel van de detail template van cgblog er als volgt uit:
Code: Select all
<h3 id="NewsPostDetailTitle">{$get_title}</h3>
<hr id="NewsPostDetailHorizRule"></hr>
{if $entry->category}
<div id="NewsPostDetailCategory">
{$category_label} {$entry->category}
</div>
{/if}
{if $entry->postdate}
<div id="NewsPostDetailDate">
{$entry->postdate|date_format:'%a, %d %b %Y'}
</div>
{/if}
<div id="BlogCounter">
{CGFeedback key1="CGBlog" key2=$entry->id action='ratings' ratingstemplate="feedback_counter"} | Dit artikel is {HitCounter key1="CGBlog" key2=$entry->id} keer bekeken.
{global_content name='SocialMedia'}
</div>
{if $entry->summary}
<div id="NewsPostDetailSummary">
{eval var=$entry->summary}
</div>
{/if}
Code: Select all
{* AddThis Button BEGIN *}
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook_like" fb:like:width="115" {*fb:like:layout="button_count"*}></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
{* AddThis Button END *}
Code: Select all
#main hr#NewsPostDetailHorizRule {
margin-bottom:4px
}
#NewsPostDetailDate {
background:url(http://www.uisge-beatha.eu/images/cms/date.jpg) no-repeat;
font-weight:700
}
#BlogCounter {
background:url(http://www.uisge-beatha.eu/images/cms/comments.jpg) no-repeat
}
.addthis_toolbox addthis_default_style {
}
#SocialMedia {
}
#BlogCounter,#NewsPostDetailDate {
display:inline;
font-size:90%;
margin-bottom:5px;
margin-right:5px;
padding-bottom:2px;
padding-left:20px;
padding-top:2px
}
#NewsPostDetailSummary {
color:#919191;
font-size:15px;
font-weight:700;
line-height:120%;
margin-top:10px
}
#NewsPostDetailContent {
line-height:110%;
margin-bottom:15px
}
maar krijg het niet voor elkaar om ze op een regel te krijgen..addthis_toolbox addthis_default_style {
}
#SocialMedia {
}
Zou iemand me een 'duwtje' in de juiste richting willen geven?
Thanks, Gregor