Syntax Highlighter Element

A Great Way To Show Off Your Code

Buy Avada
Discover More
Prebuilt Websites

Highly Flexible

The Syntax Highlighter Element is our solution that allows you to provide code snippets in a variety of different languages in a copiable, embeddable format directly on your website. Aside from the 4 pre-set style options, it comes with several customization options to control all colours, borders, text, line wrapping, code copying and more.

Copy to Clipboard

Premade Syntax Highlighting Styles

The syntax highlighting element comes with four pre-set visual styles to choose from to suit most if not all websites “look and feel”. There are two light themes and two dark themes to choose from.

Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard

Select Your Code Language

Do you want a bit more control over your highlighted syntax on your website? The syntax highlighting element lets you select the code language you are using.

Code Line Control Options

Choose if your code shows line numbers next to it or not, and with our Line Wrapping option you can choose if lines of code continue with a horizontal scroll bar or break into a new line so no scrolling is needed.

With Line Numbers

Copy to Clipboard

Without Line Numbers

Copy to Clipboard

With Horizontal Scroll

Copy to Clipboard

Without Horizontal Scroll

Copy to Clipboard

Copy to Clipboard Option For Easy Code Sharing

Do you want to share your code with your visitor? The Syntax Highlighter “Copy to Clipboard” option makes it so easy! Share an add banner, call to action, widget or other code with your visitors to embed on their own website! This option sits neatly in the top right corner of the box and with just a click it will copy the entire block of code. You can even customize what it says or disable this option entirely.

Copy to Clipboard

Custom Styling

We offer several customization options that allow you to control exactly how your code & block look. You can control the overall font size of the code, the border size, color and style of the entire box, the background color of the box, overall margins and even the line number text and background color. Make it yours!

Example 1

Copy to Clipboard

Example 2

Copy to Clipboard

Example 3

Copy to Clipboard

The Avada: Website Builder


The Avada Website Builder gives you the ability to design and build any layouts for your Avada website. Choose to customize the Footer, single posts, Portfolio posts, archives, search results, and more. With the power of Layouts, Layout Sections, Conditional Logic, Layout Section Elements, and Avada’s massive range of Design Elements, the sky is the limit. Custom design a global footer or only apply the custom Footer to a single page or post.


Mobile Visibility Settings

Our mobile visibility system gives you full control over what displays based on 3 customizable screen sizes. Every Fusion Builder Element has these settings and they allow you to show or hide elements on various screen sizes. In addition, you can choose what those screen sizes are! This gives you maximum control to set the exact point when an element should show or hide. Resize the page to see the elements appear or disappear based on what we set.

Only Display on Desktop


Only Display on Tablet


Only Display on Mobile


Display Everywhere


Advanced Options Network

Theme Options are global, Page Options are individual to the page, and Element Options are specific to the particular element and can over-ride the Theme Options entirely. This setup gives you amazing creative flexibility that becomes indispensable when you start creating your site. Having the option to freely choose how your entire site, individual pages and specific elements are styled is an incredible freedom.


The #1 Selling WordPress Theme Of All Time


Individuals & Businesses Trust Avada


Documentation & Videos

We have a wide range of support material to suit your learning style. Our documentation is extensive and growing. There are almost 500 documents, where you can search and read about almost any aspect of Avada. Prefer to watch? We have a growing library of HD video tutorials covering the basics and much, much more. Like to engage? Submit a support ticket, join our Community Forum, or engage with other users on the community run Facebook Avada Users Group.


Start Searching

Video Tutorials

Start Watching

Need Support?

Start Engaging

Customize Elements Globally Or Individually

Elements can be controlled globally inside of the Fusion Theme Options, or individually per Element by changing the options for each once added to a page or post. Individual Element options will always override the global theme options. This flexibility gives you the ultimate freedom to style Elements and content that is unique and will stand out from the rest of the site.


  • Code to Highlight – Set the Code to Highlight.
  • Highlighter Theme – Choose from Default, Light 1, Light 2, Dark 1, Dark 2.
  • Code Language – Choose from bash, css, conf, diff, html, htm http, javascript, json, jsx, less, md, patch, php, phtml, sass, scss, sql, svg, txt, xml, yaml, yml.
  • Line Numbers – Choose to show Line Numbers.
  • Line Wrapping – Choose to set Line Wrapping to Scroll or Break.
  • Copy to Clipboard – Choose to enable Copy to Clipboard button.
  • Copy to Clipboard Text – Set the Text for the Copy to Clipboard button.
  • Element Visibility – Choose to show or hide the element on small, medium or large screens.

  • CSS Class – Add a class to the wrapping HTML element.

  • CSS ID – Add an ID to the wrapping HTML element.


  • Font Size – Set the Font Size.
  • Border Size – Set the Border Size.
  • Border Color – Set the Border Color.
  • Border Style – Set the Style of Border: Default, Solid, Dashed, Dotted.

  • Background Color – Set the Background Color.

  • Line Number Background Color – Set the Background Color for Line Numbers.

  • Line Number Text Color – Set the Color for Line Number Text.

  • Margin – Set the Margin: Top, Left, Bottom, Right.