Need help coding something, or finding code
-
I have a theme called iFeature and in this theme’s options is where you choose Font Type and Color. There are a few places on my site that I would like to be able to override this font or color like in the Footer.
I see in the footer-hooks.php file:
function cyberchimps_footer_credit() { ?> <div class="container-full-width" id="after_footer"> <div class="container"> <div class="container-fluid"> <footer class="site-footer row-fluid"> <div class="span6"> <div id="credit"> <?php if ( cyberchimps_get_option( 'footer_cyberchimps_link', 1 ) == '1'): ?> <a href="http://www.solavei.com/4gcell4less" target="_blank" title="Solavei Wireless Service - It Can Be Free!"> <img class="cc-credit-logo" src="<?php echo get_template_directory_uri(); ?>/cyberchimps/lib/images/Footer.png" alt="Solavei" /> </a><?php endif; ?></div></div> <!-- Adds the afterfooter copyright area --> <div class="span6"> <?php $copyright = ( cyberchimps_get_option( 'footer_copyright_text' ) ) ? cyberchimps_get_option( 'footer_copyright_text' ) : 'CyberChimps ©'. date( 'Y' ); ?> <div id="copyright"><?php echo wp_kses( $copyright, array('a' => array('href' => array(),'title' => array()),'br' => array(),'em' => array(),'strong' => array()) ); ?> </div></div></footer><!-- row-fluid --></div> <!-- .container-fluid--></div> <!-- .container --> /div> <!-- #after_footer --> <?php }I’m just learning to code, so wondering how within this code snippet, or by going to another file and updating code there to make the Text I have entered into the admin (options) area and is represented on my page by being defined as id=”copyright” in code above, or is it ( ‘footer_copyright_text’ ) that controls this. Either way, how can I change the color of the text for just my copyright text?
In the Style.css file it references this:
.site-footer #copyright
The topic ‘Need help coding something, or finding code’ is closed to new replies.