fontawesome? fontawesome?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

fontawesome?

Started by fran86, July 07, 2015, 03:16:46 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fran86

Does coppermine support fontawesome? http://fortawesome.github.io/Font-Awesome/

The icons show up italic and crates a paragraph after.

Is there a way to make it work? I did a search and came up with 0 results.

Thank you (:

Αndré

What exactly do you mean with "support"? I just had a short look at Font Awesome, but still doesn't get what exactly it is. However, according to the docs, you could simply add it to Coppermine via the template.html file of your theme.

fran86

Quote from: Αndré on July 07, 2015, 04:58:23 PM
What exactly do you mean with "support"? I just had a short look at Font Awesome, but still doesn't get what exactly it is. However, according to the docs, you could simply add it to Coppermine via the template.html file of your theme.

I just mean, should it work. It's a icon type font. I have added all the correct things and the codes to template for the icons but they show up italic. I have it for wordpress and it's fine there. I just wondered if it there's something different I need to do for it to show properly on coppermine... I guess it hasn't been brought up before.

Αndré

Please post a link to your gallery, so I can see the issue in your gallery. Additionally, please also attach a screenshot to your reply.

fran86

The link is a test theme that I haven't made public... http://ellenpagedaily.com/photos/index.php?theme=2015-002

Αndré

This is the corresponding code for your screenshot:
<div class="title2"><i class="fa fa-users"></i> Follow Us</div>

The icon is probably italic, as you added the Font Awesome CSS to an "i" tag. If I change it to e.g. "span", the icon isn't italic anymore.

fran86

Oh wow, that's all it was! The code on the site always includes the <i>. Thank you Αndré (: