This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
Replace the icons with my own pictures #49
Comments
You can do this:
|
Thank you for your kindness.
But, I still can't understand it.
I made instruction no.2 but, I don't know no.3
I did like this:
[[params.services.list]]
icon = "
https://static01.nyt.com/images/2017/02/15/business/15DOLL2/15DOLL2-jumbo.jpg?quality=90&auto=webp
"
title = "Inwoo Baek"
description = "Engineer"
I don't know how I deal with the line:
<i class="fa-4x {{ .icon }} wow bounceIn text-primary"></i>
Do i have to change like this?:
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
and where I should put the line in?
Please have mercy...
2019년 3월 2일 (토) 오후 11:55, Matthew McDermott <[email protected]>님이 작성:
… You can do this:
1. First make a copy of the services.html partial and put it in your
own partials directory for your site (this will override the rendering from
the theme).
2. Change the icon variables to your image URLs in config.toml.
3. Change the line:
<i class="fa-4x {{ .icon }} wow bounceIn text-primary"></i>
to an <img> tag and then drop in the variable for the src attribute.
4. Rebuild your site and test the results. Fix up your html as needed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aot5WMYfB9EXGQafkryjmg-w5MkSU-Icks5vSpDdgaJpZM4azGT5>
.
|
You have to change it to an image tag and then reference the src as the icon param. If you don't understand html and go this may be a bit difficult. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want use some pictures instead of the fa-icons at service section.
can I make it?
Would you like to teach me how to do it?
The text was updated successfully, but these errors were encountered: