So yeah, the difference is in the details, and if we ever to customize our site's limits when offering a uniform design experience to our visitors.
To top it of personalization and consistent design , Brian Gardner encourages us to "tune" the background color that is decorated with the text to select it when visiting our WordPress.
The idea is that, using CSS , that color is in the palette of our design, and not the default color visitor system. How do you do?, Well simple, just add a new class to your CSS style sheet , usually named style.css and located in the active theme folder where, within the section of the body , add the following:
In the example, the hexadecimal code for the color ( # ff6200 ) is a beautiful orange color, you must change to fit your design.
The selector :: selection is supported by IE9 +, Opera, Google Chrome and Safari. The other selector, ::-moz-selection is that Firefox supports, hence we have to add both.
Did you like the trick?, Are you going to incorporate into your WordPress?
0 comments:
Post a Comment