Vấn đề thêm quảng cáo và textlink dưới footer xenforo

Thảo luận trong 'Style & Template Questions' bắt đầu bởi htv1810, 25/8/14.

1votes
5/5, 1 vote

  1. htv1810

    htv1810 New Member

    Bài viết:
    40
    Likes :
    1
    E muốn thêm textlink dưới footer như hình dưới thì làm thế nào mấy anh.E cảm ơn

    [​IMG]
     
    Đang tải...
  2. lh1987

    lh1987 Member

    Bài viết:
    342
    Likes :
    118
    Cái này có share rồi, cứ seach đi :-?
     
    ngockhanh_bb thích bài này.
  3. bibiduy

    bibiduy Member

    Bài viết:
    511
    Likes :
    59
    uppppppppppppppppp
     
    htv1810 thích bài này.
  4. piggy001

    piggy001 Member

    Bài viết:
    129
    Likes :
    44
  5. vbt.dongnguyen

    vbt.dongnguyen Member

    Bài viết:
    180
    Likes :
    102
    Đây bạn share luôn cái footer của web mình :D
    Vào Admin -> Appearance -> Templates tìm Templates "footer" thay toàn bộ bằng:
    Mã:
    <xen:edithint template="footer.css" />
    <footer class="websiteFooter">
        <section class="footerContent">
          <div class="shortInfo border-2">
          <h4><i class="icon icon-search"></i> Từ khóa</h4>
              <li><a href="tags/miễn+phí/">Miễn phí</a></li>
              <li><a href="tags/phần+mềm/">Phần mềm</a></li>
             <li><a href="tags/facebook/">Facebook</a></li>
             <li><a href="tags/thủ+thuật/">Thủ thuật</a></li>
             <li><a href="tags/windows/">Windows</a></li>
          </div>
          <div class="shortInfo">
          <h4><i class="icon icon-link"></i> Liên kết</h4>
             <li><a href="members/vbt-dongnguyen.2/">Liên hệ</a></li>
          </div>
          <ul class="socialIcons">
             <li><a href="https://youtube.com"><i class="icon icon-youtube-sign"></i></a></li>
            <li><a href="https://google.com.vn"><i class="icon icon-google-plus-sign"></i></a></li>
            <li><a href="https://facebook.com/Part24.Net"><i class="icon icon-facebook-sign"></i></a></li>
            <li><a href="https://twitter.com/Part24.Net"><i class="icon icon-twitter-sign"></i></a></li>
            <li><a href="members/vbt-dongnguyen.2/"><i class="icon icon-phone-sign"></i></a></li>
          </ul>
          <div class="footer-row2 clearfix">
                    <p class="disclaimer">
                        © 2014 PART24.NET. Thiết kế bởi vbt.dongnguyen.<br>
                        Diễn đàn được xây dựng dựa trên mã nguồn Xenforo.<br>
                        <br>
                        Diễn đàn đang trong giai đoạn hoat động thử nghiệm, sau khi hoàn tất quá trình sẽ xin giấy phép hoạt động!.
                        <br>
                        ZShareVN! Thank you: <a href="http://vxf.vn/members/minh-bao.2088/" target="_blank">Minh Bảo On VXF</a> | <a href="http://vxf.vn/members/bcat9505.19512/" target="_blank">Bcat9505 On VXF</a> | <a href="http://vxf.vn/members/kc2t-tomo18.4934/" target="_blank">KC2T.TòMò18+ On VXF</a> | and more. Helped complete ZShareVN.
                    </p>
                       
                </div>
        </section>
      </footer>
      <a href="/#" title="Back to top" class="back-to-top">↑ Back to Top</a>
            <script>           
                jQuery(document).ready(function() {
                    var offset = 220;
                    var duration = 500;
                    jQuery(window).scroll(function() {
                        if (jQuery(this).scrollTop() > offset) {
                            jQuery('.back-to-top').fadeIn(duration);
                        } else {
                            jQuery('.back-to-top').fadeOut(duration);
                        }
                    });
                   
                    jQuery('.back-to-top').click(function(event) {
                        event.preventDefault();
                        jQuery('html, body').animate({scrollTop: 0}, duration);
                        return false;
                    })
                });
            </script>
    Sau đó vào tiếp Template footer.css thay toàn bộ bằng:
    Mã:
    .back-to-top {
        position: fixed;
        bottom: 2em;
        right: 0px;
        text-decoration: none;
        color: #fff;
        background-color: #007F74;
        font-size: 12px;
        padding: 1em;
        display: none;
        transition: all 0.5s ease 0s;
            }
    a.back-to-top {
    
        text-decoration: none;
        color: #fff;
    
    
            }
    a.back-to-top:hover {   
        background-color: rgba(135, 135, 135, 0.50);
        text-decoration: none;
            }   
    .websiteFooter {
        width: 100%;
        -float: left;
        clear: both;
        background: none repeat scroll 0% 0% #384452;
        transition: all 0.5s ease 0s;
        border-top: 4px solid #03AAAA;
    }
    .websiteFooter .footerContent:after {
        clear: both;
    }
    .websiteFooter .footerContent:before, .websiteFooter .footerContent:after {
        content: " ";
        display: table;
    }
    .websiteFooter .footerContent {
        margin: 0px auto;
        width: 100%;
        max-width: 980px;
        padding: 40px 0px 10px 0px;
    }
    .websiteFooter .footerContent .shortInfo {
        float: left;
        width: 180px;
        -font-family: "museo-sans",sans-serif;
        color: #687788;
        line-height: 1.35em;
    }
    .shortInfo h4 {
        -font-family: "Droid Sans",Arial,"Times New Roman",Times,serif;
        font-weight: 700;
        text-transform: capitalize;
        text-shadow: -1px -1px #050D16;
        color: #ECECEC;
        font-size: 1.45em;
        margin: 0px 0px 5px 0px;
    }
    .websiteFooter .footerContent a:hover {
        color: #fff;
        -font-weight: 700;
        text-decoration: none;
    }
    .websiteFooter .footerContent a {
        color: #999;
        font-size: 11px;
        -font-weight: 700;
        text-decoration: none;
        -padding-left: 4px;
        transition: all 0.25s ease 0s;
    }
    .websiteFooter .footerContent .socialIcons {
        float: right;
        -width: 50%;
    }
    ol, ul {
        list-style: none outside none;
    }
    .websiteFooter .footerContent .socialIcons li {
        float: right;
        margin: 0px 0px 0px 10px;
    }
    .websiteFooter .footerContent .socialIcons li a {
        float: left;
        display: block;
        height: 100%;
    }
    .websiteFooter .footerContent .socialIcons li a .icon {
        -border-radius: 80px;
        font-size: 30px;
        border: 2px solid #272F38;
        text-align: center;
        padding: 18px;
        float: left;
        display: block;
        color: #FFF;
        background: none repeat scroll 0% 0% #272F38;
        transition: all 0.25s ease 0s;
        text-decoration: none;
    }
    .websiteFooter .footerContent .socialIcons li:hover .icon {
        border: 2px solid #FFF;
    }
    .footer-row2 {
        border-top: 1px solid #1F1F1F;
        padding: 10px 0px;
        width: 980px;
        margin: 10px auto;
        float: left;
    }
    .footer-row2 p.disclaimer {
        display: block;
        font-size: 0.9em;
        -width: 450px;
        line-height: 1.25em;
        color: #999;
        float: left;
        padding-bottom: 20px;
    }
    .footer-row2 p.disclaimer:hover {
    color: #fff;
    }
    .footer-row2 p.endofpage-btt {
        display: block;
        float: right;
    }
    .border-2 {
        border-right: 1px solid #d1d1d1;
        margin-right: 10px;
        }
    Cuối cùng muốn sửa gì thì template footer tìm và sửa hoặc thêm text link nha bạn.
    Demo thì xem dưới chữ ký.
     
    htv1810 thích bài này.
  6. htv1810

    htv1810 New Member

    Bài viết:
    40
    Likes :
    1
    Cảm ơn anh.Mấy cái class facebook,yahoo,google...add ở đâu a?

     
  7. piggy001

    piggy001 Member

    Bài viết:
    129
    Likes :
    44
    Bạn add chưa? ghi ở trên là thay toàn bộ trong footer.css
     
    htv1810 thích bài này.
  8. htv1810

    htv1810 New Member

    Bài viết:
    40
    Likes :
    1
    e thay toàn bộ rồi a
     
  9. vbt.dongnguyen

    vbt.dongnguyen Member

    Bài viết:
    180
    Likes :
    102
    Chết quên bạn thêm đoạn srcipt này vào PAGE_CONTAINER nhé:
    Mã:
    <link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
     
    htv1810 thích bài này.
  10. htv1810

    htv1810 New Member

    Bài viết:
    40
    Likes :
    1
    Done rồi anh.Thanks!
     
  11. vbt.dongnguyen

    vbt.dongnguyen Member

    Bài viết:
    180
    Likes :
    102
    Vâng!, bạn muốn chỉnh sửa gì cho phù hợp web của bạn thì hỏi trong này luôn nhé, mình sẽ nhờ @Bcat9505 giúp bạn =))
     
    htv1810 and Bcat9505 like this.
  12. Bcat9505

    Bcat9505 Moderator Staff Member

    Bài viết:
    1,335
    Likes :
    494
    ac, có tốt đẹp hay giỏi gì đâu
     
    htv1810 thích bài này.
comments powered by Disqus

Chia sẻ trang này

Đang tải...