Home Forums Bee WordPress Theme add new icons to icon box Reply To: add new icons to icon box

#2824

agenciz
Participant

hello,

i made my font with icomoon:
so i have the fonts and the css generate :

the css:
@font-face {
font-family: ‘icomoon’;
src:url(‘fonts/icomoon.eot?-nddrno’);
src:url(‘fonts/icomoon.eot?#iefix-nddrno’) format(’embedded-opentype’),
url(‘fonts/icomoon.woff?-nddrno’) format(‘woff’),
url(‘fonts/icomoon.ttf?-nddrno’) format(‘truetype’),
url(‘fonts/icomoon.svg?-nddrno#icomoon’) format(‘svg’);
font-weight: normal;
font-style: normal;
}

[class^=”icon-“], [class*=” icon-“] {
font-family: ‘icomoon’;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon-rotisserie:before {
content: “\e604”;
}
.icon-materiel-alimentaire:before {
content: “\e605”;
}
.icon-cremerie:before {
content: “\e606”;
}

i put the font folder with yours in the page-builder folder (with “font” and “font-update”).

After i put the css below here ( with the other fontface):
functions/pagebuilder/css/style.css, find class name begin with ‘s-’ ‘p-’ ‘pt-’

After i put the class “icon-rotisserie” in functions/pagebuilder/pagebuilder-modules.php with other icon classes.

Then i go to the backend on a page and i select icon box with page builder.
=> i can see my own icon => i select it => when i m come back to the front office, the icon is not display.

maybe you know how to use and insert icomoon font in your icon box…

best