Support » Fixing WordPress » How to change font colour in side bar

  • Hi, I know this topic has been discussed in many other threats, but I’m unsure how to apply it to my site? I would like to change the font colour of the recent post showing in my side-bar (it links to the post). Currently it is a light grey which is very hard to see. I want to change it to black.
    I have tried changing colour coding in the CSS file and it didn’t have any effect. I also looked at the sidebar coding, but couldn’t find any colour codes there. Please see below the coding of the current sidebar.

    I really appreciate the help.

    <div id="sidebar">
    	<?php themezee_widgets_before(); // hook before sidebar widgets ?>
    	if(is_page() && is_active_sidebar('sidebar-pages')) : dynamic_sidebar('sidebar-pages');
        elseif(is_active_sidebar('sidebar-blog')) : dynamic_sidebar('sidebar-blog');
    else : ?>
    	<?php wp_list_categories('title_li=<h2 class="widgettitle">Categories</h2>'); ?>
    	<?php wp_list_pages('title_li=<h2 class="widgettitle">Pages</h2>'); ?>
    <li><h2 class="widgettitle"><?php _e('Archives', 'themezee_lang'); ?></h2>
    		<?php wp_get_archives(); ?>
    <?php endif; ?>
    	<?php themezee_widgets_after(); // hook after sidebar widgets ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

  • The topic ‘How to change font colour in side bar’ is closed to new replies.