@adeosunabdulsamad
Submitted
pls can someone explain to me how to use an online font in your website
Looking to hire developers?
@iniyan-web
@adeosunabdulsamad
Submitted
pls can someone explain to me how to use an online font in your website
@iniyan-web
Posted
Hi Abdulsamad,
You can add required fonts from google fonts.
-> In html, you can link the fonts like below:
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2? family=Montserrat:wght@700&display=swap" rel="stylesheet" />
-> In CSS, you can import fonts like below:
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
For above both cases, you can use the font added like below.
In CSS:
body { font-family: "Montserrat", sans-serif; }
Marked as helpful
@Itsjoses
Submitted
how to blue my background in the back? cause in the template they have blue background and any tips to improve my skills and web? thank you :v
@iniyan-web
Posted
Hi...you need to add background-color property to the body of your site in order to change it to your respective color, and regarding your site and skill, it is nice and in order to increase it further you can do your own research and practices.
Marked as helpful
@codeekta28
Submitted
Can anybody please help me how i set the background exactly like in preview, I noticed those two circles in background are placed diagonally but how?
@iniyan-web
Posted
Use absolute positioning to set the images diagonally.. Please refer the given link... stylesheet_link
.bg-top { position: absolute; z-index: -1; top: -85%; left: -25%; }
.bg-bottom { position: absolute; z-index: -1; top: 43%; right: -22%; }
Marked as helpful