• Resolved snowme

    (@snowme)


    Hi,

    You were very helpful with my last question. I thought I’d try my luck again. I selected the Dark Raindrops theme and it appears I can’t change the focus color of links. It’s always Orange. It looks like there’s an !important tag on .enable-keyboard.rd-type-dark .hfeed a:focus that’s overriding any changes I make. Is there a way around it?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author nobita

    (@nobita)

    Hi snowme

    Sorry over specificity

    Please try PHP filter.

    add functions.php (if child theme, child-theme/functions.php )

    Example, change from orange to yellow.

    <?php
    add_filter( 'raindrops_indv_css_dark', 'change_focus_color',11 );
    
    function change_focus_color( $return_value ) {
    
    	return str_replace( 'color:orange!important;', 'color:yellow!important;' , $return_value );
    }
    ?>

    Thank you.

    Thread Starter snowme

    (@snowme)

    Thanks Nobita! That worked great. Don’t worry about it. I know how difficult building a theme that meets everyones needs can be. You’re doing a great job. Keep up the good work.

    Thread Starter snowme

    (@snowme)

    Problem solved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Link Focus Color’ is closed to new replies.