help loại bỏ các dòng chữ nhỏ .then

Thảo luận trong 'General Discussions' bắt đầu bởi gacon_hocit, 28/11/13.

1votes
5/5, 1 vote

  1. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
    như tít e cần loại bỏ những dòng chữ e khoanh tròn như hình, để nó nhìn vướng sao sao ấy :(
    mong nhận dx sự trợ giúp của anh em sớm nhất
    thân.
     

    Các file đính kèm:

    Đang tải...
  2. azuka

    azuka New Member

    Bài viết:
    60
    Likes :
    15
  3. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
  4. azuka

    azuka New Member

    Bài viết:
    60
    Likes :
    15
    ok rồi, lúc xem hình bé quá, tưởng trong bài viết.

    vào thread_view tìm:
    <xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>

    dưới dòng này có các dòng cần xóa.
     
    Last edited: 28/11/13
    gacon_hocit thích bài này.
  5. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
    bác ơi bây giờ em ko muốn loại bỏ nữa e muốn nó thẳng hàng giống như trên vxf.vn kìa bác giúp em với huhuh
     

    Các file đính kèm:

  6. azuka

    azuka New Member

    Bài viết:
    60
    Likes :
    15
    cho xin cái demo online đi, nhìn hình chẳng thấy gì cả :D
     
    gacon_hocit thích bài này.
  7. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
  8. azuka

    azuka New Member

    Bài viết:
    60
    Likes :
    15
    chữ dài mà size bự quá, resize nó lại thành 2 là dc

    Đang là:
    font-size: 24px;

    sửa lại thành 13px là dc.
     
    gacon_hocit thích bài này.
  9. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
    sữa ở đâu đây bác, chỉ đường dẫn dùm hi
     
  10. azuka

    azuka New Member

    Bài viết:
    60
    Likes :
    15
    có nhiều cách, nhưng nhanh nhất & ko ảnh hưởng tới các thẻ h1 khác :

    vào theard_view tìm:

    <xen:h1><a href="threads/{xen:link threads, $thread}" title="{$thread.title}" rel="dofollow">{xen:helper threadPrefix, $thread}{$thread.title}</a></xen:h1>

    Thay bằng:

    <xen:h1><a href="threads/{xen:link threads, $thread}" title="{$thread.title}" rel="dofollow">{xen:helper threadPrefix, $thread}<font color="blue" size="2">{$thread.title}</font></a></xen:h1>

    demo: http://vneforums.com/threads/radio-show-lich-phat-song.1844


    bạn cho xin cái liên kết web dc ko? :D
     
    gacon_hocit thích bài này.
  11. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
    <xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title}{xen:helper pagenumber, $page}</xen:title>
    <xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>
    <xen:Description>
    {xen:Phrase discussion_in_x_started_by_y_date_z,
    'forum=<a href="{xen:link forums, $forum}">{$forum.title}</a>',
    'name={xen:helper username, $thread}',
    'date=<a href="{xen:link threads, $thread}">{xen:Datetime $thread.post_date, html}</a>'}
    </xen:Description>

    <xen:navigation>
    <xen:breadcrumb source="$nodeBreadCrumbs" />
    </xen:navigation>

    <xen:container var="$head.canonical">
    <link rel="canonical" href="{xen:link 'canonical:threads', $thread, 'page={$page}'}" /></xen:container>
    <xen:container var="$head.description">
    <meta name="description" content="{xen:helper snippet, $firstPost.message, 155}" /></xen:container>
    <xen:container var="$head.openGraph"><xen:include template="open_graph_meta">
    <xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
    <xen:set var="$title">{xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:set>
    <xen:set var="$avatar">{xen:helper avatar, $thread, m, 0, 1}</xen:set>
    </xen:include></xen:container>
    <xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
    <xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
    <xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

    <xen:if is="{$canReply}">
    <xen:comment><xen:topctrl>
    <a href="{xen:link 'threads/reply', $thread}" class="callToAction"><span>{xen:Phrase reply_to_thread}</span></a>
    </xen:topctrl></xen:comment>
    </xen:if>

    <xen:require css="thread_view.css" />

    <xen:edithint template="message" />

    <xen:if is="{$poll}">
    <xen:include template="poll_block">
    <xen:set var="$options">
    <xen:if is="{$poll.canVote}">
    <xen:include template="poll_block_vote" />
    <xen:else />
    <xen:include template="poll_block_result" />
    </xen:if>
    </xen:set>
    </xen:include>
    </xen:if>

    <xen:if is="{$showPostedNotice}">
    <div class="importantMessage">{xen:Phrase message_submitted_displayed_pending_approval}</div>
    </xen:if>

    <xen:set var="$threadStatusHtml">
    <xen:if hascontent="true">
    <dl class="threadAlerts secondaryContent">
    <dt>{xen:Phrase thread_status}:</dt>
    <xen:contentcheck>
    <xen:if is="{$thread.discussion_state} == 'deleted'">
    <dd class="deletedAlert">
    <span class="icon Tooltip" title="{xen:Phrase deleted}" data-tipclass="iconTip"></span>
    {xen:Phrase removed_from_public_view}</dd>
    <xen:elseif is="{$thread.discussion_state} == 'moderated'" />
    <dd class="moderatedAlert">
    <span class="icon Tooltip" title="{xen:Phrase awaiting_moderation}" data-tipclass="iconTip"></span>
    {xen:Phrase awaiting_moderation_before_being_displayed_publicly}</dd>
    </xen:if>

    <xen:if is="!{$thread.discussion_open}">
    <dd class="lockedAlert">
    <span class="icon Tooltip" title="{xen:Phrase locked}" data-tipclass="iconTip"></span>
    {xen:Phrase not_open_for_further_replies}</dd>
    </xen:if>
    </xen:contentcheck>
    </dl>
    </xen:if>
    </xen:set>
    {xen:raw $threadStatusHtml}

    <xen:hook name="thread_view_pagenav_before" params="{xen:array 'thread={$thread}'}" />

    <div class="pageNavLinkGroup">


    <xen:include template="share_page"></xen:include>
    <div class="linkGroup SelectionCountContainer">
    <xen:if hascontent="true">
    <div class="Popup">
    <a rel="Menu">{xen:Phrase thread_tools}</a>
    <div class="Menu">
    <xen:contentcheck>
    <xen:if hascontent="true">
    <div class="primaryContent menuHeader"><h3>{xen:Phrase thread_tools}</h3></div>
    <ul class="secondaryContent blockLinksList">
    <xen:contentcheck>
    <xen:if is="{$canEditThread}">
    <li><a href="{xen:link 'threads/edit', $thread}" class="OverlayTrigger">{xen:Phrase edit_thread}</a></li>
    <xen:elseif is="{$canEditTitle}" />
    <li><a href="{xen:link threads/edit-title, $thread}" class="OverlayTrigger">{xen:Phrase edit_title}</a></li>
    </xen:if>
    <xen:if is="{$canDeleteThread}">
    <li><a href="{xen:link 'threads/delete', $thread}" class="OverlayTrigger">{xen:Phrase delete_thread}</a></li>
    </xen:if>
    <xen:if is="{$canMoveThread}">
    <li><a href="{xen:link 'threads/move', $thread}" class="OverlayTrigger">{xen:Phrase move_thread}</a></li>
    </xen:if>
    <xen:if is="{$deletedPosts}">
    <li><a href="{xen:link threads/show-posts, $thread, 'page={$page}'}" class="MessageLoader" data-messageSelector="#messageList .message.deleted.placeholder">{xen:Phrase show_deleted_posts}</a></li>
    </xen:if>
    <xen:hook name="thread_view_tools_links" params="{xen:array 'thread={$thread}'}" />
    </xen:contentcheck>
    </ul>
    </xen:if>
    <xen:if hascontent="true">
    <form action="{xen:link threads/quick-update, $thread}" method="post" class="AutoValidator">
    <ul class="secondaryContent blockLinksList checkboxColumns">
    <xen:contentcheck>
    <xen:if is="{$canLockUnlockThread}">
    <li><label><input type="checkbox" name="discussion_open" value="1" class="SubmitOnChange" {xen:checked $thread.discussion_open} />
    {xen:Phrase open_thread}</label>
    <input type="hidden" name="set[discussion_open]" value="1" /></li></xen:if>
    <xen:if is="{$canStickUnstickThread}">
    <li><label><input type="checkbox" name="sticky" value="1" class="SubmitOnChange" {xen:checked $thread.sticky} />
    {xen:Phrase sticky}</label>
    <input type="hidden" name="set[sticky]" value="1" /></li></xen:if>
    </xen:contentcheck>
    </ul>
    <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
    </form>
    </xen:if>
    <xen:if is="{$thread.canInlineMod}">
    <form action="{xen:link inline-mod/thread/switch}" method="post" class="InlineModForm sectionFooter" id="threadViewThreadCheck"
    data-cookieName="threads">
    <label><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" /> {xen:Phrase select_for_thread_moderation}</label>
    <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
    </form>
    </xen:if>
    </xen:contentcheck>
    </div>
    </div>
    </xen:if>
    <xen:if is="{$canWatchThread}">
    <a href="{xen:link 'threads/watch-confirm', $thread}" class="OverlayTrigger" data-cacheOverlay="false">{xen:if $thread.thread_is_watched, '{xen:Phrase unwatch_thread}', '{xen:Phrase watch_thread}'}</a>
    </xen:if>
    </div>

    <xen:Pagenav link="threads" linkdata="{$thread}"
    page="{$page}" perpage="{$postsPerPage}" total="{$totalPosts}"
    unreadlink="{$unreadLink}" />
    </div>

    <xen:include template="ad_thread_view_above_messages" />

    <xen:hook name="thread_view_form_before" params="{xen:array 'thread={$thread}'}" />

    <form action="{xen:link 'inline-mod/post/switch'}" method="post"
    class="InlineModForm section"
    data-cookieName="posts"
    data-controls="#InlineModControls"
    data-imodOptions="#ModerationSelect option">

    <ol class="messageList" id="messageList">
    <xen:foreach loop="$posts" value="$post">
    <xen:if is="{$post.message_state} == 'deleted'">
    <xen:include template="post_deleted_placeholder" />
    <xen:else />
    <xen:include template="post" />
    </xen:if>
    </xen:foreach>
    <xen:edithint template="attached_files" />
    </ol>

    <xen:if is="{$inlineModOptions}">
    <div class="sectionFooter InlineMod Hide">
    <label for="ModerationSelect">{xen:Phrase perform_action_with_selected_posts}...</label>

    <xen:include template="inline_mod_controls">
    <xen:set var="$text">{xen:Phrase post_moderation}</xen:set>
    <xen:set var="$options">
    <xen:if is="{$inlineModOptions.delete}"><option value="delete">{xen:Phrase delete_posts}...</option></xen:if>
    <xen:if is="{$inlineModOptions.undelete}"><option value="undelete">{xen:Phrase undelete_posts}</option></xen:if>
    <xen:if is="{$inlineModOptions.approve}"><option value="approve">{xen:Phrase approve_posts}</option></xen:if>
    <xen:if is="{$inlineModOptions.unapprove}"><option value="unapprove">{xen:Phrase unapprove_posts}</option></xen:if>
    <xen:if is="{$inlineModOptions.move}"><option value="move">{xen:Phrase move_posts}...</option></xen:if>
    <xen:if is="{$inlineModOptions.merge}"><option value="merge">{xen:Phrase merge_posts}...</option></xen:if>
    <option value="deselect">{xen:Phrase deselect_posts}</option>
    </xen:set>
    <xen:set var="$checkboxTitle">{xen:Phrase select_deselect_all_posts_on_this_page}</xen:set>
    <xen:set var="$selectedItemsPhrase">{xen:Phrase selected_posts}</xen:set>
    </xen:include>
    </div>
    </xen:if>

    <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />

    </form>

    <xen:if hascontent="true">
    <div class="pageNavLinkGroup">
    <xen:contentcheck>
    <xen:if is="{$canQuickReply}">
    <xen:if is="{$postsRemaining}">
    <div class="linkGroup">
    <xen:if is="{$postsRemaining} == 1">
    <a href="{xen:link threads, $thread, 'page={xen:calc "{$page} + 1"}'}" class="postsRemaining">{xen:Phrase 1_more_message}...</a>
    <xen:else />
    <a href="{xen:link threads, $thread, 'page={xen:calc "{$page} + 1"}'}" class="postsRemaining">{xen:Phrase x_more_messages, 'count={xen:number $postsRemaining}'}...</a>
    </xen:if>
    </div>
    </xen:if>
    <xen:else />
    <div class="linkGroup">
    <xen:if is="{$canReply}">
    <a href="{xen:link 'threads/reply', $thread}" class="callToAction"><span>{xen:Phrase reply_to_thread}</span></a>
    <xen:elseif is="{$visitor.user_id}" />
    <span class="element">({xen:Phrase no_permission_to_reply})</span>
    <xen:else />
    <label for="LoginControl"><a href="{xen:link login}" class="concealed element">({xen:Phrase log_in_or_sign_up_to_reply})</a></label>
    </xen:if>
    </div>
    </xen:if>
    <div class="linkGroup"{xen:if '!{$ignoredNames}', ' style="display: none"'}><a href="javascript:" class="muted jsOnly DisplayIgnoredContent Tooltip" title="{xen:Phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:Phrase show_ignored_content}</a></div>

    <xen:Pagenav link="threads" linkdata="{$thread}"
    page="{$page}" perpage="{$postsPerPage}" total="{$totalPosts}"
    unreadlink="{$unreadLink}"
    />
    </xen:contentcheck>
    </div>
    </xen:if>

    <xen:include template="ad_thread_view_below_messages" />

    <xen:hook name="thread_view_qr_before" params="{xen:array 'thread={$thread}'}" />

    <xen:if is="{$canQuickReply}">
    <xen:include template="quick_reply">
    <xen:set var="$formAction">{xen:link 'threads/add-reply', $thread}</xen:set>
    <xen:set var="$lastDate">{$lastPost.post_date}</xen:set>
    <xen:set var="$lastKnownDate">{$thread.last_post_date}</xen:set>
    <xen:set var="$showMoreOptions">1</xen:set>
    </xen:include>
    </xen:if>

    <xen:hook name="thread_view_qr_after" params="{xen:array 'thread={$thread}'}" />

    {xen:raw $threadStatusHtml}

    <xen:include template="share_page">
    <xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
    </xen:include>
     
  12. Bvn.vn

    Bvn.vn Active Member

    Bài viết:
    1,832
    Likes :
    401
    Thua không biết chèn mã để lè lưỡi chả biết đâu mà mò :D
     
    gacon_hocit thích bài này.
  13. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
    ko bít thé bác giúp e cái :(
     
  14. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
  15. cuong pham

    cuong pham Member

    Bài viết:
    392
    Likes :
    115
    ặc, webmaster mà cái việc đơn giản chèn mã mà ko biết ^:)^
     
    gacon_hocit thích bài này.
  16. tuanit0812

    tuanit0812 New Member

    Bài viết:
    47
    Likes :
    16
    Ui chà nói đến thế cơ, bạn có cái dòng thứ 2 kìa kìa. thay cái này "<xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>" bằng "<xen:h1><a href="threads/{xen:link threads, $thread}" title="{$thread.title}" rel="dofollow">{xen:helper threadPrefix, $thread}<font color="blue" size="2">{$thread.title}</font></a></xen:h1>" thế thôi.
     
  17. gacon_hocit

    gacon_hocit Member

    Bài viết:
    306
    Likes :
    10
    đã xog
     
comments powered by Disqus

Chia sẻ trang này

Đang tải...