Avatar of GeorgeTowers
GeorgeTowers
 asked on

Bootstrap Glyphicons and theme for wordpress

Hi,

I'm developing a theme for wordpress and I'm trying to use the Glyphicons that comes with Bootstrap but I can't make it work, I have tried many things without succeed.

I'm using bootstrap 3.3.7 with sass, my fonts folder is theme_name/fonts/bootstrap/....
My css file is in the root of my theme folder,
The Glyphicons path on the css is showing  src: url(/fonts/bootstrap/glyphicons-xxx.....

I would appreciate any help.

Thanks
WordPressCSSPHPBootstrapWeb Frameworks

Avatar of undefined
Last Comment
Prasadh Baapaat

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Prasadh Baapaat

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
GeorgeTowers

ASKER
I tried change the path from _bootstrap-variables.scss but it didn't worked, I overwrites the path to the fonts copying it to my root css and now is working.

Thanks
Prasadh Baapaat

great :)
Julian Hansen

View your source file
Click on the links to the fonts and see if it loads.
Failing that post your rendered output.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Prasadh Baapaat

its a good solution