Understanding how fonts change size in Bootstrap mobile view

This lesson is exclusive to members

Course contents
SECTION: 9
How to backup 4:44
SECTION: 17
Finished 1:58

Questions

You need to be a member to view comments.

Join today. Cancel any time.

Sign Up

Course info

53 lessons / 5 hours

Overview

NOTE: this course uses Bootstrap 3. Dreamweaver has recently updated to Bootstrap version 4. You can change it back to 3 using the ‘New Document > Bootstrap > Preferences'. Please do this before starting the course.

Some versions of Dreamweaver will require you to download the specific Bootstrap version you want to use and link it within the site. You can download Bootstrap 3 here: http://getbootstrap.com/docs/3.3/

Hi - my name is Dan and I’ll be leading you through this course on how to Make money building mobile friendly websites using Dreamweaver.

I built this course for the visual person, the right brained person. We won't hide from code but we'll use all the visual tools that makes Dreamweaver so amazing.

These are the skills you’ll need to become a professional web designer. You’ll learn how to make responsive websites in Dreamweaver as well as learning what to charge and how to manage a website project.

We cover everything you need to build your first website. From creating your first page through to uploading your website to the internet. During the course we’ll create a website for a mock creative agency - creating mobile and desktop versions. See our example here:

I’m a Dreamweaver Certified Instructor and an Adobe Certified Web Specialist.

With exercise files you can download and work along with me. At the end of each video I have a downloadable version of where we are in the process so you can compare your project with mine making it easy to see where you might have a problem.

I’ll be showing you how to work with Dreamweaver to easily create HTML & CSS websites. How to create mobile and tablet versions of your design and how to test your website on your phone.

I’ll be teaching you how to create navigation bars, how to work with responsive images and favicons.

We’ll work with Dreamweaver’s new Bootstrap integration to easily add carousels, tabbed menu’s and accordions. Even easier you’ll learn to impress clients by embedding videos, calendars, maps, event ticketing & social sharing options. 
 
 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.

Now it’s time to upgrade your skills, get that better job and impress your clients.

What are the requirements?

  • 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.

What am I going to get from this course?

  • 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.

What is the target audience?

  • 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 Scott

Daniel Scott

Founder of Bring Your Own Laptop & Chief Instructor

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

Download Exercise Files

Transcript

Hi, my name is Dan. In this video we're going to look at the second part of Media Queries where we look at css styles. In the previous video we looked at using Media Queries to play around with the structure or the column widths in Bootstrap. This one here relates more to css styling. So we're going to look at it separately with its own project window here. Once we've finished with the project, after this video we'll throw away this video, and get back to doing the exact same stuff, but on our bigger, more complex website.

First of all I'm going to create a 'New' document here. It's a new document, no framework, just plain old HTML page, I'm going to 'save' it. I'm going to call this one 'mob-styles-demo'. And I'm going to be in Split view so you can see what's happening on both sides. What you'll notice is that there’s no Media Queries here. It's not a Bootstrap document. Bootstrap comes with its own Media Queries that we follow. In this case, I'm going to create our own ones, just to help you understand what they are, and what they do.

First up, I'm going to drag this slider along. And I'm going to make three separate Media Queries. Bootstrap has four, I'm just going to make it three and make it easier. So I'm going to draw a small Mobile version, a Tablet version, and a Desktop version. I'm going to drag it down to a Mobile size roughly. And I'm going to hit this '+' button. This max-width, we'll leave here, and I'm going to click 'OK'. It's going to create a css sheet for me. I'm going to call this one 'mob-demo'. I'm going to throw this one away in a sec so I'm not too worried about the naming, and I'm going to hit 'Save'.

Now what it means is, anywhere up until here is going to be my css Media Query for Mobile. What I want to do is a Tablet version, so I'm going to drag up a bit higher, upto about there. I'm going to hit '+'. And what I want to do is, instead of just 'max', I’m going to do 'min' and 'max'. So the minimum width is just going to be a pixel higher than my Mobile. So when it gets up to 338, it's going to switch to Tablet view. And that's maximum size there. I'm just going to put it to '700' to round things off. Click 'OK'.

So, this is Mobile, this is Tablet, and I'm going to Desktop view. Desktop view is just going to be one pixel more than my Tablet. It doesn't really matter whether we have this. It's handy, but if I click '+', and I don't like it, I can change it to 'max-width'. You can see, from here, all the way above. But I don't want it there, I want it one pixel after this. So let's type it in here, it's going to be a similar one. It's going to be Desktop view. So I've got three Media Queries. You can't see them down here, the body is nice and clean, on the HTML but if I go to my css, you'll see three of them. This one here is going to be Mobile. This one here is going to be Tablet, and this one here, Desktop. So, let's add some content to my HTML.

So I'm going to go back to 'Split' view, 'Source code', and over here, in my body, I'm going to insert a 'Heading', and, we'll change the text. What I'd like to do is Style it, so that when it gets down to Desktop, it's quite a large bold color, when it's a Tablet, a little bit smaller, and when it gets down to Mobile, it's even smaller. But at the moment it's not doing anything. So what we have to do is-- I'm going to do for Mobile first. I've got my slider down at Mobile just to preview it. What I'm going to do is, I'm going to go to 'CSS Designer' view. Up until now, we've had this closed, this Media. We've just been working on our large Desktop view. Now what we're going to have to do is open him up, so you can see.

What we're going to do is, we're going to create a Style. It's going to be in Mobile view. The green one, the maximum of 337. And I want to create a 'Selector, and it's going to be H1. What I want to do is, where it is H1 I'd like it to be a 'font color' of 'red'. I want it to be a 'font size' of something small, maybe '20 pixels', with my heading. So when it's down to Mobile, it's 20 pixels, and red, and when I make it up to Tablet, watch what happens, it's not. It only gets affected when I'm at this maximum width of 337. You'll see, in my css view, see the one here, what happens is, this H1 here only gets activated when this rule here is applied. So there's a max-width of 337. Anything above that, it will switch up to this Tablet view, and because there's no H1 styling in here, it goes from this, we're in 20, to whatever the default is.

So, to do the adjustments, I need to be on Tablet view. I'm going to be a 'mob-demo', I'm going to be this 'min' and 'max' which is my Tablet view. I'm going to make a new 'Selector', this one's going to be 'H1'. And I'm going to do something with the text, I'm going to make it green. And I'm going to make the 'font size' a bit bigger. Maybe up to '40'. So when it's down here, 20 and red, when it's a Tablet, it is green, and a font size of 40. And you can see, when I go to Desktop, exact same thing, I can go to this one. I can go to my 'larger Desktop' view, go to 'Selector', go to 'H1', and make it a 'font color', something slightly different.

Let's go to 'Font size', let's make it massive. Let's get it up to '60'. Now I've got my three different Media Queries. And they only get activated by how wide your page is. So let's go out and preview it in a browser. It's going to ask me, 'Save?', yes please. You can see here, Desktop view, Tablet view. I can't get it small enough to show you Mobile view, but know that if my browser got a little smaller - can it get any smaller? No, can't get any smaller. - it will switch to red.

Hopefully that gives you a bit of indication of the two separate areas to deal with, when you're dealing with Media Queries. One is, it triggers the width of the box. And we did that with the sm, xs, md, lg, the different sizes. And then there's a separate one here where we're dealing with the style of things like fonts. You can change the height of boxes, and whatever you want in them as long as they're contained in these curly braces to deal with this Media Query, they'll get activated at this time. All right, let's move on to the next video.

  • Powered by Marvin
  • Terms of use
  • Privacy policy
  • © Bring your Own Laptop Ltd 2024