building blogger template with bootstrap - html

I've just learned bootstrap and I'm excited to integrate bootstrap in my blogger. I'm using the free version of blogger, not using any custom domain. Then I realize that blogger is using xml with lots of tags, I'm confused to integrate the html I made with bootstrap, to that blogger version.
I've googled and read the article Using bootstrap twitter with google blogger, but it doesn't explain anything about the tags in blogger's xml body. Other google results are also not answering my confusion. How to build a blogger template and integrate it with bootstrap? Is it possible to have a sleek look of bootstrap without custom domain in blogger? Your answers, any tutorial link, tutorial video, and samples are highly appreciated :)

Better late than never, Yes, you can use bootstrap without custom domain in blogger. I'm using it in my blog and in building blogger templates. All you need to do is to use Bootstrap CDN links in the head then you can use bootstrap components and classes in the body and with divs. this is an example for using bootstrap with blogger templates.
Note : With XML you must close all HTML elements properly like this <meta charset="utf-8"/>

My friend has a GitHub repository dedicated to convert Bootstrap framework to Blogger template.
Demo: https://bootsblogger.github.io

Related

Blank WP starter theme compatible with Blocks and Bootstrap

I want to refine my wordpress theme development process which is:
To make a unique-creative design with Adobe XD or Figma.
To convert it to static HTML using VS Code with Bootstrap.
In wordpress, create custom post types with PODS.
To convert the static HTML in WP templates with Timber.
Based on my experience, this process is the best for me, but I want to integrate better my themes with WP-Blocks.
So, my question is: there are some clean starter-theme ready to use with blocks to use as the main theme and later extend it with a child theme with my custom theme?
I found https://wordpress.org/themes/cormorant/ that works very well with Bootstrap and it's an empty theme so didn't interfere with my design.
Here's the most popular Bootstrap theme with Gutenberg support, has very good child theme support. A solid agency has bought the repo and taken over, they recently added bootstrap 5 support. This should help your process:
https://github.com/understrap/understrap
I find it difficult with Gutenberg to use CSS framework, I don't see much benefits since blocks are already using flexbox and grid.
UPDATE: best answer exists here :), https://wptavern.com/ask-the-bartender-is-there-a-starter-for-building-block-themes

how to convert/integrate shopify cdn to bootstrap

good day guys, i am new to web development, so apperntly, i got a work to design an ecommerce site for a client. the client wants something similar to www.gallerydept.com . But when i used inspect, i noticed the cdn is shopify's and not bootstrap and i'm only familiar with bootstrap.
how can i convert or intergrate bootstrap?
or what is the best suggestion or advice you can give me?
(please remember i'm new to web dev)
A suggestion would be - Don't use bootstrap within shopify.
Reason - Bootstrap has their own set of customizations and shopify's depends upon the theme you are using. Let's consider two scenarios:
For example, you want to create a modal popup and you directly use the bootstrap's library for the same. The look and feel will be different and then you would add your own CSS to override that - problematic thing.
Second scenario, you integrate bootstrap's cdn into shopify then all the other components styling will get affected like buttons, navbar, hrefs etc. So the flow is bootstrap's css overrided your shopify theme css and then you will override both in order to get back to the original - shortly it will become unmanageable.
But after all this I am not saying don't go ahead with this, what I have seen some people doing is utilizing only bootstrap's flexbox system to manage responsiveness in custom shopify pages (which is a good technique because bootstrap's flexbox system is pretty great). So basically what they do is take bootstrap's CSS file and remove all CSS tags not pertaining to the flexbox system and use that leftover CSS file.
And answering your doubt, what you should do now is - go with native HTML/CSS. You get stuck somewhere, SO that doubt/get the code by inspecting the website you have.
Shopify is using themes so you can start looking into tutorials on how to create themes for Shopify. Bootstrap is only controlling the look and feel of the website which is what you do. Shoppify will control the entire ecommerce functionality. So you can use Bootstrap inside the Shopify theme.
You need to be using LIQUID to code anything in Shopify and be sure not to use SCSS only CSS

Difference between html and bootstrap classes

I started learning django a few weeks ago and the one thing i have noticed and causes me a lot of issues, is the clarification between HTML and Bootstrap classes. I know that when you are creating a tag in HTML, you can add a class in it that can be named anything and then we usually use the class to write CSS, right? But i finished some tutorials and realized that some people just wrote a class like btn btn-warning and a button with styling automatically came up even though they didn't write any CSS for it. And then i tested it with a random name and it was plain blank. Can someone please explain all of this that why when we use some specific names that already customized tag is shown on the website.
Thanks a lot!!
HTML and bootstrap are both somehow similar. Its just that with HTML you will have to manually write all codes to perform any action however Bootstrap saves your time as it has its inbuilt tags that work for specific action.
For example you can create your own navigation bar with HTML or use navbar tag of bootstrap. The navbar however has built in functions so there is less work. You can use in by including bootstrap link in your css like:
But it's kind of tedious to edit the bootstrap tags if you sometimes want to.
And,HTML is mainly used for the basic designs and bootstrap to make it more responsive.You can know about bootstrap more here:
https://www.w3schools.com/whatis/whatis_bootstrap.asp
Bootstrap is basically alot of premade css classes
so when you are using Bootstrap in your site you already have those classes and you can just use them
i recommend you to go to W3School and read about it in depth
Bootstrap is the most popular HTML, CSS, and JavaScript framework for
developing responsive, mobile-first websites.
Bootstrap is completely free to download and use!
Bootsrap in W3School

Looking for a CMS to embed news articles into my Bootstrap website

So I have been working on a news page for website using Bootstrap Studio (I am new to all of this, only have been using html, css, and a tiny bit of js), and I was just creating individual html pages for each article and manually adding them to a list of articles on a news page. I started looking into it and found the a CMS may be a perfect solution so that I dont need to manually create these pages and can just "create" them in a CMS and somehow import them to my website.
So here is my goal, I want to just have some "recent News" blocks display the most recent articles image and title, as well a dedicated "news" page that displays every article. Also, I want the articles to be displayed on my website, as opposed to linking to an external page.
Is this at all possible, and if so, where would be the best place to start.
I appreciate any and all advice.
If your website is primarily a blogging styled website, my recommendation would be to convert your HTML, CSS, and JavaScript files over to WordPress.
There is a free template called HTML5Blank which allows you to completely style your site with your own HTML and CSS.
Here is a great tutorial.

Creating AMP friendly website in an existing website

I have a dynamic blogging website built on NodeJS and Bootstrap 4. The website currently has about 8 JS files and 5 CSS files. It is responsive.
I'm trying to implement AMP but it's throwing all the AMP errors.
My question is:
I cannot remove those JS & CSS files because that's use for Desktop version. How then should I go ahead? Is there a way that I could ask AMP to ignore the desktop CSS and JS files?
You can't use your own JavaScript with AMP. You'll have to remove your JavaScript files and use the elements available within the AMP framework itself.
Here you can find a complete list of AMP components:
https://www.ampproject.org/docs/reference/components
And examples for some of them here:
https://ampbyexample.com/#components
About your CSS: You can't use external stylesheets, you'll have to include them inline. Also note that your CSS has to be smaller than 50kb.