1. Home
  2. Knowledge Base
  3. WP Optin Wheel
  4. Code snippets
  5. Changing the font size on slices

Changing the font size on slices

Per default, WP Optin Wheel takes over the font size of the container it is included in. Usually that’s your theme’s standard font size of 16px. If you’d like to change that font to something smaller or bigger, you can do so with a small CSS code snippet. Navigat to Appearance → Customize → Additional CSS and add the following snippet:

Please supply your license key to unlock the code

Since this is a custom-coded snippet, we kindly ask for your license key so our system can verify your purchase.

You can freely change 12px in the snippet above to anything smaller or larger, depending on your needs.

Want to keep the font size as is on desktop but make it smaller on mobile? Here’s the snippet to do that:

Only changing the font size on mobile devices

Please supply your license key to unlock the code

Since this is a custom-coded snippet, we kindly ask for your license key so our system can verify your purchase.

Again, you can freely change 12px in the snippet above to anything smaller or larger, depending on your needs.

Was this article helpful?

Related Articles