0

目前在我的页面上,博客文章都有白色文本,这正是我想要的。当我从主站点点击进入特定博客帖子的帖子时,标题颜色和链接颜色会发生变化(参见链接)。我的网站已上线,需要帮助确定是否可以修复此问题。

我该如何解决这个问题,使它们像在主博客滚动页面上一样保持白色......</p>

例子:

主要:www.trinitybeats.com

具体发帖:http ://www.trinitybeats.com/archie-horizo​​n-original-mix/ (注意标题颜色和链接颜色)

这是特定于博客格式的代码:

 <div class="hentry-inner">

<div class="entry-wrapper grids">

    <?php get_template_part('content', 'meta'); ?>

    <div class="entry-content grid-10 clearfix">

        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'stag'), get_the_title()); ?>"> <?php the_title(); ?></a></h2>

        <?php

        if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
            the_post_thumbnail();
        }

        the_content(__('Continue Reading', 'stag'));

        wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'stag').'</strong> ',   'after' => '</p>', 'next_or_number' => 'number'));

        $embed = get_post_meta(get_the_ID(), '_stag_audio_embed', true);

        if(!empty($embed)){
            echo do_shortcode(htmlspecialchars_decode($embed));
        }else{
            stag_audio_player(get_the_ID());
        }

        ?>

    </div>
    <span class="bottom-accent"></span>
</div>

在进入特定博客页面时,我可以修复此代码中的任何内容以保持字体颜色为白色?

谢谢!

4

1 回答 1

0

Your problem hs nothing to do with wordpress, its rather a css issue ..

You can add following code snippet in your theme's style.css hope this would work for you ..

.entry-title a {
    color:#ffffff!important;
}

.entry-title a:active {
    color:#ffffff!important;
}
.entry-title a:focus {
    color:#ffffff!important;
}

for the link part on line no 129 replace this piece of your code :

.single-format-audio .entry-content a {
    border-bottom: 1px solid #FFFFFF;

}

with this

.single-format-audio .entry-content a {
        border-bottom: 1px solid #FFFFFF;
        color:white!important;

    }
于 2013-10-07T03:18:11.150 回答