Reply To: Code Block Syntax Highlighter

Home Forums Iconic One Pro Support Code Block Syntax Highlighter Reply To: Code Block Syntax Highlighter

#6753

Hi,

No, you have to use a plugin for that.

To change base background color and styles of pre tag (code tag from blocks), use like the following in Customizer -> Additional CSS:


.entry-content pre {
    border: 1px solid #ededed;
    border-radius: 0;
    margin: 24px 0;
    background: #333333;
    padding: 24px;
    color: #ffffff;
}

You can modify as per your requirements.