On my website built using Joomla 4, the following works fine (it displays the whatsapp icon):
<span class="fa fa-whatsapp"> </span>
But this doesn't (trying to display the telegram icon):
<span class="fa fa-telegram"> </span>
Although the same code for displaying telegram icon works on an older site built using Joomla 3.
I observed that, on old site, the following code is present in font-awesome.css and font-awesome.min.css. So I added the same code in the new site as well but it still doesn't work (just displays a box):
.fa-telegram:before {
content: "\f2c6";
}
Any idea why is this happening?
Related
I currently have an outlook add-in using Office.js and I could not find a solution on how to open a url in the computers default browser. I looked over the Open an html page in a default browser from an add-in but none of the solutions helped me where it was indicated to open a new questions if we still have issues.
Currently I have tried to open the url like this:
<div
className={className}
onClick={() => window.open(url)}
>
{children}
</div>
and
<a
href={url}
target="_blank"
rel="noopener noreferrer"
>
{children}
</a>
Unfortunately, both of this examples opens a office dialog with the browser embedded.
The only weird issue is that on the development build, it always opened correct, but not in production. (Office 365 on windows 10)
Is there a way to open other dashboards/Reports ( saved in same server) from a report in web player.
I tried some python scripts which is used to access webpages but none of them is working in webplayer. My client want this to happen using buttons. So i prefer python scripts than HTML.
Much appreciated
Download an image of the button you want to use, like this one.
Add this image to a text area. Edit Text Area > Insert Image > (Select the downloaded image). Now you will see your "Button" image.
Edit the HTML and use href to the web page you care about. Notice the src= will already have your image name.
<a href="http://finance.yahoo.com/quotes/TIBX,Spotfire,S,Products?ltr=1&bypass=true">
<img src="ff08c65b55ab4b36acd5dacc78f03eea.png" border="0">
</a>
There isn't a parameter for phone numbers under the social contact area in the _config.yml file.
I tried to make one and then added a font awesome icon in the _includes directory but it didn't turn out the way I expected it to work.
For example on my site http://dannguyen.me I have several social icons. I would like to add a FA icon for phone number as well, but I couldn't find any good resources.
Does anyone know how to do this?
I'd try using the icon in SVG format and insert it into the HTML inline. This would allow you to target it with css as well which can be handy.
If you want to use Font Awesome you should check, which is the correct icon you want (most likely fa-phone).
You can then add the following block to your page:
<a class="social-btn" href="tel:123456" target="_blank" rel="noopener noreferrer">
<i class="fa fa-fw fa-phone"></i>
</a>
Which theme are you using? Most likely you'll have to overwrite some of the content here.
i'm trying to use Font Awesome but instead of any icons it just displays any asian signs. I downloaded font awsome to by webserver for that. I tried this in 3 different browsers (firefox, opera and chromium) but it is always the same.
A testpage can be seen here: http://2weitweitweg.de/test.html
And here is a screenshot of it: http://postimg.org/image/9yh5p0p97/
Does it show the signs in your browser? Is the problem browser- or server-related? How can i fix it?
bye
I had this problem and it was because I was using old html with a new fontawesome version.
I fixed it by changing:
<i class="fa-bitbucket"></i>
to:
<i class="fa fa-bitbucket"></i>
I.e. I just had to add the default fa class to the element.
The latest version uses the fa prefix but for you, I guess it might be icon instead.
Hope this helps someone out at some stage :-)
Most likely the actual font files are not being found. If you look in the font awesome CSS file you will probably see something like:
#font-face {
font-family: 'FontAwesome';
src: url('../font/fontawesome-webfont.eot');
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
[...etc]
This expects to find the font files in a folder called font at the same level that the CSS file is in. For example:
myproject / css
/ font-awesome.css
[...etc]
/ font
/ fontawesome-webfont.eot
[...etc]
If the files are in the correct place it is possible that they are not being loaded because of some problem with permissions or even that you have are using a strange browser that does not properly support #font-face. Of course you can rule out the latter by browsing to the font awesome examples page to see if it displays the icons properly.
Hope I'm not too late, something on your server isn't configured properly, solution is to allow *.woff and *.tff to be requested like static resources just like you do with *.css and *.js, this is done differently depending on platform:
What I did to make it work:
Replaced your stylesheet with (since we can't get to resources):
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.1/css/font-awesome.css" rel="stylesheet">
And replaced your old icon-* classes, for example:
<i class="fa-umbrella fa text-error"></i>
And now it works:
If you using 4.0 or later, they've changed the icon classes to fa classes
So your code should say
<i class="fa fa-camera-retro fa-large"></i>
instead of
<i class="icon icon-camera-retro icon-large"></i>
You can find icon, specific code examples by visiting http://fontawesome.io/icons/ and clicking/tapping the icon you need.
I had this same issue when upgrading from 3.2 to 4.0.3
Run the below command
npx react-native link react-native-vector-icons
Using fontawesone 5.15.1 I had to do this to get the Linux icon to show up:
<i class="fab fa-linux icon"></i>
IMPORTANT: using "fab" instead of "fa" as Linux is considered a "brand".
Using jQuery add role alert in #div1, read #div2 content even if it is hidden for JAWS.
<div id="div1">
some content
<div id="div2" aria-hidden="true">
some content 2 for div
</div>
</div>
Support for the aria-hidden attribute was added to JAWS in their 13.0.718 update (February 2012). See the full change log below:
http://www.freedomscientific.com/downloads/jaws/JAWS13-previous-enhancements.asp.
JAWS now recognizes the aria-hidden attribute so that text that is
supposed to be hidden is no longer announced.
It seems to work for me, but I've noticed that tabbable content wrapped in a "hidden" container can still be navigated to and read by JAWS.
Currently, JAWS does not support aria-hidden state in both Internet Explorer and Firefox.
You can use role="presentation" though it is not recommended.
See also:
Official JAWS aria support list
Donald Evans's blog