Giúp em chỉnh sửa phần này cái

Thảo luận trong 'Style & Template Questions' bắt đầu bởi tuanchuot, 16/12/12.

1votes
5/5, 1 vote

  1. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    snap20121216_115433
    cái phần ngày tháng bên trái bị lấp. và giúp em chỉnh lại cho cân cái. làm sao cho cái ảnh nằm giữa
     
    Đang tải...
  2. Logi

    Logi Well-Known Member

    Bài viết:
    1,087
    Likes :
    456
    Gửi template EWR_Portal_recentnews của bạn lên đây để mọi người chỉnh sửa lại cho bạn nhé
     
  3. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    không có phần template EWR_Portal_recentnews bác à
     
  4. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    snap20121216_122543
    đây bác. không có
     

    Các file đính kèm:

  5. Logi

    Logi Well-Known Member

    Bài viết:
    1,087
    Likes :
    456
    EWRblock_RecentNews
    EWRblock_RecentNews.css

    Chính xác là nó đó bạn. Bạn xem lại xem hay là xóa nó rồi
     
  6. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    EWRblock_RecentNews



    <xen:require css="message_user_info.css" />
    <xen:require css="bb_code.css" />
    <xen:require css="EWRblock_RecentNews.css" />

    <div id="recentNews">
    <xen:foreach loop="$RecentNews" value="$news">
    <div class="section sectionMain recentNews" id="{$news.thread_id}">

    <div class="primaryContent {xen:if {$option.leftdate}, 'leftDate'}">
    <div class="subHeading">
    <div style="float: right; white-space: nowrap;">
    <a href="{xen:link threads, $news}"><xen:Datetime time="$news.promote_date" /></a>
    <xen:if is="{$visitor.permissions.EWRporta.canPromote}">
    &nbsp; (<a href="{xen:link 'threads/edit', $news}" class="OverlayTrigger">{xen:Phrase edit}</a>)
    </xen:if>
    </div>

    <a href="{xen:link threads, $news}" class="newsTitle">{$news.title}</a>
    </div>

    <div class="newsDate secondaryContent">
    <div class="newsMonth heading">{$news.month}</div>
    <div class="newsDay">{$news.day}</div>
    </div>

    <xen:if is="{$news.promote_icon} != 'disabled'">
    <xen:if hascontent="true">
    <div class="messageUserBlock">
    <div class="avatarHolder">
    <xen:contentcheck>
    <xen:if is="{$news.attach}">
    <a href="{xen:link threads, $news}"><img src="{$news.attach.thumbnailUrl}" alt="{$news.attach.filename}" /></a>
    <xen:elseif is="{$news.medio}" />
    <div style="background: url('{xen:helper medio, $news.medio}') no-repeat;">
    <a href="{xen:link 'full:media/popout', $news.medio}" class="OverlayTrigger"><img src="styles/8wayrun/EWRmedio_play.png" width="160" height="90" /></a>
    </div>
    <xen:elseif is="{$news.image}" />
    <a href="{xen:link threads, $news}"><img src="{$news.image}" alt="{$news.image}" style="max-height: 150px; max-width: 150px;" /></a>
    <xen:else />
    <xen:avatar user="$news" size="m" itemprop="photo" />
    </xen:if>
    </xen:contentcheck>
    </div>
    </div>
    </xen:if>
    </xen:if>

    <div class="messageContent baseHtml">
    <div class="postedBy">
    <span class="posted">{xen:Phrase by_x_at_y,
    'user=<a href="{xen:link members, $news}" class="username">{$news.username}</a>',
    'date=<a href="{xen:link threads, $news}">{xen:time $news.post_date, 'absolute'}</a>'}</span>
    <span class="views">({$news.view_count} {xen:Phrase views} / {$news.first_post_likes} {xen:Phrase likes})</span>
    <span class="comments"><a href="{xen:link threads/unread, $news}">{$news.reply_count} {xen:Phrase comments}</a></span>
    </div>

    <div class="newsText">{xen:raw $news.messageHtml}</div>
    <div class="clearFix"></div>
    </div>

    <div class="sectionFooter">
    <xen:if is="{$option.social}">
    <xen:if hascontent="true">
    <div class="sharePage">
    <xen:require css="share_page.css" />

    <xen:contentcheck>
    <xen:if is="{$xenOptions.tweet.enabled}">
    <div class="tweet shareControl">
    <a href="http://twitter.com/share" class="twitter-share-button"
    data-count="horizontal"
    data-lang="{xen:helper twitterLang, $visitorLanguage.language_code}"
    data-url="{xen:link canonical:threads, $news}"
    {xen:if {$news.title}, 'data-text="{$news.title}"'}
    {xen:if {$xenOptions.tweet.via}, 'data-via="{$xenOptions.tweet.via}"'}
    {xen:if {$xenOptions.tweet.related}, 'data-related="{$xenOptions.tweet.related}"'}>{xen:Phrase tweet}</a>
    </div>
    </xen:if>
    <xen:if is="{$xenOptions.plusone}">
    <div class="plusone shareControl">
    <div class="g-plusone" data-size="medium" data-count="true" data-href="{xen:link canonical:threads, $news}" data-lang="{$visitorLanguage.language_code}"></div>
    </div>
    </xen:if>
    <xen:if is="{$xenOptions.facebookLike}">
    <div class="facebookLike shareControl">
    <xen:container var="$facebookSdk">1</xen:container>
    <fb:like href="{xen:link canonical:threads, $news}" layout="button_count" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="@fbColorScheme"></fb:like>
    </div>
    </xen:if>
    </xen:contentcheck>
    </div>
    </xen:if>
    <xen:else />
    <div class="source">
    {xen:Phrase discussion_in_x_started_by_y_date_z, 'forum=<a href="{xen:link forums, $news}">{$news.node_title}</a>', 'name=<a href="{xen:link members, $news}" class="username">{$news.username}</a>', 'date=<a href="{xen:link threads, $news}">{xen:Datetime $news.post_date, html}</a>'}
    </div>
    </xen:if>

    <div class="continue">
    <a href="{xen:link threads, $news}" style="background: transparent url('@imagePath/xenforo/icons/redirect.png') no-repeat left bottom; padding-left: 20px;">
    {xen:Phrase continue_reading}
    </a>
    </div>
    </div>
    </div>
    </div>
    </xen:foreach>

    <xen:if hascontent="true">
    <div class="section sectionMain">
    <xen:contentcheck>
    <xen:if is="{$option.pagenav} && {$option.count} > {$option.limit}">
    <xen:if is="{$category}">
    <xen:Pagenav link="articles" linkdata="{$category}" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
    <xen:else />
    <xen:Pagenav link="portal" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
    </xen:if>
    </xen:if>
    </xen:contentcheck>
    </div>
    </xen:if>
    </div>
     
  7. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    EWRblock_RecentNews.css






    .recentNews .subHeading { margin: -10px -10px 10px; }
    .recentNews .subHeading a { color: @subHeading.color; }
    .recentNews .messageUserBlock { float: right; margin-left: 10px; }

    .recentNews .newsDate { float: left; margin: 0px 10px 10px 0px; padding: 0px 10px 5px; width: 35px; font-weight: bold; text-align: center; }
    .recentNews .newsDate .newsMonth { padding: 10px 0px 5px !important; margin: 0px -10px 5px !important; text-transform: uppercase; }
    .recentNews .newsDate .newsDay { font-size: 26px; }

    .recentNews .leftDate .newsDate { margin-left: -45px; }
    .recentNews .leftDate .newsText { margin-left: 25px; }

    .recentNews .messageContent { font-size: 13px; }
    .recentNews .messageContent .postedBy { margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px dashed @primaryLighterStill; }
    .recentNews .messageContent .username { font-weight: bold; }
    .recentNews .messageContent .posted { background: transparent url('@imagePath/xenforo/icons/sticky.png') no-repeat left bottom; padding-left: 20px; }
    .recentNews .messageContent .comments { float: right; background: transparent url('@imagePath/xenforo/widgets/discussion-new.png') no-repeat left bottom; padding-left: 20px; font-weight: bold; }
    .recentNews .messageContent .clearFix { clear: right; }

    .recentNews .sectionFooter { margin: 10px -10px -10px; text-align: right; position: relative; }
    .recentNews .sectionFooter .continue { padding: 6px; font-size: 12px; }
    .recentNews .sectionFooter .continue a { background: transparent url('@imagePath/xenforo/icons/redirect.png') no-repeat left bottom; padding-left: 20px; }
    .recentNews .sectionFooter .continue a:hover { text-decoration: none; }
    .recentNews .sectionFooter .source { padding-top: 6px; float: left; }
    .recentNews .sectionFooter .sharePage { position: absolute; }
    .recentNews .sectionFooter .shareControl { margin-top: 4px !important; }
     
  8. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    bác thông cảm. em dùng mobile
     
  9. trai-ha-thanh

    trai-ha-thanh New Member

    Bài viết:
    62
    Likes :
    9
    Giao diện widget gốc ko phải phù hợp cho tất cả các style, chỉnh sửa lại giao diện là được bạn ah...
     
  10. tuanchuot

    tuanchuot New Member

    Bài viết:
    53
    Likes :
    3
    chỉnh chỗ nào bác. em mới tập làm xen
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...