Changing the background color, when clicking on text
-
Hi :) I still have a little problem with my new site’s outfit:
I would like to change the color, which comes at text’s background, when clicking on text. Now text’s background turns yellow, but I prefer the background turning blue (OR if possible, text turning white on blue background, when clicking on text). :)
https://vauvavuosi.fi/otayhteytta/
The blog I need help with is: (visible only to logged in users)
-
Hi senniloikala
Hi :) I still have a little problem with my new site’s outfit:
I would like to change the color, which comes at text’s background, when clicking on text. Now text’s background turns yellow, but I prefer the background turning blue (
To just turn that selection to blue then please add the below custom CSS code
::selection { background: blue; color:#000; }(OR if possible, text turning white on blue background, when clicking on text). :)
– To change the background color first add the code below:
.entry-content { background: blue; }And then to change its selection background to white add this code:
::selection { background: white; color:#000; }Additionally, Custom CSS can only be added if you are under premium or business plans. To know more about how to add custom CSS here is the support document for that:
https://en.support.wordpress.com/custom-design/editing-css/To know more about plans features and pricing please refer to support link below:
https://wordpress.com/pricing/
Hope this helps, feel free to ask if you have any doubts.
-
Also answered here: https://en.forums.wordpress.com/topic/changing-the-background-color-when-clicking-on-text?replies=2#post-3084663, which is now closed and let’s keep the discussion on this in this thread.
-
-
-
- The topic ‘Changing the background color, when clicking on text’ is closed to new replies.