I have this line of code:
<div class="f-social">
<a href="https://www.facebook.com/ForumGiovaniLendinara/" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="https://instagram.com/fglendinara/" target="_blank"><i class="fa fa-instagram"></i></a>
<a href="https://www.youtube.com/channel/UC0MgpsF3TSRVWlfVzsousEw" target="_blank"><i class="fa fa-youtube-play"></i></a>
</div>
when I save it in Yola’s editor for websites it gives me buttons with a small size.
How can I manage it?
OJL
December 23, 2019, 9:23pm
2
Hey,
you can control the size with an inline style, like this one :
<div class="f-social">
<a href="https://www.facebook.com/ForumGiovaniLendinara/" target="_blank"><i class="fa fa-facebook" style="font-size:48px;"></i></a>
<a href="https://instagram.com/fglendinara/" target="_blank"><i class="fa fa-instagram" style="font-size:48px;"></i></a>
<a href="https://www.youtube.com/channel/UC0MgpsF3TSRVWlfVzsousEw" target="_blank"><i class="fa fa-youtube-play" style="font-size:48px;"></i></a>
</div>
OJL:
it works.
How can put more space between one icon and another?
OJL
December 23, 2019, 9:37pm
4
You can add this within your css code :
a {
margin-right: 15px;
}
I’m not an expert, can you embed it in the last code you provided?
OJL
December 23, 2019, 9:42pm
6
<div class="f-social">
<a href="https://www.facebook.com/ForumGiovaniLendinara/" target="_blank"><i class="fa fa-facebook" style="font-size:48px; margin-right: 15px;"></i></a>
<a href="https://instagram.com/fglendinara/" target="_blank"><i class="fa fa-instagram" style="font-size:48px; margin-right: 15px;"></i></a>
<a href="https://www.youtube.com/channel/UC0MgpsF3TSRVWlfVzsousEw" target="_blank"><i class="fa fa-youtube-play" style="font-size:48px; margin-right: 15px;"></i></a>
</div>
thank you!
now it doesn’t show the icons.
where should I retrieve them?
OJL
December 23, 2019, 9:47pm
8
You need this line in the head section of your html page
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
when I try to place it, it turns down other elements.
can you show me, please?
OJL
December 23, 2019, 9:54pm
10
can you share the source code
I’m using Yola’s website manager, there is an HTML widget that I am filling with HTML code so I don’t think there’s a proper source code.
But again, I’m not an expert.
OJL
December 23, 2019, 9:59pm
12
HTML code is the source code, so you can put it in message .
1 Like
here it is the whole text I wrote
<div class="f-social">
<a href="https://www.facebook.com/ForumGiovaniLendinara/" target="_blank"><i class="fa fa-facebook" style="font-size:48px; margin-right: 15px;"></i></a>
<a href="https://instagram.com/fglendinara/" target="_blank"><i class="fa fa-instagram" style="font-size:48px; margin-right: 15px;"></i></a>
<a href="https://www.youtube.com/channel/UC0MgpsF3TSRVWlfVzsousEw" target="_blank"><i class="fa fa-youtube-play" style="font-size:48px; margin-right: 15px;"></i></a>
</div>
OJL
December 23, 2019, 10:10pm
14
the out put should be like this :
can you take a screenshot of your output.
the output is that one, but I don’t know why, when I publish the site, it doesn’t show the icons.
Here it is in the editor
and here it is in the published page
OJL
December 23, 2019, 10:37pm
17
I don’t know why it doesn’t work after publishing, but you can click on help and contact us in YOLA and describe this issue, I wish you get quickly an answer from there team.
I will try.
In the meantime, thank you so much for the help!
OJL
December 23, 2019, 10:40pm
19
you are welcome Donatella
I added this part of code and now it works!
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>