forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: fran86 on July 07, 2015, 03:16:46 pm
-
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 (:
-
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 (http://fortawesome.github.io/Font-Awesome/get-started/), you could simply add it to Coppermine via the template.html file of your theme.
-
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 (http://fortawesome.github.io/Font-Awesome/get-started/), 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.
-
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.
-
The link is a test theme that I haven't made public... http://ellenpagedaily.com/photos/index.php?theme=2015-002
-
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.
-
Oh wow, that's all it was! The code on the site always includes the <i>. Thank you Αndré (: