WordPress.org

Forums

How to change font colour in side bar (1 post)

  1. Marinda333
    Member
    Posted 1 year ago #

    Hi, I know this topic has been discussed in many other threats, but I'm unsure how to apply it to my site? http://www.crossfitkwagga.co.za/ 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 ?>
    
    <ul>
    <?php
    	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>
    <ul>
    		<?php wp_get_archives(); ?>
    		</ul>
    </li>
    <?php endif; ?>
    
    </ul>
    	<?php themezee_widgets_after(); // hook after sidebar widgets ?>
    </div>

    [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.]

Topic Closed

This topic has been closed to new replies.

About this Topic