Skip to content Skip to sidebar Skip to footer

Widget Atas Posting

How to Install a Cool Free SVG Background on Blogger

Hello Blogger Friends around the world! - this time MyShorTTips will give you a little knowledge that you just got.. hehehe.. Make your blog look so cool like this..


Eits .. but it should be noted, yes, here for the SVG code is not made from RahmanCyber NET! so this Code is made by Matt from svgbackgrounds.com

So here I will direct you directly to Matt's website for this tutorial... hehe, because here I am trying to respect the license of my friends... 





What is SVG Scalable Vector Graphics


Scalable Vector Graphics is an image format that uses XML as the basis for forming two-dimensional vector images. Vector here means, even though it is enlarged, it does not break like Raster images such as JPG or PNG.

SVG is an image format developed by the World Wide Web Consortium since 1999, with the first release on September 4, 2001. An image in the SVG format is saved as an XML file. 



SVG Background License Explanation


The code from Matt can be used for free, but you need to include an attribute or credit, right?

Examples like this:

.bg-zig-zag{
    background-color: #0b7;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23000' points='120%2C0 120%2C60 90%2C30 60%2C0 0%2C0 0%2C0 60%2C60 0%2C120 60%2C120 90%2C90 120%2C60 120%2C0'/%3E%3C/svg%3E");
    /* background by SVGBackgrounds.com */
}

you just need to add what I put in bold above... it's easy right... for the license details here  https://www.svgbackgrounds.com/license/

this is for CC 4.0 license explanation https://creativecommons.org/licenses/by/4.0/


Honestly, the first time I got this, I was really amazed, interesting and made the appearance of the blog instantly bright and sad... hehe, the best thing is that this is not a .png or .jpg image, yes, which takes up a lot of size when loaded, usually if you installing a background in the form of a .jpg or .png image, it must lower the GTMETRIX or Google PageSpeed score.. haha

Don't worry, this is a small size, because the format is SVG which has been compressed in such a way... so it doesn't burden the Kalean Blog Load...


There are many choices offered for the free version (for the premium you can subscribe or subscribe, of course there are many other premium backgrounds that you can get.. )




How to Install SVG Background


In the following, I will explain the installation steps, yes, it's actually not that difficult... just stick it on... go ahead, it looks like it's changed...

1. First, open the Blogger Dashboard

Please, open the Blogger Dashboard... I'm sure you can already.. hehe ^_^ , RahmanCyber friend, khan Pinter Pinter...

2. Select the Theme/Theme Section

After that please go to Theme OR Theme if you use English, it's easy...

3. Edit HTML

If you have clicked on the Edit HTML section, now here we will edit the xml code, well... not much, // only the Background section in CSS


4. Look for CSS Body

Look for the body in the CSS code section, like the image above usually. All you have to do is ctrl+f then type body { , ctrl+f is a function to quickly find the code, yes, or in English it's find.

5. Lock Background Code

Then you lock the background code, like the one in the picture above... what's its function, who knows we'll need it later... right, people's moods can change, who knows you miss the previous look... eat it so that it doesn't get deleted.. it's better to be locked in the comment code, right... wkwkwk


/*========================================
background: #e8c380;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
=========================================*/

If you're already in a cage like that, the css code can't be loaded anymore, bro... aka it turns into a comment. So if you want to release the code again... just delete the comment code... like this

background: #e8c380;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;


Anyway, that smells of Background formatting, you guys don't need it.. hehe so it doesn't interfere with the code that we are going to install..

If in RahmanCyber there is also a code like this... hehe, this is the code to install a Background in the form of a Jpg or PNG Image, I still remember it very well.. hehe, but that's how it is.. it makes GTMETRIX or Google Pagespeed scores crash...


/*========================================
background-image: url('https://images.alphacoders.com/605/thumb-1920-605592.png');

background-repeat: no-repeat; background-attachment: fixed;
=========================================*/

I used to use it to beautify the look... ehehe



6. Go to SVG Background Code Generator Website

Well, dear RahmanCyber NET brothers.. it's time for you to go to the Website of the SVG Backgroundd Code maker, namely MATT.. yeee

https://www.svgbackgrounds.com


*The one who wrote it changed

you guys copy the website... in your browser.. the background selection will appear right away... for the free one, I think it's already amazing.. For a free class... you just need to embed the code, bro...

Appreciate the hard work of the maker... iye khaaan hohoho...




Well okay.. if the author's website has been successfully loaded in your browser, then just choose which one you like.. if I have a blue Diamond background..

Now you can customize the appearance in the panel that has been provided by the developer...


I hope you understand from the picture above.. haha, that's the parameter settings... I'll explain one by one so that those who understand will understand better... those who don't understand will understand...

The Color section, which means you can change the color as you like... then the output CSS code will change according to the color you picked in the Color section... remember! Color means Color... ehehe, Not Color Pants...

Then the Scale section, whether the size of the pattern or sample or something repeated... that's all, hope you understand caste.. so the more you slide to the right, the pattern will enlarge, and vice versa if you slide it to the left, the pattern will shrink...

Next is the Opacity section, Opacity means Transparency or Objects Visible ... the more you slide to the right, the object or pattern will look clearer and vice versa if you swipe left it will be blurry

I hope you understand... haha,

When finished setting the parameters .. lanjuuuttt to the next step bro!


7. Copy the CSS OUTPUT SVG code


In this section, you just have to copy all the code in the CSS OUTPUT box. It's easy bro... CTRL + C if you forget..



8. Go to the previous HTML Edit Blog

Okay friends, if you have copied the code on the SVG background developer website, you can go directly to edit the html that was already opened, I hope you haven't closed it yet.. hihihi
Put the code in the CSS Body section, friends...



like the picture above.. because I chose the diamond pattern, so the code is a bit long.. sorry, the picture is cut off.

background-color: #00b7ff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='540' height='450' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='.1'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/svg%3E");


Don't forget, friends, to give credit or attribution under the CSS code..

/* background by SVGBackgrounds.com */ you just copy this
/* background by SVGBackgrounds.com */

So that later it will be like below


background-color: #00b7ff;
background-image:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'  width='540' height='450' viewBox='0 0 1080 900'%3E%3Cg  fill-opacity='.1'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180  300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA'  points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450  150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0  360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon  fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444'  points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810  150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300  1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900  0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180  600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon  fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon  fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon  fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon  fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon  fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon  fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810  450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900  300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080  600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900  300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180  900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon  fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450  750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720  900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540  600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900  900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720  600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080  900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270  150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450  150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630  150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon  fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF'  points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180  300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150  90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450  450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270  150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630  450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450  150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810  450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630  150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990  450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810  150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon  fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA'  points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180  600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750  450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270  450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450  450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810  750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990  750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810  450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90  750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90  750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270  750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450  750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630  750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810  750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170  450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990  150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon  fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon  fill='%23DDD' points='1080 900 1170 750 990  750'/%3E%3C/g%3E%3C/svg%3E");
/* background by SVGBackgrounds.com */



Now, if you have, you can save the template as usual...
And the next step, you can check the latest appearance of your blogger website in a new tab, what are the results? nice isn't it.. hihihi



Conclusion


The conclusion for this tutorial is, the appearance of your Blog Background changes in just a few steps.. Don't forget to respect other people's work... so that our work will also be appreciated by people... hehe

Good luck...




* Oh yeah, I'm sorry... the language when I write is like that... ^_^






Jaaaa.... Mata Ashita..






Post a Comment for "How to Install a Cool Free SVG Background on Blogger "

Article original from MyShorTTips Stuff. Don't Copied or Sale. Protected by LAW. Thanks for Reading.