網站搭建完畢發現一個問題,H 標籤異常

正在檢視 6 個帖子:11-16 (共 16 個帖子)
  • 作者
    帖子
  • 張 衛家
    • 文章數量: 17
    初來乍到
    發帖數:14
    樓主
    @huanluo

    唉,愁人。字號修改 CSS 無效,同樣都是文章的題目同樣的主題

    <h1 class=”post-title entry-title”> 薇曉朵網路工作室未來發展及 2017 年業務重心調整</h1>  貴站的程式碼

    <h1 class=”post-title entry-title fittexted_for_single_post_title” style=”font-size: 41.92px;”> 撰寫新文章</h1> 我站的程式碼

    不知道這多出來的樣式是哪來的,換其他主題正常,外掛全部關閉,都這個情況

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    @feibisi

    你這麼一說,還真是,看下主題設定是不是有什麼問題,我們是下面:

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    @feibisi

    我們自己部落格子主題的 CSS 程式碼樣式,這個不要全部複製到你站點,不然很多東西會別覆蓋掉,參考下就行。

    /*
    Theme Name: Hueman &ndash; Wei
    Theme URI: https://www.weixiaoduo.com/themes/hueman
    Template: hueman
    Author: 薇曉朵網路工作室
    Author URI: https://www.weixiaoduo.com/
    Description: Hueman 是一款響應式部落格,新聞雜誌主題。頂部有兩個選單,均支援三級選單。頁尾小工具,擁有左右兩個側邊欄。設計的顏色比較暗,但非常豐富,很容易讓人找到內容。另外中文版已增加 bbPress 論壇支援。
    Version: 1.0.3
    Updated: 2017-6-15 18:33:04
    */
    @import url("../hueman/style.css");
    
    /* ------------------------------------------------------------------------- *
     *  Theme customization starts here
    /* ------------------------------------------------------------------------- */
    
    /* Global */
    .mystyle {}
    
    /* Tablet - 800px, 768px & 720px */
    @media only screen and (min-width: 720px) and (max-width: 800px) {
    	.nav li a {
    	    line-height: 30px;
    	    padding: 10px 20px!important;
    	}
    	.toggle-search {
    	    color: #a0a0a0!important;
    	}
    	#nav-topbar .nav-toggle {
    		color: #a0a0a0!important;
    	}
    	#nav-topbar .nav li.current-menu-item>a, #nav-topbar .nav li.current-post-parent>a, #nav-topbar .nav li.current_page_item>a, #nav-topbar .nav li>a:hover {
        background: rgb(240, 240, 240);
    	}
    }
    
    @media only screen and (min-width: 720px) {
    #nav-topbar.desktop-sticky {
        height: 60px;
        overflow: hidden;
    }
    }
    
    /* Mobile - 480px & 320px */
    @media only screen and (max-width: 719px) {
    	.nav li a {
    	    line-height: 30px;
    	    padding: 10px 20px!important;
    	}
    	.sidebar-content {
    	    display: none;
    	}
    	.toggle-search {
    	    color: #a0a0a0!important;
    	}
    	#nav-topbar .nav-toggle {
    		color: #a0a0a0!important;
    	}
    	#nav-topbar .nav li.current-menu-item>a, #nav-topbar .nav li.current-post-parent>a, #nav-topbar .nav li.current_page_item>a, #nav-topbar .nav li>a:hover {
        background: rgb(240, 240, 240);
    	}
    }
    
    /* Mobile - 320px */
    @media only screen and (max-width: 479px) {
    	.mystyle {}
    }
    
    /* ------------------------------------------------------------------------- *
     * WordPress 主題 薇曉朵中文最佳化專案 https://www.weixiaoduo.com
    /* ------------------------------------------------------------------------- */
    
    body {
        font-family: PingFang SC,Microsoft YaHei,WenQuanYi Micro Hei,Arial,sans-serif;
    		font-weight: 400;
    }
    
    .search-expand, #nav-topbar.nav-container {
        background-color: #ffffff!important;
    }
    
    #header {
        background: rgba(255, 255, 255, 0);
    }
    
    #header .pad {
        padding-top: 60px;
        padding-bottom: 40px;
        padding: 60px 0px 40px;
    }
    
    .is-scrolled #header .sticky-visible {
        -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.15);
        box-shadow: 0 0 5px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.15);
    }
    
    .is-scrolled #nav-topbar.desktop-sticky .nav ul {
        background-color: rgb(255, 255, 255);
    }
    
    h3.widget-title {
        font-size: 18px;
        font-weight: 400;
    }
    a.rsswidget {
        display: block;
        color: #777777!important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .post-title a:hover {
        border-bottom: 1px solid #d93d2e;
    }
    
    .entry p a:hover {
        border-bottom: 1px solid #d93d2e;
    }
    
    .widget a:hover {
        border-bottom: 1px solid #d93d2e;
    }
    
    .entry {
        font-size: 15px;
    }
    
    .entry p {
        letter-spacing: 0.5px;
        line-height: 2em;
        color: #747474;
        line-height: 1.7em;
        font-weight: 400;
        -webkit-font-smoothing: antialiased;
    }
    
    .entry img {
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 4px rgba(0,0,0,.1);
        -moz-box-shadow: 0 0 4px rgba(0,0,0,.1);
        box-shadow: 0 0 4px rgba(0,0,0,.1);
    }
    .post-thumbnail img {
        border: 1px solid #f2f2f2;
    }
    
    .entry ol ul li, .entry ul li {
        list-style: square;
        line-height: 2.2em;
    }
    
    .related-posts .post {
        margin-right: 12px;
        margin-bottom: 12px;
    }
    .featured .post-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .entry-inner {
        padding: 25px;
    }
    
    .alx-posts .post-item-title, .alx-tab .tab-item-comment, .alx-tab .tab-item-title {
        font-size: 14px;
    }
    
    #footer-bottom .social-links .social-tooltip {
        font-size: 20px;
    }
    
    #footer .alx-posts .post-item-title, .s1 .alx-posts .post-item-title {
        font-size: 1.0em;
        font-weight: 400;
        word-wrap: break-word;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .post-byline, .post-meta, .post-nav li a strong, .sharrre-container span {
        text-transform: none;
    }
    
    .post-meta .post-date {
        display: none;
    }
    .post-meta .post-category {
        float: left;
        margin-right: 6px;
        display: inline-block;
        padding: 3px 6px;
        color: #9aabb8;
        line-height: 1;
        text-decoration: none;
        background-color: #f5f5f5;
        border-radius: 2px;
    }
    
    .post-meta .post-category a{
        color: #9aabb8;
    }
    .post-meta .post-category a:hover {
        color: #ffffff;
    		padding: 3px 6px;
        line-height: 1;
        text-decoration: none;
        background-color: #d93d2e;
        border-radius: 2px;
    }
    
    .pagination a {
        font-size: 16px;
    }
    
    #footer-bottom #copyright, #footer-bottom #credit {
        color: #fff;
        color: rgba(255,255,255,0.5);
        font-size: 12px;
        line-height: 1.5em;
    }
    
    .featured .post-title {
        font-size: 20px;
        letter-spacing: -0.7px;
        line-height: 1.4em;
    }
    
    .single .post-title {
        font-size: 30px;
        letter-spacing: -1px;
        line-height: 1.3em;
    }
    
    .single .related-posts .post-title {
        font-weight: 400;
    }
    
    .post-title {
        color: #444;
        font-weight: normal;
        margin-bottom: 10px;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.5em;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .comment-tabs li a {
        display: none;
    }
    
    .page-title a:hover {
        color: #ffffff;
        background-color: #d93d2e;
        text-decoration: none;
    }
    
    .page-title a {
        background-color: #a0a0a0;
        padding: 3px 10px;
        font-weight: 400;
        color: white;
        border-radius: 2px;
    }
    .site-title {
        font-size: 33px;
        font-weight: 600;
        letter-spacing: -0.5px;
        float: left;
        line-height: 60px;
        padding: 10px 0;
    }
    .nav>li {
        font-size: 14px!important;
    }
    .nav>li>a {
        padding: 20px 15px;
    }
    
    .nav ul {
        top: 60px;
    }
    
    #nav-topbar .nav>li:hover>a, #nav-topbar .nav>li>a:hover {
        background-color: #ffffff;
    }
    
    #nav-topbar .nav ul {
        background: #f0f0f0;
    }
    
    #nav-topbar .nav li.current-menu-ancestor>a, #nav-topbar .nav li.current-menu-item>a, #nav-topbar .nav li.current-post-parent>a, #nav-topbar .nav li.current_page_item>a, #nav-topbar .nav li:hover>a, #nav-topbar .nav li>a:hover {
        color: #d93d2e;
    }
    
    #nav-topbar .nav li a {
        color: #848b8e;
        text-decoration: none;
    }
    
    .toggle-search {
        color: #a0a0a0;
        padding: 5px 20px;
    }
    .toggle-search.active, .toggle-search:hover {
        background: #d93d2e;
        color: #fff;
    }
    .search-expand-inner {
        background: rgb(255, 255, 255);
        padding: 15px;
    }
    #footer-bottom #copyright, #footer-bottom #credit {
        color: #999999;
    }
    
    #footer-bottom .social-links {
        display: none;
    }
    
    li#wp-admin-bar-my-sites {
        display: none;
    }
    li#wp-admin-bar-wpseo-menu {
        display: none;
    }
    li#wp-admin-bar-delete-cache {
        display: none;
    }
    
    li#wp-admin-bar-updates {
        display: none!important;
    }
    li#wp-admin-bar-new-user {
        display: none;
    }
    ul#wp-admin-bar-wp-logo-default {
        display: none;
    }
    #wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
        display: none;
    }
    張 衛家
    • 文章數量: 17
    初來乍到
    發帖數:14
    樓主
    @huanluo

    找到問題了,是這個主題的問題,而今天主題已經修復這個問題了,我把主題更新了一下就正常了

    https://presscustomizr.com/release-note-for-hueman-pro-v1-0-10-and-hueman-free-v3-3-13/  官方修復頁面

    詩語
    管理員
    • 文章數量: 5,942
    發帖數:9997
    @feibisi

    正想問有沒有更新主題,問題解決了就好。

    張 衛家
    • 文章數量: 17
    初來乍到
    發帖數:14
    樓主
    @huanluo

    給你們添麻煩了。真不好意思。為你們的響應時間點贊,難得!

正在檢視 6 個帖子:11-16 (共 16 個帖子)
  • 話題 「網站搭建完畢發現一個問題,H 標籤異常」 已關閉,不接受新回覆。

話題資訊