Dr.CustUmz
05-05-2014, 10:59 AM
this is in regards to my addon font awesome (https://vborg.vbsupport.ru/showthread.php?t=311049)
I'm trying to add the stylesheet to the admincp so i can use that font inside (like in my options)
I have tried adding:
@import url('../../font-awesome/css/font-awesome.min.css');
to the beginning of my control panels css file (controlpanel.css)
and I have tried adding:
<link rel=\"stylesheet\" type=\"text/css\" href=\"../font-awesome/css/font-awesome.min.css\" />
inside of includes/adminfunctions.php along with a few other files, including admincp/options.php
although i cant seem to get the icons to show up if i use them in my product xml for example
<phrase name="setting_drc_rb_gst_msg_title" date="" username="DrCustUmz" version="1"><![CDATA[<i class="fa-li fa fa-check-square"></i> Welcome Message]]></phrase>
not exactly how i want to use it but something like that.
i want to be able to use the icons in my product files, then say the product has options, in the settings i could use the icons anywhere.
or anywhere else in the admincp for that matter
I'm trying to add the stylesheet to the admincp so i can use that font inside (like in my options)
I have tried adding:
@import url('../../font-awesome/css/font-awesome.min.css');
to the beginning of my control panels css file (controlpanel.css)
and I have tried adding:
<link rel=\"stylesheet\" type=\"text/css\" href=\"../font-awesome/css/font-awesome.min.css\" />
inside of includes/adminfunctions.php along with a few other files, including admincp/options.php
although i cant seem to get the icons to show up if i use them in my product xml for example
<phrase name="setting_drc_rb_gst_msg_title" date="" username="DrCustUmz" version="1"><![CDATA[<i class="fa-li fa fa-check-square"></i> Welcome Message]]></phrase>
not exactly how i want to use it but something like that.
i want to be able to use the icons in my product files, then say the product has options, in the settings i could use the icons anywhere.
or anywhere else in the admincp for that matter