How to make a CSS compound selector in Dreamweaver

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 Compound Selectors. Now we've looked at it a little earlier, Compound Selectors, we're going to cover it again. It's important in this case, because, at the moment these buttons here are using some styling that's kind of a Bootstrap, which is kind of light gray, which is the Link. And the Hover is dark gray, so I need to change it.

Now you might be asking why? Because we've dealt with links earlier on. Remember, down the bottom here, we went and changed all the Links to have this white, and we changed the Rollovers. Why haven't these come along for the ride? And the reason is, it's because Bootstrap has its own specific-- so if there was no styling come through from Bootstrap, it would be perfect with their white A-link, but because Bootstrap specifically said, it be a light gray, and then a dark rollover gray, it's taking control of that styling, so we're going to have to take it back again by overriding it.

So what we need to do is, we need to go through and create a Compound Selector. So let's do that. What I want to do is-- I'm going to click on here. There is an A-link here, and there's a List Item, and there's all this junk that goes in before it. So what I can do is, I can do a specific Compound Selector. So if I hit 'Selector', there's the Compound Selector, it's gone through and it's styling everything. Every link, that is the 'a', that is inside of the list, that is inside of a Class called Navbar, which is inside of a Class called Navbar-nav, which is inside of another class called Nav. So it says, "If these all are true, apply this style." Now this is a little messy. It's quite a lot of detail in here. What you could do is, you could tidy it up by just saying this.

If there is an active link that is inside of a List Item, that is inside this whole overriding Nav, this whole thing here, it's the .nav Class. That would work just as well. It's up to you, this looks cleaner, and tidier, and more impressive. And this bit here will work. But it's quite specific, and a little bit ugly. So, let's make it look pretty, by tidying it down.

This is still true, there is an active link, which is inside a List Item, which is inside of the Nav. The reason I don't-- I could tidy it down even closer. I could do just this link, that is inside the Nav. Problem is that there is, over here, there's a link. Remember, we added a link where it says, if I click my Logo, it's going to jump to Home page. I don't want that to be affected by this list. So I want to be a little bit specific. So, I add a link that is inside the List Item, which are these two guys here. So what we're going to do is—

What we also will do is, I want it to be slightly different. Remember, we can put in our-- you know what those are called That's right, our Pseudo Classes. Because I want to not just style the Link, I want to do the Link, and Hover. So, to do it, I'm going to go down to my Type now. I’m going to change the color of it, I'm going to switch it out to white. Hey presto, we've got our Links being white.

So, Compound Selectors can be a little confusing. We've done it a couple of times now. The other thing to know is that sometimes when you're working with Bootstrap, you need to go and find-- there'll be a bit of a css counter or overriding what you're trying to do with some of your baseline things, like we did with styling our basic links for the whole website.

All right, that's it for this video. We're now going to do our backup, so 'File', 'Save All'. And now we're going to go out to our 'Desktop', and I'm going to copy it. I’m going to go into 'Zold', and I'm going to put it in here. I'll rename it, call this one 'Backup'. And we're going to put the 'Following date'. It's not Following date, so I'm going to just give it the 'Year', the 'Month', and I'm going to put '04b'. Great, see you in the next video.

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