We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toolbar icons not showing

Thread ID:





151258 Feb 5,2020 09:59 AM UTC Feb 6,2020 09:35 AM UTC Angular - EJ 2 1
Tags: Toolbar
Alain dEspaignet
Asked On February 5, 2020 09:59 AM UTC

I picked this straight from a sample

    <e-item text='Cut' prefixIcon = 'e-cut-icon'></e-item>
    <e-item text='Copy' prefixIcon = 'e-copy-icon'></e-item>
    <e-item text='Paste' prefixIcon = 'e-paste-icon'></e-item>
    <e-item type='Separator'></e-item>
    <e-item text='Undo' prefixIcon = 'e-bold-icon'></e-item>
    <e-item text='Redo' prefixIcon = 'e-underline-icon'></e-item>
    <e-item text='Redo' prefixIcon = 'e-italic-icon'></e-item>
    <e-item type='Separator'></e-item>
    <e-item text='A-Z Sort' prefixIcon = 'e-ascending-icon'></e-item>
    <e-item text='Z-A Sort' prefixIcon = 'e-descending-icon'></e-item>
    <e-item text='Clear' prefixIcon = 'e-clear-icon'></e-item>

after following this procedure...

My toolbar displays but the e-* icons do not show.
Exactly what styles do I need to import on styles.css to have access to e-* named icons?
Here is what I have imported so far
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
@import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
@import '../node_modules/@syncfusion/ej2-spreadsheet/styles/material.css';

Vengatesh Maniraj [Syncfusion]
Replied On February 6, 2020 09:35 AM UTC

Hi Alain dEspaignet, 

Greetings from Syncfusion Support. 

We have checked your problem at our end. We suspect that you did not add the CSS for the toolbar icons in app.component.css file. So that, icons are not rendered in DOM. Kindly add the below style in app.component.css file and check it. 

app.component.css : 
.e-cut-icon:before { 
  content: "\e719" 
.e-copy-icon:before { 
  content: "\e721" 
.e-paste-icon:before { 
  content: "\e712" 
.e-color-icon:before { 
  content: "\e703"; 
.e-bold-icon:before { 
  content: "\e71a" 
.e-underline-icon:before { 
  content: "\e706"; 
.e-clear-icon:before { 
  content: "\e70d" 
.e-italic-icon:before { 
  content: "\e710" 
.e-ascending-icon:before { 
  content: "\e70f"; 
.e-descending-icon:before { 
  content: "\e707"; 

Please let us know if you have concerns. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon