Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tut] How to Increase the Font Size on the WordPress Plugin Enlighter?

#1
How to Increase the Font Size on the WordPress Plugin Enlighter?

Do you use the awesome WordPress plugin “Enlighter” to embed code in your WordPress site like this?

print('hello world!')

If you’re like me, you want to be able to customize the style (such as font size) globally—not locally for each individual code snippet.

Problem: How to increase the font size of the Enlighter WordPress plugin?

To increase the font size globally, you need to complete the following steps:

  • Open your WordPress editor.
  • Go to Appearance > Customize > CSS in your WordPress editor.
  • Copy the following snippet into your CSS file:
.enlighter-t-bootstrap4 .enlighter span{
font-size: 16px;
}

Note that you can change the font-size to 15px, 17px, or even 20px—as you like! Also note that if you use another theme/style for your embedded code than bootstrap4, you need to set the CSS selector accordingly.

For example:

.enlighter-t-wpcustom .enlighter span{
font-size: 20px;
}

This would change the font size of all Enlighter code environments that use the custom theme.

Here’s how this may look in practice:

Enlighter change font size WordPress bloghttps://blog.finxter.com/wp-content/uplo...00x142.png 300w, https://blog.finxter.com/wp-content/uplo...68x364.png 768w, https://blog.finxter.com/wp-content/uplo...36x728.png 1536w, https://blog.finxter.com/wp-content/uplo...150x71.png 150w" sizes="(max-width: 1024px) 100vw, 1024px" />

Ah, yes—if you want to learn Python, don’t forget to download our free cheat sheets: ?

The post How to Increase the Font Size on the WordPress Plugin Enlighter? first appeared on Finxter.



https://www.sickgaming.net/blog/2020/11/...enlighter/
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tut] How to Create a Python List of Size n? xSicKxBot 0 141 07-06-2020, 12:09 PM
Last Post: xSicKxBot

Forum Jump:

[-]
Active Threads
Microsoft - How tech can support secure,...
Last Post: xSicKxBot
Today 03:11 AM
» Replies: 0
» Views: 0
Fedora - Getting started with Stratis – ...
Last Post: xSicKxBot
Today 03:11 AM
» Replies: 0
» Views: 0
News - DOOM Eternal Blasts To Switch In ...
Last Post: xSicKxBot
Today 03:11 AM
» Replies: 0
» Views: 0
News - A “Premium” Set Of Poké Ball Repl...
Last Post: xSicKxBot
Today 03:11 AM
» Replies: 0
» Views: 1
News - This $100 Poke Ball Replica Defin...
Last Post: xSicKxBot
Today 03:10 AM
» Replies: 0
» Views: 1
[Tut] list.clear() vs New List — Why Cle...
Last Post: xSicKxBot
Yesterday 09:53 PM
» Replies: 0
» Views: 3
News - Poll: Box Art Brawl: Duel #69 – T...
Last Post: xSicKxBot
Yesterday 09:10 PM
» Replies: 0
» Views: 3
News - Video: The Nintendo Life Holiday ...
Last Post: xSicKxBot
Yesterday 09:10 PM
» Replies: 0
» Views: 3
News - Darth Vader Actor David Prowse Pa...
Last Post: xSicKxBot
Yesterday 09:09 PM
» Replies: 0
» Views: 5
(Indie Deal) FREE Brigade E5, Big Bandai...
Last Post: xSicKxBot
Yesterday 07:40 PM
» Replies: 0
» Views: 3

[-]
Twitter

[-]
Sponsored
Get the Deal of the Week at RefurBees.com

Copyright © SickGaming.net 2012-2020