Hosting CSS together with JavaScript files on your Blogger weblog has ever been a affair of concern for a webmaster. People prefers to add together their entire StyleSheet coding inward i file, thence they tin upload it to their hosting together with tin easily apply it on their website. Unfortunately, blogger has quite a few limitations that halt you lot from hosting CSS together with JavaScript files. Recently our user sent us an e-mail asking: is at that topographic point whatever means to host files on blogger? What are the advantages of hosting CSS (StyleSheet) files? Luckily, Google Drive provides you lot the chance to host CSS, JavaScript together with HTML Files for FREE. In this article, nosotros volition demo you lot How to Host CSS Files alongside Google Drive inward Blogger?
Why to Host files on Google Drive?
- Lots of Space: Google Drive provides you lot v GB storage to regular accounts thence you lot tin easily upload lots of documents. However, if your disk infinite is full, together with thence you lot tin upgrade your describe of piece of employment organization human relationship from basic to premium.
- Create & collaborate: Google Drive provides you lot the flexibility to create together with host unlike kinds of spreadsheets together with presentations. Make closed to edits inward the documents together with come across real-time changes every bit they appear.
- Reliable & Dependable: With 100% uptime, it provides you lot the liberty to host anything that you lot like. It has unlimited bandwidth, but you lot receive got to accept tending of your disk infinite it should non overstep 5GB score or you lot tin upgrade your account.
- Go dorsum together with revise: Google drive tracks almost all the alter that you lot brand to your document - thence whenever you lot volition relieve a document, a novel revision too gets save. You tin accept a glance dorsum together with tin brand revision accordingly.
- Share or brand files Private: You tin part your files together with folders alongside anyone. Select whether others tin comment, share, persuasion or edit your stuff. You tin handgrip everything forthwith from your dashboard.
- Security at its best: Google Drive has ever proven to travel the most reliable costless hosting service alongside unlimited bandwidth. Moreover, to render total proof safety Google drive has utilized HTTPS encryption to continue your documents secure.
- All This For Free: All these impressive features for free.
What are the Advantages of Hosting CSS/JavaScript inward i File?
Blogger doesn’t render its users the flexibility to host CSS or JavaScript files inward i split link. They are hosted inside the website’s coding through HTML Tags.
For StyleSheet, <style> tag is role to define the mode data for an HTML document. Between 2 <style></style> tags, CSS coding is placed which specify how HTML elements should homecoming inward the spider web browser. Each HTML document tin incorporate multiple <style> tags.
For JavaScript <script> tag is role to define the script, such every bit JavaScript. The <script> tag either contains the scripting statements or it points to an external file through src attribute. Each HTML document tin incorporate multiple <script> tags.
Combining all StyleSheet/JavaScript coding inward 1 file helps a website to charge faster. Furthermore, it helps search engine to crawl your site smoothly.
How to Host CSS Files alongside Google Drive inward Blogger:
There are several third-party apps that could assist you lot to host files inward blogger including Google Apps, Google Code, together with Google App bot. At MyBloggerLab, nosotros role App bot, but the procedure of hosting files on Appbot is a lot complex. Google Drive is perfect together with plant ameliorate than Appbot because at that topographic point is no demand to worry close the bandwidth.
Step#1: Copying CSS Coding From You Template:
To host your CSS file alongside Google Drive inward Blogger, get-go thing you lot demand to produce is to re-create your all StyleSheet coding from your template to an empty notepad. Go to Blogger » Your site » Template » Edit HTML » Proceed together with search for the <b:skin><![CDATA[ tag. On finding this tag, you lot volition come across a large chunk of CSS coding, thence re-create all the CSS coding till the ]]></b:skin> tag. For to a greater extent than details come across the next screenshot.
Step#2: Preparing a style.css file
After copying the CSS coding, take away it from your template together with glue the coding inward an empty novel notepad. Now relieve the document together with call the file to style.css (the extension of the file should travel inward .css thence the browser tin homecoming it every bit StyleSheet). For to a greater extent than details come across the next screenshot.
Step#3: Hosting your style.css file on Google Drive:
The side past times side thing is to upload style.css file to your Google Drive account. First larn to Google Drive together with login into your Gmail Account. Now you lot receive got to create a novel folder, thence you lot tin upload all the spider web hosting files at i place. Press the “Create” push clit together with from the drib downward listing select “Folder”. Now call the folder to anything that you lot similar such every bit webhost, spider web files together with etc. In the end, press "Create" to conclude.
Now opened upwards the folders that you lot receive got created a few moments agone (right click on the folder call together with select open). On selecting the upload icon acquaint on the left side of your screen, a drib downward listing volition appear which would render you lot 2 choices i.e. File together with Folder. Just select “File” together with deed to the side past times side step.
Now it volition asking you lot to select the style.css documents that you lot created few moments a go. After selecting the file, press the opened upwards push clit together with deed to the side past times side step.
On pressing the opened upwards push clit a modest upload magician would appear on the correct side of your screen. It unremarkably takes a infinitesimal or 2 to upload, but it solely depends upon the size of your file together with the speed of your meshing connection.
Once uploading is done, press the “Share” button. Now you lot receive got to brand this file available for public. Press change, together with select “public on the web” thence anyone on the Internet tin notice together with access. Finally, press the Save push clit to conclude the wizard. For detailed instructions, banking corporation lucifer out the next screenshot.

Step#4: Getting a Proper Hosting Link
The 2d final measurement is to create a proper hosting link of your style.css file. Right click on the file that you lot uploaded few moments a larn together with select “Share”. Copy the whole URL acquaint inward the text expanse nether “Link to share”. For to a greater extent than details come across the next screenshot.
After Copying the sharing Link from google drive, it would somewhat looks similar this https://docs.google.com/file/d/your-file-code/. You receive got to alter the copied link to https://googledrive.com/host/your-file-code. Remember: Make certain “your-file-code” remains the same earlier together with subsequently the changes are made.
permit us produce a small demonstration which would assist you lot inward explaining better. For Example, if the link of my file is https://docs.google.com/file/d/0B0WJjcJEFNzibXRyZWlwNktKcFk/ thence I volition alter it to https://googledrive.com/host/0B0WJjcJEFNzibXRyZWlwNktKcFk. The only thing which remains the same is the file code.
Step#5: Adding Google Drive Hosted CSS file inward Blogger
After preparing a proper hosting link of your file, in i lawsuit once again larn to Blogger » Your site » Template » Edit HTML » Proceed. Now search for the starting <head> tag together with only inward a higher house it glue the next code. Remember: Do non forget to supervene upon https://googledrive.com/host/your-file-code alongside your Google drive hosting link, together with brand certain you lot receive got removed the CSS coding from the template every bit nosotros receive got mentioned inward the step#1. Once everything is done, press the “Save Template” button.
<link href='https://googledrive.com/host/your-file-code' rel='stylesheet'/>
If you lot are even thence confused close the procedure together with thence banking corporation lucifer out this in-depth video tutorial
We promise that answered all the related questions similar why to host files on blogger, what are the advantages of hosting CSS (StyleSheet) files, together with more. If nosotros receive got left something uncovered, or noticed that nosotros missed something together with thence delight larn out a comment below.
No comments:
Post a Comment