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

Title: fontawesome?
Post 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 (:
Title: Re: fontawesome?
Post by: Α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 (http://fortawesome.github.io/Font-Awesome/get-started/), you could simply add it to Coppermine via the template.html file of your theme.
Title: Re: Re: fontawesome?
Post by: fran86 on July 07, 2015, 05:01:37 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 (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.
Title: Re: fontawesome?
Post by: Αndré on July 07, 2015, 05:02:50 pm
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.
Title: Re: fontawesome?
Post by: fran86 on July 07, 2015, 05:07:43 pm
The link is a test theme that I haven't made public... http://ellenpagedaily.com/photos/index.php?theme=2015-002
Title: Re: fontawesome?
Post by: Αndré on July 07, 2015, 05:13:36 pm
This is the corresponding code for your screenshot:
Code: [Select]
<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.
Title: Re: fontawesome?
Post by: fran86 on July 07, 2015, 05:16:29 pm
Oh wow, that's all it was! The code on the site always includes the <i>. Thank you Αndré (: