🚨 Heads up! This course is no longer supported. We recommend checking out our Webflow Essentials course.
How to install bootstrap using Dreamweaver?
Questions
Student Gallery
Be the first to share something.
Course info
Overview
Know that I’ll be around to help - if you get lost you can message in the forum and together we’ll get you back on track.
- You'll need a copy of Dreamweaver CC 2015 or above. A free 30 day trial can be download from Adobe here.
- No previous Dreamweaver or web design experience is necessary.
- If you're not sure if this course is right for you. Email me what you’re trying to do and check if you’re on the right track.
- 60 lectures 3 hours of content!
- Forum support from me.
- All the techniques used by professional website designers.
- Ways to preview your designs straight to your mobile device.
- Firm understanding of responsive web design.
- Professional workflows and shortcuts.
- A wealth of other resources and websites to help your new career path.
- YES: This course is for beginners. For people who prefer not to work in code. Aimed at people new to the world of web design. No previous Dreamweaver experience is necessary. People with knowledge of previous versions of Dreamweaver CC 2014 and below will also get great value from this course as the software has changed so much.
- NO: This course is NOT suited to people experienced in using HTML & CSS. If you prefer to work in code only then this course isn’t right for you.
Course duration 5.5 hours + your own study.
Daniel Walter Scott
Founder of Bring Your Own Laptop & Chief Instructor
I discovered the world of design as an art student when I stumbled upon a lab full of green & blue iMac G3’s. My initial curiosity around using the computer to create ‘art’ developed into a full-blown passion, eventually leading me to become a digital designer and founder of Bring Your Own Laptop.
Sharing and teaching are a huge part of who I am. As a certified Adobe instructor, I've had the honor of winning multiple Adobe teaching awards at their annual MAX conference. I see Bring Your Own Laptop as the supportive community I wished for when I was first starting out and intimidated by design. Through teaching, I hope to bring others along for the ride and empower my students to bring their stories, labors of love, and art into the world.
True to my Kiwi roots, I've lived in many places, and currently, I reside in Ireland with my wife and kids.
Downloads & Exercise files
Transcript
Play around with that one, but make a new site when you move on to the next project or the next trial. So we're gonna go to New site, we're gonna call this one My Bootstrap website. You'd give it something else that, okay, that name remember can be anything you like. We've gotta pick a local file. So I'm gonna put it on our desktop. I'm gonna call this one, uh, bootstrap website.
Click choose. And the only other thing I'm gonna do is at under advanced settings, I'm gonna go to images. I'm gonna create a folder in here called Images and click choose. Great. Let's click save. Okay, so at next thing we're gonna do is gotta file new and up the top here we're gonna pick HTML.
And instead of none, we're gonna start with Bootstrap. Now, uh, this tick on is, is on by default. That include prebuilt layout, and that's kind of cool, which says if I click prebuilt, it's got a full website ready to go. Now, uh, it's probably, you could jump in here, but you'll get lost pretty quick if you start with something this complex. So what we are gonna do is close it down and we're gonna file new, and we're gonna start with just a plain document and we're gonna build it up together to build our own website. So just make sure it's set to create new and make sure that's Unticked and let's click Create.
Okay, what you might have noticed quite quickly there, it just had an images folder a second ago, but now it's got the CSS folder, a fonts folder, and a JavaScript folder. That's because all the pre-made stuff for Bootstrap, um, has been installed into all of those folders. Let's go and have a look at what created, I'm gonna go to Finder. I'm gonna find my desktop, and there's my Bootstrap website. And you can see, uh, there is, in the CSS, there's the Bootstrap CSS. There's some fonts that have been installed.
They're all Gly, Fons and some JavaScript to get it going. Okay. Some jQuery and some special bootstrap stuff. Great. So all of those files come together to produce our website. Along the top here, you can see we've got a bunch of different things.
We've got our source code, okay, at the moment it's Untitled. So let's save that file. Save. This is our H TM L. Now we're gonna call it index html. Whenever you're building a website, you need at least one page called index html, and it has to be s spelled like that, Lowercase.
And, and that will be your homepage. You can't call your homepage homepage, you gotta call it Index. Do html. Every other page you get to name. Um, you can name whatever you like, but for the homepage, it needs to be called index html. Let's kick save.
So we've got a bunch of files, we've got our L file, which is him. Okay? And at the top here, there is a CSS sheet and a couple of JavaScript files that help bootstrap work. Now, they're all separate files, but remember Dreamweaver is quite clever and helps us see them all. If I click on, uh, CSS, it shows you down here. These are separate files, but Dreamweaver is really quite good because it shows them all together and how they interact.
So we're gonna go back to Source Code, okay? And we're going back to Live View Safety. Okay? Get away from that code. Actually, before we go from Code View, let's go back to Split and let's click on Source code. That shows me, um, the HTML, okay, of the index page.
Now down the bottom here, um, I guess the big thing actually, it's got a full code view. Wow. Now, um, you can see at the top here, it's linking to my CSS sheet. It's added, it's added some extra bits of code. Okay? So you can see in here in the head it's got something called H tm L Shim.
Don't worry about it, just don't remove it. Um, it just helps, um, older browsers deal with Bootstrap. Okay? Um, you can see in here it says IE eight, um, support kind of helps some HTML five features. Just don't remove it and you'll be fine. The reason I came in here to show you is I just wanna quickly refer to this thing called the Head and the Body.
Okay? You can see the head has an opening and you can see a slash then head for the close. So everything in here is stuff that gets onto the document that you don't see. Okay? So there is the title of my page. There is the linking to the different CSS sheets and JavaScript files.
So lots of that type of stuff goes in the head. Now, in terms of the actual website, it's this stuff down here, okay? In the body. So anything that you actually see in the website goes in the body, and there's the open and then there's the close. So this is where our, uh, logo's gonna go. All our images are gonna go, that needs to be in this body tag.
All right? So when you create a new file in Dreamweaver, it produces all the files you need, sticks them in the folder for you ready to go.
How Do You Install Bootstrap Using Dreamweaver?
Create a new site definition in Dreamweaver, then choose File > New, select HTML and switch to Bootstrap. Choose Create New, untick Include a pre-built layout and click Create. Dreamweaver adds the supporting Bootstrap files to your site folder; save the new HTML page as index.html.
How to Install Bootstrap Using Dreamweaver
Key Takeaways
Set up a separate Dreamweaver site for every new project, including practice sites.
Start with a blank Bootstrap document so you can build your own layout without unnecessary complexity.
Understand the CSS, font and JavaScript files Dreamweaver creates for you.
Save your homepage as index.html and learn where your page content belongs.
Getting your first Bootstrap website ready is mostly about getting the foundations right. You need a defined site, somewhere to keep its files and an HTML document linked to Bootstrap. Dreamweaver handles much of that file setup for you.
We’re starting with a plain document rather than a complete design. That gives us a clean starting point and makes it much easier to understand how the website fits together.
Before You Start: Check the Bootstrap Version
This setup uses Bootstrap 3. The generated files include Glyphicons, jQuery and older browser support code, so keep that version in mind when comparing your project with these instructions.
Some Dreamweaver versions default to Bootstrap 4. To follow this Bootstrap 3 workflow, check the Bootstrap version setting in Preferences > New Document. Depending on your Dreamweaver version, you may need to download Bootstrap 3 separately and link it within the site.
1. Create a New Site Definition
Before creating the page, give the project its own site definition. Do this for every new website, even if you’re only experimenting. When you move on to another project or another trial, create another site rather than continuing inside the previous one.
Choose Site > New Site.
Enter a site name. We’ll use My Bootstrap Website, but you can choose something that suits your project.
Choose a Local Site Folder. For this example, create a folder on the desktop called Bootstrap Website.
Open Advanced Settings and select Local Info to set the default images folder.
Create an Images folder inside your website folder and choose it as the default images folder.
Click Save.
The site name is simply the name you use to identify the project in Dreamweaver. The local site folder is where the actual website files live. Those are two different things, so don’t worry about giving them exactly the same name.
2. Create a Blank Bootstrap Document
Now choose File > New. Select HTML, then choose Bootstrap rather than None.
You’ll find an option called Include a pre-built layout, which is selected by default in this setup. It creates a complete starter website, with content and layout already in place. That’s handy, but it’s also quite a lot to work through when you’re just getting started.
For our own website, we want something simpler:
Make sure Create New is selected in the Bootstrap settings.
Untick Include a pre-built layout.
Click Create.
Start without a pre-built layout so you can build the page up yourself.
You now have a plain Bootstrap document. It may not look like much yet, but the supporting framework files have already been added. A blank page here is perfectly fine: we haven’t put any visible content into it.
3. Check the Files Dreamweaver Has Created
Before creating the document, the site folder contained the Images folder we made. Afterwards, you’ll also see folders for CSS, fonts and JavaScript.
Dreamweaver has placed Bootstrap’s supporting files into the project for you. They work together with the HTML page rather than becoming part of one enormous file.
CSS folder: contains the Bootstrap stylesheet.
Fonts folder: contains the Glyphicons font files used by this Bootstrap 3 setup.
JavaScript folder: contains jQuery and Bootstrap’s JavaScript files.
Images folder: is the folder you created for the site’s images.
You can inspect these folders in Dreamweaver’s Files panel or open the local site folder in Finder. The important thing to recognise is that a website is a collection of connected files. The HTML, stylesheets, scripts and images each have their own role.
4. Save Your Homepage as index.html
The new HTML document starts out untitled, so save it in your local site folder as index.html, using lowercase letters.
For this project, that is your homepage filename. Use index.html, not homepage.html. Other pages can have their own names, but keep this starting page named consistently.
At this point, your project has its first HTML page alongside the folders containing Bootstrap’s supporting files. Great, that’s the basic setup done.
5. Find Your HTML and Its Related Files
Across the top of the document window, Dreamweaver gives you access to the page’s source code and its related CSS and JavaScript files.
Clicking a stylesheet lets you inspect that separate file without having to leave the document workspace. Dreamweaver brings the connected files together in one interface, but they are still separate files in your site folder.
To get back to the HTML for your homepage, select Source Code. You can then choose whichever view feels most useful:
Code view: shows the source code.
Split view: lets you work with the code and the page together.
Live view: shows the rendered page.
There’s no need to stay buried in code just yet. It is worth taking a quick look, though, because two parts of the document will matter throughout the project: the head and the body.
6. Understand the Head and Body
The head contains information about the page
The head starts with an opening <head> tag and ends with a closing </head> tag. It contains information and references used by the page, rather than the visible content of the page itself.
In the generated document, this includes the page title and the link to the Bootstrap stylesheet.
You’ll also notice some older browser support code, including references to HTML5 shiv and Internet Explorer 8 support. In this Bootstrap 3 starter document, leave that generated code in place. You don’t need to understand every line before you begin building.
The head holds page information and supporting references; the body is where the visible page takes shape.
The body contains the visible page content
The body begins with <body> and ends with </body>. Your logo, images and other visible website content belong between those tags.
The starter document also places JavaScript references near the bottom of the body. So, while the body is where your visible content goes, not every line inside it produces something visible on the page.
That’s enough structure to get started confidently: keep the supporting references in place, and add your own page content inside the body.
Your Bootstrap Starting Point Is Ready
You now have a defined Dreamweaver site, an Images folder, the Bootstrap supporting files and a homepage saved as index.html. Dreamweaver has done the initial file setup, leaving you with a clean document ready to build on.
Starting plain keeps things manageable. Instead of untangling somebody else’s complete layout, you can add your own website elements one step at a time.
Key Terms
Site definition
The Dreamweaver setup that identifies your website project and its local folder. Create a separate definition for each new project.
Bootstrap
The framework supplying the supporting styles and JavaScript for this website. This workflow uses Bootstrap 3.
Related files
Separate files connected to your HTML document, such as stylesheets and scripts. Dreamweaver lets you access them from the document window.
Head and body
The head holds page information and supporting references. The body holds your page content, along with any scripts placed there.
FAQs
Should I use Dreamweaver’s pre-built Bootstrap layout?
You can, but a blank document is easier to understand when you’re learning. Untick Include a pre-built layout to create the supporting Bootstrap setup without a complete starter design.
Why have CSS, fonts and JavaScript folders appeared in my site?
Dreamweaver adds these folders when it creates the Bootstrap document. In this Bootstrap 3 setup, they contain the stylesheet, Glyphicons fonts, jQuery and Bootstrap JavaScript files.
Where do I add my logo and images?
Add the HTML for your logo and images between the opening and closing body tags. Keep the image files themselves in the Images folder you created during site setup.
Why does my new Bootstrap page look blank?
A document created without the pre-built layout has no starter content to display. The Bootstrap files are in place, but you still need to add your own content inside the body.
Written by Daniel Walter Scott — Founder of Bring Your Own Laptop & Chief Instructor