WordPress.org

Ready to get started?Download WordPress

Forums

Blaskan
[resolved] Changing the text selection color (3 posts)

  1. vjarvelainen
    Member
    Posted 2 years ago #

    When I'm highlighting text, it shows a custom background color #2e6eb0. I'd like the selected text appear as normal, without any fancy custom colors. There seems to be no effect when trying to make changes to the following:

    ::-moz-selection {
    	background: #2e6eb0;
    	color: #fff;
    	text-shadow: none;
    }
    
    ::selection {
    	background: #2e6eb0;
    	color: #fff;
    	text-shadow: none;
    }

    What should I do?

    http://wordpress.org/extend/themes/blaskan/

  2. Pothi
    Member
    Posted 2 years ago #

    If you do not want any fancy colors, please remove those lines. Please remember to save your style.css file and please remember to clear the browser cache to see any changes.

    In my site, I use a custom color (#f47a94) instead of default (#2e6eb0), it works fine.

  3. vjarvelainen
    Member
    Posted 2 years ago #

    That helped. Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags