0:01
hopefully everyone is doing well we got some cool stuff and i worked for a few hours actually prepping for this
0:08
live stream so normally i'm all off the hook or off the cuff i mean and uh but today we're going to uh do
0:14
something cool excellent um just as always if you could
0:20
let me know in the chat um you know if everything is good excellent chris is
0:26
here started getting the chat in sweet cool audio and video is good just quick sound
0:32
check mr cole thanks for coming on usual suspects sounds good thanks scott
0:39
okay so a long long long time ago um
0:46
probably like when i shipped foundation six so it was probably like a year ago um because it's been just over a year
0:52
since i i launched the first um beta of i guess pre-release version of
0:59
foundation six to uh summit attendees last year and um so yeah that was last november i
1:06
released it so um yeah we're we're one year into foundation six we're already on version
1:11
6.6 man it's been a it's been a wild ride right but um obviously you know when i release
1:18
foundation people are all can i do this can i do that and i bookmarked a few sites that i was like hey you know it'd be cool to
1:23
rebuild this site in foundation six i think it would be fun so um so yeah it uh
1:31
you know obviously time goes by and i've done you know quite quite a few but there was this one site that i thought would just was just
1:38
interesting um i hopefully you saw it i linked to it in the email and let's go ahead and look at it really
1:44
quick let me go ahead and share my screen okay bring up safari
1:52
and uh oops
2:04
there it is all right here it is um i also realized that my i zoomed my
2:12
desktop in a little bit i know previous uh previously um some things were getting a little cut off
2:17
so um so i zoomed my desktop in a little bit so we could see a little bit more screen so stuff doesn't get cut off okay and
2:25
actually you know what i'm going to do really quick one second here i also got a note about
2:31
um maybe it's i shouldn't
2:39
let me see if i can adjust something really quick one second guys
3:00
all right boom i made myself a little bit smaller so that i got some feedback that a little
3:06
thumbnail of myself was cutting off the corners a little bit so there we go hopefully hopefully that
3:12
will cut off a little bit less so if i have anything important down here um you'll still get to see my
3:18
beautiful face okay okay so this is the site we're going to be
3:24
recreating okay um i i'm not going to recreate all the typography and everything
3:30
i'm most i'm mostly focusing on just the layouts okay and some of these like these hover effects and whatnot and also you'll
3:37
notice that um if you click on any of these um it actually opens up the content um in kind of like this little light box
3:43
that's off on the side right so we're going to do that we're going to do these cool little sliders right so we're going to build a
3:50
slider like that um the only thing i probably won't i probably won't get into is all the i
3:56
mean the typography is pretty simple it's just big text big bold text um and some other you know odds and ends
4:02
but for the most part we're going to be building um all the components that you would need to build something like this now
4:08
what's interesting is this site um here i'll put the i'll put the link to it in the chat actually
4:14
um if you guys want to have a look at it okay
4:19
um and uh this site doesn't scroll okay so this site doesn't scroll um and
4:26
you know as you kind of resize the browser another thing i this obviously the layout does change when you're on mobile
4:33
um i i didn't have the time to really really go through all that um i did spend a few hours you know
4:39
tweaking things i even added a few minor features to foundation that you guys don't have yet but i'll probably ship
4:44
um this week um and i'll show you what those are as we as we go along
4:50
and uh so yeah we're gonna build this okay um and uh here why not always open up that
4:56
project file i'll show you what we're going to be building now i i already built this project file
5:01
but i'm going to uh attempt to build it from scratch again
5:08
okay
5:16
by the way stacks 4.1.1 shipped um so if you uh if you were one of the few
5:22
lucky people that had some issues with dragging and dropping um and partials crashing or crashing
5:27
when partials were unpacked um 4.1.1 fixes a lot of that so
5:33
um yeah make sure you uh go get that okay so this is the uh the project that
5:39
we're going to be uh building as you see it is very similar um i i
5:44
didn't replicate all the text and all the i didn't download all the images right um but we have a slider
5:50
we have this little cool little light box uh doohickey right we see we have a lot of these hover
5:56
effects okay so um it's a pretty good replica of this site minus again just some of the the fonts
6:03
the typography and whatnot i didn't download their logo i just kind of used my own
6:08
right but you see this is uh this is pretty darn close representation of what
6:15
this site is okay and um this entire thing is built
6:20
with just foundation six stacks nothing else okay i had to use like
6:26
one line of css um for these for these buttons um for the slider buttons um
6:33
so yeah there there's one line of css that um i i just couldn't do with a swatch um you
6:39
will be able to do it when i'm really i'm working on a swatches pack um and that will that particular line with css will be possible once
6:46
that swatches pack is released next year okay but anyway um so yeah exciting
6:52
we're gonna build this page right here okay so i'm gonna close that for right now
6:57
and we're gonna i'm just gonna talk a little bit about this design and um how i
7:04
plan on approaching it okay um so first off the prima
7:12
primarily that this design uses two different um types of grids inside foundation six okay um
7:20
first is a vertical grid okay um so if you look in the let's look at
7:25
the foundation six stacks really quick we have um the vertical grid and then i'm going to use columns pro
7:32
um now you you can also use you know for some of these parts of the layouts you could use the two columns or
7:38
three columns or whatever but i'm just going to use columns pro and vertical grid for pretty much
7:44
everything okay um now probably as we build this
7:49
um you know i probably should add a little bit more notes or use some pen stacks and whatnot um but you see there actually aren't too
7:56
many swatches to get all this done either which is kind of cool okay um but
8:03
those two grids that we created right or we're using what is the vertical grid when am i
8:09
going to use that and what is columns pro give me okay
8:15
well um we kind of know what columns pro is right that's just you know multi-column layout okay um
8:23
but what is vertical grid what why would i need to use a vertical grid
8:28
vertical grid think of vertical grid as a way of
8:34
splitting up your pages vertically as if they were columns
8:42
okay so think of it if you have a two-column layout or a three-column layout just flip that vertically and basically
8:47
you're slicing up a portion of the page vertically okay let me go ahead and show you
8:53
um let's see let's get my little screen annotation tool here okay let me move it out of the way
9:01
come on over here there we go okay so um first we'll notice that
9:09
this entire website is contained within the browser
9:15
okay so that entire thing right there right is contained within the browser
9:22
can i make it stick
9:28
cool all right so we have this container right and that container
9:34
as you saw this site doesn't scroll correct so that entire container is the height
9:41
of the browser window okay now if you notice this particular
9:47
container is kind of divvied up into two particular elements
9:55
okay first we have this top container and then we have
10:03
the bottom container all right so vertically we're splitting this page up
10:09
into two sections we have this section that contains the um the menu which he actually has a bug
10:14
look his menu gets cut off here so he has the menu and then the rest of the page is below
10:20
that well guess what that is a vertical grid right there
10:29
okay so actually you know um as we go along i'm actually going to hmm let's
10:37
let's build that out right now okay so i'm gonna go ahead and let's go into rapidweaver i'm gonna i'm gonna hide we're gonna
10:42
build this right now this this this menu up at the top as well as this page right here
10:48
or or the just the main empty content area that'll be empty okay let's go ahead and hide all of that
10:56
okay and i'm gonna keep this is for notes but we're going to start a brand spanking new project here
11:03
add a new stacks page
11:10
okay um so obviously we're going to want to start off with a new site styles okay and just for right now i'm
11:16
just going to hide that because we don't need to see it all okay so there's the site styles
11:22
um and then as i said we're going to start off with a vertical grid so we're going to go off into a vertical grid
11:28
and our vertical grid had two rows right so we're gonna we have two rows in our vertical grid
11:34
okay the first row had a menu right so let's go ahead and let's find a menu
11:43
um and i'm just going to add in a few menu items okay it's just
11:50
dummy content okay so now we have a row and this row here
11:56
okay now how do we uh adjust the sizing well let's let's preview what we got right now
12:02
okay um so we have a menu and then obviously this content area is kind of empty but if we were to just to
12:09
have some fun and inspect this that okay um you'll see that
12:17
um right here this is the vertical grid if you notice it takes up the entire height of the
12:23
browser cool and if you look at this the two rows that we added
12:29
okay you'll see the first row well we don't want that it takes up by default it takes up 50 because it's
12:35
set to auto it's exactly the same as the um columns right so if you set it to auto it'll
12:40
take up as much space as possible so we're going to want to change that we want to make sure that these aren't set
12:46
to auto we're going to want it to something else okay so just like columns um you can set
12:51
a vertical grid row to be shrink to content right so that was in in this setting right here that
12:57
small shrink to content okay so now if i preview this
13:04
okay we'll see that we now have two we've split up our vertical area
13:10
which is the entire um web page or the entire browser height um here is our menu which it shrunk to
13:18
the to its content okay and then our body where we're gonna put all of our
13:24
main content is actually um right it's filling up the rest of the
13:30
space cool so that first part is done that's nice
13:36
okay um one thing i'm also going to do actually really quick is i'm just going to set the
13:42
um site background color to be i have this on my clipboard one second
13:50
there it goes okay it's i set the site background uh to be that
13:56
cream color okay so if we preview now we got that cream color okay cool
14:04
um and uh just for kicks since we're kind of doing the menu um here i'm gonna do a i already have a
14:10
couple swatches here i'm just going to copy paste those just to save us a little bit of time here
14:30
okay so uh oh i'm gonna go in here and call this so here i just did a a um a menu styles
14:38
that uh styles the colors for my menu a little bit basically sets them to black and if you notice the the website had
14:45
really big fat menu um so i kind of just set a font style that sets the uh
14:51
sets the font to be uh bold and 24 pixels okay we're going to take this class my
14:57
menu and chuck it on our menu here there we go boom now we have a nice
15:04
chunky menu okay and if you notice a chunky menu up but this chunk menu is
15:10
white so let's go ahead and um that's easy enough to do i'm i'm
15:15
actually going to use a utility class here and i'm going to set it on the row and i'm going to say bg colon
15:21
white and there we go all right so now we have our big chunky
15:26
menu with the white background um i know this site has borders we're going to attack the borders
15:31
um in a little bit okay right now i'm just kind of getting the the structure of the grids laid out okay
15:38
and we'll do some of the background colors cool so now we have this distinct areas we have the the menu
15:44
um with the back white background and the rest of the body which matches this okay
15:51
cool so now what um let's focus on this uh left side here
15:59
okay uh let me bring up my little annotation tool oh it uh how do i
16:10
no how do i clear it interesting oops
16:18
oh all right not sure what i did there but i cleared it okay cool um
16:28
scissors tool okay whatever um okay so now we're going to be focusing on this area here
16:37
okay what what does this area have okay um so this area has two boxes up on
16:46
the top okay and a box down here
16:51
um and if you notice uh inside here it also is split up into two things right
16:58
so um we could potentially um add a two column and then basically have
17:05
a one column here that maybe has the slider stack i'm gonna oh by the way we're gonna ignore the slider right for
17:10
right now i just wanna build this layout without without a slider okay so i just wanna get a static layout here
17:18
so there's a couple ways we can do this um so i
17:23
after i built this i'm thinking that i there might be a simpler way now that i'm i'm redoing it again right um so we we
17:31
have a two column up here that's easy enough to do and then below that
17:37
is um basically a one a one column right and what we could
17:43
potentially do is set the height of this using like a height swatch
17:49
you know and then set a height swatch with this that could be easier but i actually know what i'm gonna i'm gonna
17:55
do the way i did it so here i used a um when i built this i
18:00
used a another vertical grid so what i did is here i set this vertical grid to contain
18:07
um this area up here and then an a another blanket area down here for the
18:14
slider okay and then inside this top row um i use the columns pro to map out
18:23
the horizontal columns here okay um cool
18:31
all right let's go ahead and do that all right let's do that okay
18:40
so now we're inside the row and um
18:45
what we're going to do is we're going to add another vertical grid into here because we want to split it up okay and again that was
18:52
uh we said that was two rows right right so we have one row and the second row is the big slider okay so we have we
18:59
have two more rows okay and that is i don't know what uh let me just look at what i said it to
19:05
before i'm gonna cheat a little bit 25 yeah
19:10
that looks about right okay um okay so this this top row we're going to set this to
19:18
be um 25 and we're going to set this second row just to be auto because it'll just
19:23
fill up the rest of the space okay i i could explicitly go here and say nine because then you know three plus
19:30
nine equals twelve um but i'm just going to set it to auto because it will just fill up the rest of the space
19:36
okay cool um so that builds that vertical grid that we had in there but now we need to
19:42
uh let's populate this content with the uh two columns so now we have two columns of content
19:48
let's do a columns pro okay and that had two columns in it right so
19:54
we had column one and column two okay and um just for fun i'm just going to go
20:00
ahead and copy the content that we had in here
20:10
and we'll just copy this header i don't really remember what i said in it i don't think that really is anything special
20:18
um so this is just an svg of the weaver space logo okay um and then this this is a uh just
20:25
a header set to h2 that's it there's nothing special in there okay let's preview this
20:36
oh wait hold up huh i see what i did wrong first okay so what i did is i built i
20:43
i forgot to build the horizontal divider right um so i was i was curious
20:50
on building oh good it's still there i was building this section but i forgot that in order to build this vertical layout i
20:57
need to split this main body content into two physical columns
21:03
first okay so that's easy enough to do um let's go back in here
21:11
um so inside this row um i actually need a columns pro okay
21:19
um that has two columns um and then that this vertical grid that
21:25
i built is going to be in the first column okay there we go hopefully that made
21:33
sense right so what i did was i uh how can i
21:41
there it goes okay um so this main body area that we had
21:49
okay what we need to do is we need to split that up into two columns using columns pro first
22:01
okay so that's what that that columns pro that i added does right it splits that into two
22:07
distinct columns um at that point then um you know i
22:14
added this vertical grid um that breaks it up into two areas
22:20
and then i added another columns pro into there into the first one that split that area
22:27
up into two and that's what we have in the other tab that's what we have here we i have my
22:34
two columns it's split down the middle we have nothing over here yet and this area down here will be that
22:41
slider that we don't have yet either okay
22:46
cool so now let's go ahead and build out this
22:55
um area okay and that is in this uh row right here
23:03
okay now one thing we might want to do is start some of these can be a little confusing
23:08
um right so we could just let's call this menu area
23:16
okay then this we'll call this um main content
23:23
okay um we'll call this one um
23:31
let's see this is main content uh
23:39
actually no i don't think we need a title on that one let's do this column here is main content
23:48
left and down here this is going to be main content
23:57
right okay so if you notice what i'm doing here is a lot of the foundation stacks allow
24:03
you to add a title and what that does is that allows you to um actually
24:08
add in little notes so that when you have tons of different vertical grids and columns pros and cons all on top of
24:15
each other you can actually get a little bit of a clue on um as to what that the purpose of that
24:22
area is okay um so this is the um
24:31
no let's just call this uh i don't know uh
24:40
i don't know two column left top i guess right okay and then we can we can kind of see that this is this the two column
24:46
area there and then this one is going to be um
24:53
slider container okay there we go so now i've kind of clearly
24:59
labeled a lot of these so that as we're going and going down the page we kind of know what's what
25:04
a little bit okay so we can kind of see where we are in the page okay so now we're in this slider
25:10
container let's look at let's go back to safari so let's look at this uh this container
25:17
okay so we're building out this right here again don't worry about the the controls
25:22
for the slider we'll do that last that'll be probably the very last thing we do today
25:29
but what is this um this is kind of another vertical grid
25:37
okay so this is a vertical grid and we have this main content area and then
25:42
down at the bottom we have a header or some sort of label okay um
25:48
so yeah i'm gonna use a vertical grid for this
25:54
okay so let's go back into here and i'm going to choose a vertical grid
26:00
and we had two rows and uh here i'm just going to go ahead
26:06
and i just do the eight augers of h3 that's fine
26:12
let me take actually no i'm just gonna no we're not
26:22
okay we're gonna go ahead and paste that in there
26:36
um so we have a wrote we put our header pals fine arts um and now i need um i need a container
26:43
or um something that has an image okay and um what i want to do is okay so instead of
26:50
this being an image it kind of needs to be dynamic okay because as you see as this resizes um
26:57
the image changes we see different parts of the image right so what does that tell me
27:02
that we need to use here we need to use a background image so essentially this is just going to be a container or a div
27:08
that contains a background image okay um so i've already set up a few swatches
27:15
that i'm just going to copy over i have this that has a background image of a wharf
27:20
the palace of fine arts in san francisco golden gate bridge all these are san francisco landmarks
27:26
i'm just going to copy these and we're going to paste them there okay
27:34
and then um what i'm gonna do is i'm just gonna set this row to uh this is i have the header here for
27:40
pallets of fine arts so i'm just gonna do bg dash palace
27:45
and there we go let's preview this okay so now i have my image um palace of
27:53
fine arts is down here but if you notice it's uh i want palace of fine arts just to
27:58
it's taking up too much space okay um and but we know how to fix that we go to this row and we set this one to be
28:05
shrink to content um on the header and what that will do
28:10
is um [Music] oh ha ha okay um next thing
28:18
currently um so this this vertical grid by default it's set to full browser height
28:24
all right um hold on your horses this is going to be a little um interesting to explain
28:32
um okay so this outer let's go back to uh the page here let's
28:38
talk about all the various vertical grids that we have okay i just want to note out that the
28:43
default height for a vertical grid is going to be full browser height okay but that's not what
28:49
necessarily what we want right now okay um we want them on this on this particular one
28:55
okay um let's go ahead and click here okay so let's let's talk about all the
29:03
vertical grids i i have added to the page right now so right now i have this vertical grid and the height of that
29:09
we want that to be 100 the height of the browser okay perfect um we then have
29:17
this vertical grid which we don't want that to be set to the height of the browser
29:23
because it's not right it needs to be the browser minus this okay um and then we have the third one
29:30
here um and what we want for this one and this one is we want it to be we want
29:36
it to fill the height of the container
29:43
okay so
29:49
this particular one the very top vertical grid we want this to be full browser height perfect okay
29:56
and then we notice we had this vertical grid which is the wrapper around
30:02
that entire area instead of full browser height what i want this to be is i want it to be full container height
30:10
okay so i want it to fill its container basically it's parent
30:16
okay then on this vertical grid i want the same thing i want it to fill its
30:22
parent okay so we're going to set those to be full container height now um this isn't going to work perfect
30:29
because we're going to have to actually add a couple other things but let's see what that looks like right now whoa that looks really jacked up joe
30:36
you told me to do that what's going on okay um
30:44
so let's back up a little bit um
30:51
okay let's uh here let's actually let's look at what's going on here
30:57
in the code okay so um here i have uh let's look here is the main wrapper
31:03
that is the height of the browser perfect um this one is the height of our menu perfect
31:12
this one is the height of the remaining area in the browser okay oh
31:18
that's correct so far okay well this particular one all of a sudden it's smaller
31:26
how do i get this grid here to fill this area
31:33
because i wanted i want this to fill its parent okay okay so what we're going to do is
31:41
that is this columns pro right here okay and luckily we have a really easy
31:46
utility class called h colon full okay if you look down here in
31:51
the class um we're i'm going to be using this class a lot in this layout
31:56
so get used to it h colon full it basically sets the height to be 100
32:02
percent okay
32:09
cool now um i know that this main area here i also want that one to fill its area
32:16
actually you know before i do that let's let's preview it okay cool well we're starting to look a little bit better right so i have this
32:22
area here it's now filling the space that one's that's my vertical grid that's filling
32:28
the space nice this one's filling the space still very
32:33
nice now let's actually make this a little bit actually what i'm going to do is oops just so it's easier to see
32:42
let's get rid of that like that
32:47
like this perfect okay so that's that that's this and down here we have this
32:55
and this is all starting to look really nice now right all by
33:02
i mean and and the crux of the problem was i needed to add um into that first columns pro i needed
33:08
it i need to tell it to fill the height because by default it's just going to take up the this the same height as its
33:14
content right and the content isn't much it's just a couple a small image and some headers
33:20
right so we need to tell it to expand out
33:25
okay cool um so we're getting there i now have this uh this kind of this
33:31
layout here um and yeah i have the basics of this
33:36
of this side of the site done right just the raw basics i know it doesn't look perfect there's still no none of the borders some of the
33:43
alignment is slightly off that's okay okay we're just we're just worried about getting the grid
33:49
uh the grid portion of the site done so now what we're gonna do is i'm gonna focus on this side of the site
33:56
okay um let's focus on this right column
34:01
i see someone in the chat said why didn't i use uh columns pro on the left side of the there there are
34:07
there's probably a million ways to achieve this same exact layout using different various components
34:12
um and swatches um this is just one way i thought it was a kind of a fun way of
34:18
learning vertical grids as well so um yeah there there's definitely more ways to build this
34:23
site in this layout using foundation six stacks okay um it's just one way is it the best way
34:30
i don't know you know um what is the best i don't know okay um so let's go ahead and we're
34:36
gonna focus on this area over here okay so this area
34:43
i see this um if we split this vertically okay we see that we have one section
34:50
uh two sections three sections so i see vertically i need to split this
34:58
um this space into three distinct parts okay
35:05
let's go ahead and do that
35:11
um now if you remember over here in this left main content oh i actually didn't
35:16
need to do that because i added h full there okay never mind all right so now we have this main content area
35:22
and uh we're going to add a vertical grid under the main content right and we have three rows
35:31
and let's just call this right content top
35:39
we'll call this one right content middle and down here
35:46
call this right content bottom okay uh the bottom one's super easy
35:55
right um we just set that to be or what did i use down here i just want to set it the same
36:01
just a header was h3 alright cool
36:08
just a header okay so we have a header down here and i know because we've done this twice
36:15
now that this bottom row i want it to fit to content okay so shrink to content
36:21
okay i then have these two middle ones here just preview that really quick
36:33
interesting oh uh vertical grid set full container height okay so we
36:39
want the vertical grid here to be full container height not full browser height okay
36:47
and there we go okay so now uh now i have uh over here on the right i have my thing down here at the bottom
36:53
but now we need to do this other content area up here okay um in this area here i think i just
37:01
what did i do over here i just had a header and a picture
37:06
just go ahead and add that over here enter picture boop into the top row
37:16
header picture okay now we have this this bigger content area down here
37:21
let me see what split i did before i'm just going to cheat a little bit i did 50 okay so this particular row here um
37:28
we're going to do we're going to set this to be 50 height and then this middle row is just going to be auto so it'll just
37:35
auto fill up the rest of the space there okay so let's preview that again
37:42
there we go so now we need it now we need to do this this content area over here okay which is which is kind of tricky as
37:48
well so we're going to focus on this area here and there's
37:53
definitely multiple ways to handle this um but let's go ahead and get rid of these
37:59
little boxes okay so we're going to be focusing on this area right here
38:06
okay and by default you'll notice that okay columns pro boom it's a two column okay so i have
38:12
two columns here okay uh this one's easy it's just a header right
38:18
and then the area over here um we're going to want to split that
38:23
vertically and then down here we're going to want to split that horizontally
38:30
okay so um let's go ahead and take care of all that
38:38
okay so in this middle row uh we're gonna have a columns pro boop
38:46
and i said we have two columns in there now you'll notice that in here i'm going
38:51
to keep the the medium it's just set to auto because i want it to be 50 auto is fine
38:56
um but if you if you ever wanted to change that split you know i could like set this to be you know 50 if i wanted to um but yeah
39:04
um so there we have two columns here okay um and this particular one is just going to have a header but you know i don't
39:11
want to give you a sneak peek of what what else goes in there right now let's just go ahead and uh i'm just
39:17
going to chuck this header in there okay i'm going to make it an h2 so it's a little bit bigger
39:23
okay then over here in this and this is the second column right over here and what do we have well
39:30
we have a vertical grid okay so let's go ahead and do a
39:35
vertical grid um we're gonna split it evenly okay so i'll just set
39:41
this one to be uh i can do auto auto i'll just explicitly set it to 50
39:47
and auto um and then this vertical grid we don't want full browser either we
39:52
want full container height on that one as well okay um this top one i think it just had a
39:58
header in there so we'll drag that in there and this bottom row well guess what it
40:05
it had another two column in there right right so um so up here was
40:10
just a single over here down here was two columns okay so down here we have a in the
40:16
second row here we have another columns pro had two columns this one down here
40:25
um since this we're now getting a little short on space let's just do shop because that one that
40:30
was what the shop was okay and in this column this is the column that has these four buttons
40:37
okay now how are we going to do that there's a couple different ways we could try to split this with vertical
40:43
and whatever there's much easier ways uh there's probably two different ways you could do this you could either use a block
40:49
grid or you can just use a column pro with four columns okay um i am just going to use a columns
40:55
pro in here um with four columns and actually what i can do is i'm going to set
41:00
the columns to use 50 okay and um
41:08
here i will cheat a little bit just because i don't want to find the icon things anymore um
41:15
here you'll notice that there's these one
41:20
columns we'll we'll get into why i have one columns in there in a little bit okay um
41:29
now let's just do like that i just want the icons really
41:35
quick all right add in the html now you'll
41:41
notice we don't see the icons well that's because i need to go up in here i need to add font awesome five css and
41:48
fonts we also need brand icons
41:53
okay and then voila we magically have our um and i needed four columns here so
42:00
two three four that's uh boom boom delete
42:10
actually i'm gonna save this project just in case we'll just call it live
42:16
okay cool um and then let's go ahead and move the facebook icon and move the
42:22
pinterest icon and move that icon okay
42:29
preview voila okay so we have all of our main sections
42:36
now we did a lot of the hard work okay now it's just tweaking things
42:42
um so here i've split up my uh my grid up here okay so this one takes up 50
42:48
okay um here let's actually do that little inspector so we can kind of see that since we're looking at the right side
42:57
um okay so here is my vertical grid right that
43:03
fills up the entire area inside there there's that top area that takes up 50
43:09
then we have our auto area that takes up the rest of the space that isn't filled by this shrink okay
43:15
the header down at the bottom if we dive into this area here we'll see
43:20
that we have a two column area okay and if you notice actually there's
43:26
going to be a little problem here so because i know i'm going to want these columns to fill the height
43:32
of this vertical area okay in this column's pro stack right here i'm going to want to set that to be h
43:37
full right so let's go ahead and do that really quick uh so i think it was this one right h
43:45
colon full okay now if we go here
43:59
oh that wasn't the right one
44:05
auto on i want row oh
44:12
that's not what i want i'm sorry i did it in the wrong spot okay we wanted row middle
44:20
this columns probe right here this one needs to be h full
44:28
there we go okay starting to look a little bit better here okay so now um that's filling up the area
44:35
that is our left column our right column okay this is the vertical grid that then
44:41
splits it into two okay um and then this one has the two
44:47
column which we'll notice i actually needed the h full on that one you'll notice that um it doesn't fill the height of that
44:54
vertical grid okay so we're going to go into this one and do h
45:02
full on that and
45:10
there we go and then that is our first column and our second column okay
45:17
nice now if you notice here um these these buttons actually let's look at these buttons
45:24
they don't properly um let's work on the alignment of these because if you notice they're
45:29
they're kind of not correct okay so what we're going to do here
45:34
is oops not here actually i want to make sure i rough because i'm going to give you guys this project that i already made so i
45:40
just want to make sure that it's it does what i thought ah okay okay so um what i did here um because we
45:48
don't have a vertical grid okay uh in here i just use columns what we're going to do is we're going to set
45:53
the height of each column to be 50 okay so um all i can do is i'm going to
45:59
go into uh the columns for each of these so i'm going to i'm going to select all four columns and i'm going to add h
46:07
colon 50 to the class right there h colon 50. okay kind of like h colon
46:14
full does i you know price it in each colon 100 but h colon full and then h colon 50. okay
46:21
and um let's preview that now
46:32
[Music] all right so here on this uh ultimate
46:38
column i can actually act each colon full on that as well and then there we go there we go okay
46:47
let's go to the inspector okay so here is the here is the column
46:54
here is the columns pro that contains all four of those okay and then you'll notice that voila
47:01
um they're kind of more evenly spaced out now cool
47:08
hey our grid is pretty much done okay now we just need to start doing some
47:13
styles and alignments and and stuff okay
47:19
so one thing you'll notice that on this site pretty much everything is center aligned okay now um
47:26
i didn't purposely go you know i could go to each header and say um you know text align center on all of these
47:34
or i could just go to the very top of the page go to the very the vertical grid that
47:39
contains the entire page and just say you know what i want all of my content to be center aligned
47:47
and voila it's all center aligned now with one setting okay you don't need to go to
47:54
each individual one okay again i went to the very vertical the very top vertical grid that
48:00
basically wraps everything and as long as you know you can override that like if i wanted this
48:05
one to be left i can set it to something but as long as everything in here says inherit okay it will inherit from whatever sets
48:13
the alignment on the text so this vertical grid i set it to have center alignment and voila
48:20
it magically center aligned all the text
48:29
so someone noticed he didn't know you can add the same class to something multiple times
48:35
you can however um let's say uh let's say this one is has a
48:42
let's say this first column has a class that the other ones don't i don't know hello okay
48:50
and let's say i go okay i want to add a new class to all of these
48:55
i select all of them now the first one i said had h colon50 hello the other ones just had h colon 50.
49:04
so if i add that now and let's close that out and go back to this one you'll notice
49:11
that um they all now have the same one right because uh they all get hello as well now so
49:18
um they multi-selection of things work you have to make sure whatever value you
49:24
enter in is gonna literally be the same on all of them so if i change this this this setting on
49:29
all of them it's going to change all of them right and the same thing works for delete so i'm just going to go ahead and select all of them
49:35
i'm going to delete hello and another and now all of them will have um h50 there we go so cool
49:43
yeah and that's just holding on the command button i got to turn off my space heater
49:50
okay that thing was cooking my butt man sorry um probably tmi sorry
49:59
uh okay okay so there we go this is where we are at right now okay
50:07
um let's start working with um some of the vertical alignment of items
50:13
okay so for example this svg um it's not vertically aligned right if
50:20
we uh go ahead and let's look at this over here
50:26
okay
50:32
all right so here i have some content um and if a you'll notice that this doesn't
50:39
grow to the height of the container right so we have this this particular columns pro
50:44
it needs to grow to the height okay um the reason is i want to vertically center these things
50:49
in order and in order to vertically center it it needs to be the height of something because right now it's just the height
50:55
of the content okay so let's go ahead and fix that really quick i didn't i missed that one earlier that is this
51:02
columns pro here so we're going to do h colon full on that and let's preview again
51:12
okay and there we go okay so now now that's full height we have that and that but if you notice
51:19
the content um isn't vertically aligning okay and um so now i'm going to show you
51:26
a trick that is going to be um important okay so what you might think you would do
51:34
is this you would go to this columns pro and he'd be like hey you know i know that columns pro has a vertical align
51:40
option i'm going to set that to be vertical align middle should be done right
51:46
score okay that will work okay um if you if you don't now but on
51:53
this side you'll notice that in the full design this box is white okay so i'm gonna go ahead and let's let's make
51:59
this box white and we'll see what what happens so in this column i want this column to be
52:04
white so we're just going to add bg colon white okay it's a utility class right down
52:11
there bg colon white
52:17
enter makes the white background beautiful preview what the heck dude
52:24
what happened i thought we made this um full height what's going on here
52:31
well the way that um the way that vertical middle happens
52:39
is it makes the columns the size of their content and then vertically aligns those columns
52:48
so while that's while that is great when we don't want to actually see the column like add a background to
52:54
the column it's a headache when we when we do okay so what's what's the workaround and this is going to be a common workaround
53:00
okay um so i'm going to do is i'm going to go to this columns pro i'm going to turn off vertical alignment okay
53:07
the default will make the columns go 100 height right which again we get back to this now i have a white background but all my
53:14
content's back up at the top now so how can we now get the best of both worlds how can i get vertical align the
53:20
content and um color my columns well in order to do that we just need to
53:26
add another one column okay so what you can do is you're going to add a one column in here
53:32
okay and then we're gonna set the one column to be h colon full
53:39
and then i'm gonna set the vertical alignment on this column to be middle
53:47
and that is going to be how we get it done okay so you see there
53:53
now what it's doing is it's the one column is filling the height of the column pro and then vertically
54:01
aligning the the content okay so yeah it does in order to do that
54:06
it does take one extra one column okay and what i'm going to do is i'm
54:13
just going to we're going to be using this in a few places so i'm just going to copy that we're going to put that right
54:23
i'm gonna there that right there uh we're gonna put it
54:30
right here we're gonna same exact thing
54:36
oop i'm me do that um let's preview that so now i have my
54:43
this this is vertically centered oh we want to make sure this is vertically centered and this is vertically centered and uh
54:51
oh this needs to be a white background over here let's go ahead and let's do that really quick so this we're gonna make that bg white
55:02
okay so that's white okay um
55:09
and then down this particular one here uh we do want vertically centered will work on this
55:15
one i believe no oh
55:21
not on that one hold on one second uh inherit it's on this one my bad i think we could do
55:27
vertically aligned middle on that and it will work there we go okay so i have my buttons
55:32
um and the vertically and the all the icons are vertically aligned sweet okay um
55:41
uh let's see i'm gonna need uh i'm gonna need my little my little center content
55:48
center or there you know maybe this maybe this little one column will make a good template like it's just a you know it is a very
55:54
simple thing but it works you just need h colon full and set the vertical line to be middle okay um so
56:02
there we go and do i need it here i think i might need it here too
56:08
vertically center that bad boy uh oh and this one
56:23
boom okay we're shaping up here all right so now all of our content is
56:30
vertically aligned properly okay uh we have our sidebar let's start adding all those
56:36
borders okay so if you notice there's all kinds of thick borders everywhere okay um
56:44
and i've created a bunch of swatches for this okay um so let's just go ahead i'm gonna
56:50
copy them over
56:58
here paste those there and let's look at them
57:04
okay first i have border all okay um and let's look at this essentially um
57:10
it takes the swatch color black and it sets um border size simple on all
57:16
sides 10 pixels and on all sides solid okay if you're curious i earlier on
57:23
today i said i added a couple things um it was for these borders this side setting doesn't exist in
57:29
currently in this production version um and that's important because like on this border left class that i created
57:35
um i only want to apply a 10 pixel border to the left side okay um just a little
57:42
small tidbit before i hit detailed and what i did is i set this to be 0 you know 10 pixels left and then 0 0 0
57:50
on top left and right however um i couldn't i couldn't use this
57:55
by just adding um you know let's say i wanted something to have a border on the top and a border on the right
58:01
um i couldn't do that because border left and border right would would cancel each other out okay
58:07
so long story short there's now in there's going to be a new simple uh setting with this side by default it'll
58:13
be all which is the current behavior you can actually define the side that you want to apply
58:18
um it to okay so this one sets a uh a left
58:24
border of 10 pixels obviously the class of border right sets a right uh side same thing for top and bottom
58:32
now you notice i also have a set of classes for small border um we'll get to what those are for in a
58:38
little bit essentially it's the same thing it just sets the border to five pixels instead of ten okay all right so let's start let's
58:46
start adding our borders to all kinds of stuff okay so first off we're going to add a
58:51
border all around the menu because um let's go here we have a border around
58:57
the menu okay so that's true so we have a border all around the menu
59:03
um i'm going to go ahead and say a border all order dash all
59:12
boom we have a border around the menu okay now this content area um this main content area i don't want a
59:19
border on the top i can't use border all here let's show you really quick
59:24
so we do this main content row um yeah let's let's set border all on this
59:32
border dash all just so you see what's going on okay so i have a border all the way
59:38
around but if you notice this border up at the top it's too thick now because it's doubled
59:43
over right so um what i can do is instead of border all i'm going to set border dash left
59:50
border dash right and border dash bottom okay so it's very
59:57
explicit but that gives us exactly what we want now
1:00:03
okay so now i have all of those borders okay so we're getting there look it start
1:00:08
it's starting to look like something okay now let's focus on this left side area here
1:00:14
okay essentially i'm going to want a border all the way down this this middle part this middle section
1:00:19
right so let's go ahead and find this left uh main content column okay and i'm
1:00:24
going to set a order dash right on that
1:00:32
voila so i now have a border right there okay we're getting there um then um in this vertical area here
1:00:40
i had a border on the um along this this top area so um actually we're gonna we're gonna need
1:00:45
two we're gonna need one that splits this and one that splits that so let's go ahead and find those spots right there
1:00:52
um that is right here we're gonna do um order dash top
1:00:59
and then on this we're going to do order dash top do that okay
1:01:06
preview that we're getting there right so now i have my border here my border there now i need a border down
1:01:12
this middle flank right here okay and that is just on this on this
1:01:17
where the icon is i'm going to set that to have a border dash
1:01:22
right voila right magic is happening
1:01:28
okay now let's focus on this side obviously i want to have um a border here and a border here let's go
1:01:35
ahead and do that okay so on let's see on this
1:01:42
i want to have a border dash top and
1:01:50
middle row we're gonna have a border top there boom
1:01:56
okay we're getting there all right now on this side i want to border down the middle here
1:02:01
right and then a border here let's go ahead and do that
1:02:07
so down this side here i want to have a border right
1:02:17
let's just make sure i did that correct yep boom border right and then um okay then on this one on
1:02:24
this row i want a border top
1:02:30
order top nice and then here i want a border
1:02:35
top as well no i want border dash left sorry left i think right
1:02:43
yes okay cool now now it comes this area here okay where we have these little icons
1:02:50
um and so just because the way we built these um it's going to be a little different
1:02:58
okay so you might think that um oh look twitter i'm just gonna add a a um a left border and a bottom border
1:03:05
and on youtube i'll add a uh or a right border and a bottom border and on the youtube i'll add a left
1:03:11
border and a top border that's actually what i tried first right let's do that really quick so this one we're going to have on the
1:03:17
twitter we're going to have border dash right and border dash
1:03:23
bottom okay and then on youtube we're going to have um
1:03:29
dash top and border dash left okay
1:03:38
you notice well that didn't work did it did it uh well also if actually if you notice it's actually the borders aren't aren't
1:03:45
um aren't doing what i would expect
1:03:50
what's going on there what happened what happened what happened
1:03:57
hold on one second hmm all right some small differences
1:04:06
oh by setting that vertical okay because aha remember on this um on
1:04:12
this column i set vertical align middle well that that gets a that stops our
1:04:19
our height that we set on all of these okay so we're gonna have to do that one column trick again for this particular layout so
1:04:26
we're going to set the vertical line back to inherit okay and then i'm going to need this
1:04:31
little one column trick
1:04:38
i'm just going gonna paste paste and paste and then move that into there
1:04:46
move that into there move that into there move that into there and if you guys are
1:04:54
wondering this these icons are just font awesome five snippets that's all they are there's nothing nothing special in there
1:05:01
they're just font awesome five snippets okay um okay so
1:05:07
now let's preview this there we go so this is the problem i was i was coming up with i was like oh
1:05:12
shoot because i was kind of expecting oh maybe that would all work out and i guess you could maybe put a bottom border on the facebook one
1:05:19
uh but yeah it just wouldn't work out okay so um that's why i then came
1:05:25
up with um the small borders so basically what uh what we're gonna do here is we're gonna do um
1:05:32
well i said small dashboard or i forget the new classes that i i called it
1:05:37
um small dash border dashboard so it's just small dash all of them okay so now we go down
1:05:44
over here and so this twitter one i still want the bottom the board right and border bottom but
1:05:50
i'm going to add small
1:05:56
all right and let's just copy that to make it a little bit easier and then on the facebook one
1:06:04
going to want the border on the left and the border on the bottom
1:06:11
okay and then on the pinterest one we want the border on the right and the
1:06:18
border on the top okay and on the youtube one
1:06:26
we want it on the um left
1:06:33
and the top okay and so there we go
1:06:39
by essentially adding a five pixel on both sides we get the same of the same sizing of
1:06:45
border right so we're adding the two five pixels together to make ten so that it all looks uniform
1:06:54
um are you applying the borders to the column stack yeah i'm applying it to the individual column stacks
1:07:00
right so this stack in this stack in this stack in this stack um some of these ones here like this
1:07:06
particular one that goes the entire side i put that one on the vertical grid
1:07:12
right because um that was just the it's the container that is the entire
1:07:17
height so instead of putting a left border on this box and a left border or right border on this box this box and
1:07:23
this box i just put the border on the surrounding container right
1:07:29
cool man i've already gone an hour um and i still have more to go um but we've we finished actually
1:07:36
building out the layout of this right i mean the the grid is done okay it is pretty much identical
1:07:46
right obviously the typography is different okay um so um if you want to stay on i'm gonna
1:07:51
i'm gonna keep going and finishing the rest of the stuff that i did okay and that is showing you how to do this
1:07:58
cool little slider as well as showing you how to build this little light box thing and also this hover
1:08:04
effect okay i guess first
1:08:10
we will do the hover effect okay
1:08:21
um and to save myself a little bit of time um i have um some swatches pre-made
1:08:34
all right so here's a few swatches um that is going to do everything we need okay so anything i
1:08:39
put a hoverbox class onto we'll get a few things a on hover the
1:08:44
background color will be black okay um and then on
1:08:51
um on i'm gonna change the text colors to be uh the uh kind of that cream color
1:08:59
okay um and then also um i'm gonna change the secondary and
1:09:04
actually in site styles i'm going to go ahead and set the secondary color to be that that same off-white color
1:09:12
okay so um for some reason i would i would have expected this text
1:09:17
color swatch to also affect the font awesome icons sadly uh it wasn't for some reason and
1:09:24
um i was i was running out of time to figure out why exactly so um i just simply created another
1:09:30
one more font color swatch that forces on hover the font awesome icons to
1:09:35
use that secondary color which is what i just set okay you could also just do color swatch and then set the color here okay but
1:09:42
i said it'd be secondary okay and then we have a transition so that um
1:09:49
if you know the background color changes it just doesn't change it actually has like a nice little fade transition
1:09:55
okay so that is that's all the swatches that we use for hoverbox okay and again all i need to do is add
1:10:02
hoverbox to the various components so let's go ahead and do that so the first one is here this particular column
1:10:08
here all i'm going to do is i'm going to put in hover dash box
1:10:13
and that's it now when i preview there we go
1:10:21
now i'm going to add it to all of these other ones right so i'm going to add to this one this one this one and this one and actually all of in all of these
1:10:28
icons okay so let's go ahead and do that um i don't
1:10:33
think that site had it on the one below the slider did it no it did not but it had it on all of
1:10:39
these not that one and that one okay let's replicate it
1:10:45
um so this one we need hoverbox on there
1:10:53
okay and in this one we need a hoverbox on there and then in
1:11:02
this one we need a hover box on there and this one need a hover box on there
1:11:10
and in this one we need a hover box on there and this one you need a hover box on
1:11:15
there and hover box on this on the shop
1:11:22
and then we had one on this bottom one as well okay
1:11:31
there we go look at that
1:11:37
slick come on guys that's cool where's the round of applause right i see a bunch of questions here
1:11:43
let me look at some of these questions first um is there a video on swatches tricks
1:11:50
that you're using uh there's lots of videos michael on various swatches um check those out
1:11:57
uh how do these borders behave when you collapse on mobile um so uh i i haven't taken the time to
1:12:04
to you know collapse things on mobile um you might need to um you know with the with the swatches
1:12:10
as you saw in that you probably saw that didn't work too great um in this you can target various sizes
1:12:15
so inside media query you can target small only medium only and stuff like that so
1:12:21
um so yeah you can create your own swatches that target a border on a particular um
1:12:27
size right so you can definitely do that
1:12:32
so yeah in this particular example uh here let's just shrink it down so we can see um yeah a lot of these borders don't
1:12:39
make sense any longer right so we'd probably make it medium only or large only or something like that
1:12:44
okay so um but it's possible you know in swatches just takes a little bit more work okay
1:12:54
um okay hoverbox i think we got all the hoverbox done right didn't i didn't i get all that done
1:13:02
yeah command s there we go command s boom um okay so now what let's
1:13:09
work on um that lightbox effect
1:13:15
okay so um we're actually not gonna here's a little sneaky thing we're
1:13:21
actually not gonna be using a light box for this um we're gonna we're gonna trigger it i'm gonna trigger it by clicking on this
1:13:28
right here here let's just do i think that is what cheddar is that i think it's this one
1:13:34
yeah um click this to open
1:13:41
um the my box content
1:13:49
click the wrong button click this to open i can type this to open the
1:13:57
right box content
1:14:02
okay there we go all right did that okay good so i'm gonna make it so we click on this
1:14:07
and it's gonna open something okay but we're not gonna use a light box and that's just because
1:14:13
we're going to use something else we're actually going to be using a drop down okay um and here actually i'm just going
1:14:20
to i'm going to be a little bit quick i'm just going to take this drop down
1:14:26
drop down okay and what's important is the placement of this drop down okay
1:14:32
this drop down doesn't really have much um um special to it um i i made the
1:14:39
background black i made it the alternate colors um i have a i have border none which is
1:14:46
another utility class and then i have drop content which we'll look at that in a second okay but just to save me a little bit of
1:14:53
time we're gonna add this uh right uh i need it above this but let's
1:15:02
just go ahead and add it right there i'm gonna move it
1:15:08
right there okay so it's it's very important um this the the
1:15:14
position of this drop down okay um so if we look at if we look at the site and we click on
1:15:22
this you'll notice that this fills in this area
1:15:27
okay and it can scroll okay but it fills in this area only it doesn't cover it doesn't cover the menu
1:15:33
um it only fills in this area and what is that area it is this right
1:15:38
here the main content right okay so essentially um i'm gonna set i i
1:15:44
added our drop down uh we're setting it to size mega okay um we're gonna set it to be it doesn't
1:15:51
really matter the position because we're actually going to override the position with the position swatch okay um and that is using this drop
1:16:00
content swatch so let's go ahead and over here i created a position swatch okay
1:16:08
that uh let's go ahead and add that to our code here okay um so what this does is
1:16:16
this position swatch i call it drop content okay because it's our drop-down content
1:16:21
um and we're gonna we have to set this to be relative to parent that is very important we don't want it
1:16:27
relative to browser okay and the reason i can't use a light box is light boxes will always be
1:16:32
relative to the browser window okay um but drop downs can can be
1:16:37
wherever we place them okay so we want it to be relative to the parent
1:16:43
and again the parent in this case is that that entire right column that we created
1:16:50
okay so we're setting it to be um top bottom left and right zero so
1:16:56
basically what th this position swatch will force the drop down to stretch and fill the entire area of its parent
1:17:07
okay now i upped the index to 10 not sure that was really necessary but um okay so that that
1:17:14
creates our drop down also i added a close button in here um in order to uh you know close the
1:17:20
drop down okay um also you want to make sure drop down close on click is enabled as well
1:17:25
okay there we go um so now how we gonna
1:17:30
launch this because right now i need to be able to click on this um this box here and launch it okay because you can't
1:17:37
obviously see it on page load okay so let's go down to this so how can
1:17:42
we launch a drop down well the easiest way is with the launcher stack so i'm going to go ahead
1:17:47
and add a launcher stack and i want it so you click anywhere in
1:17:53
that square and it'll launch it okay so let's go launcher um open drop
1:17:58
down is the default the drop id is drop one um if you're going to be doing multiples of these
1:18:04
we're going to make sure that each drop down has a unique id and you change that unique id here
1:18:09
okay so let's preview that um so click on that and oops oh
1:18:16
interesting okay so that's really cool i'm actually glad i this happened so if you notice it went
1:18:22
the full page well maybe that's not what you want right um because we only wanted to fill
1:18:27
this area here but if i go into the the this right here the uh content no not
1:18:36
content middle sorry i want this one right main content right okay i need to set this to be position
1:18:42
relative okay so that the drop down knows that it
1:18:48
needs to be relative to this to this main content area for you that again click on this
1:18:54
voila and also because that close on click if i click anywhere else on the page it'll close
1:19:00
so yeah i can either click on the close button or i can click anywhere outside and it'll close
1:19:06
that's really cool now you might notice when i added that launcher stack um this text in here was no longer
1:19:11
vertically centered okay and um there's an easy fix for that
1:19:18
in this launch in this launcher stack we just need to make that the full height of the container h
1:19:26
and there we go
1:19:34
there we go so cool now probably this alt text is white probably should be that that off-white
1:19:41
color right let's just fix that really really really quick so if we go here i want my alternate
1:19:46
text color to be that
1:19:51
there we go there we go now it matches
1:20:00
although the header is off that's uh alternate header color as well
1:20:10
there we go there we go right really really cool
1:20:19
loving it so i'm not going to do it for all you know on the main site you know all of these
1:20:25
launched a different area okay with their own special kind of layouts
1:20:31
right just just has some image and some text and whatnot okay um i mean i i did it once here uh you
1:20:37
can figure out how to you know do the same thing with these okay and obviously these twitter icons will just be links
1:20:43
and there'll be links to your twitter and facebook pages and all that jazz right okay
1:20:51
we're getting there the last bit i said we were gonna do it last is the slider okay
1:21:00
um okay so we have a slider here uh first let's get the slider working and we'll do these buttons the buttons
1:21:06
last um this one also has a slider up here i'm not gonna i'm not gonna build this as a slider i'm just gonna do this one
1:21:13
essentially it's going to be the same thing in this area just build your other whatever other slider you want okay
1:21:26
okay so this area here is we need to add a slider
1:21:32
okay so let's go ahead and add a slider stack
1:21:40
okay and then you know i already built these
1:21:47
slides out i'm just going to go ahead and copy them from this project
1:21:58
slide slide
1:22:08
slide we go just delete that delete that all right so now i have my um
1:22:16
my slider um and in the slider we're also going to want to make sure that it is set to be h
1:22:22
full because we want to be full height of this vertical container oops
1:22:29
right and then also in each slide i also have it set to h full okay that's important because each slide
1:22:36
contains its own vertical grid okay so it needs to be able to know that it needs to fill
1:22:41
all the available space that it has okay uh
1:22:49
actually you know this vertical this slider needs to be
1:22:54
there not inside that vertical grid all right
1:23:02
all right so now we have the slider that is going to be full height of the slider container
1:23:09
okay um let's do let's do set auto play we also want to use nav controls
1:23:16
um and we'll loop the slides okay there we go and so at the bottom
1:23:23
let's add some navigation control slider controls there we go let's use the default
1:23:29
controls for now let's preview that
1:23:35
um whoops what i do here okay so we have this h full
1:23:44
h full let's look at what i did over here
1:24:02
um what did i do different this one works all right
1:24:12
what did i do all right well let's uh go ahead and preview that
1:24:21
okay what did i do wrong so that's the height i uh sell auto so that fills the
1:24:27
container that's the that's the slider that's correct oh orbit okay there's one yeah i forgot
1:24:34
about that uh ah here it is um in order to do this
1:24:40
basically um there's one thing that we don't have access to to add a class to add that h full um so we need to
1:24:46
explicitly do that here so there's a there's something that foundation adds called orbit container that we need to make that
1:24:52
fill the height okay let's go ahead and uh just put that swatch in there
1:25:01
all right voila all right so now we have height okay now if we preview voila
1:25:08
magic okay um and actually you know what the default slider controls actually look really nice um i think they they work
1:25:15
really well um for this um okay but let's go ahead and
1:25:20
um get those slider controls up here that mimics pretty much that other site exactly
1:25:26
and this is a little complex actually to be honest um it it takes quite a bit of swatches to
1:25:31
move these bad boys up here okay but uh let's do it it was that was
1:25:36
fun thing this morning actually it was kind of good time um i'm going to go ahead and just uh let's copy this
1:25:42
slider buttons okay
1:25:49
so there's quite a few there's quite a few things here um and also um one thing i did do is
1:25:56
i'm just gonna where where you put the icons you can also use um
1:26:02
actually i'm just gonna copy this slider controls you can put in font awesome icons so we're gonna go down
1:26:08
here and instead of these default html um you know entities we're gonna i'm just
1:26:15
gonna paste in the the ones that i had so this has um the left arrow from font awesome
1:26:22
and the right arrow from font awesome okay and what's kind of cool here um whatever classes you add to this
1:26:28
will be classes added to both arrows or both buttons okay so um i wanted bg
1:26:35
white and i also wanted that hoverbox effect that we already created okay so i added hoverbox and bg white to
1:26:42
the uh to the buttons okay to these slider controls
1:26:47
and let's look at what else we did to these slider controls um so since i'm using font awesome icons
1:26:55
um i could just use the font style swatch so i use the elements
1:27:01
under elements you can choose slider next and previous okay and then set the size of those to
1:27:07
be 32 pixels so that sets the size of those arrows okay
1:27:12
um and then i i wanted to change the position okay because here let's just preview this really quick
1:27:18
by default they're they're they're centered on the left and the right well i wanted their position to be different i wanted their position to be
1:27:25
up at the top left corner here okay so um i i did a position swatch
1:27:32
for um the next button and a slightly different position swatch for
1:27:37
the previous button because the previous needs to be needs to move to the uh from
1:27:42
the right 60 x 60 pixels right so this this previous button needed to be 60 pixels over
1:27:49
um in order to for it to look proper okay this is the one line of css that um
1:27:56
i had to do in order to accomplish this um so we need to disable some auto centering
1:28:02
that was happening um so in order to do that we need to set transformed none on those um so that was the one line of
1:28:09
css we can't do with a swatch yet okay yet it's the key word there
1:28:15
um then i had borders right so i have order uh orbit previous has borders on those thighs
1:28:20
orbit next has borders on just the bottom okay if you notice the swatches for these um
1:28:25
i just choose element okay so if we look up here okay i choose element in the swatch selector and then
1:28:32
you can choose next previous previous and next you know so you can you have a lot of flexibility
1:28:38
there this one was set to next okay um i set the font color um by default i
1:28:46
wanted to be the the black color for the icons um and then on hover i wanted it to be the
1:28:51
secondary color which is that that uh off white okay and then um
1:28:56
and then oh i wanna on hover on i had to do two different ones one for orbit next and one for orbit previous on hover i
1:29:04
wanted to set the swatch to be secondary okay so while there's a lot of swatches
1:29:10
for those there's nothing like crazy it was all incremental it was like okay i want to change the
1:29:15
color okay now i want to move it up here and um so you know i don't want to take
1:29:21
the time to just you know to implement these you know logically for you guys hopefully you guys can see the logic
1:29:26
there and as you see there we now have the slider
1:29:32
um that goes next previous the entire grid elements here um this is a really really really really
1:29:40
cool project um yeah all doing all done 100 out of the box foundation six
1:29:47
hopefully uh you know this guy gave you guys a little bit of you know hopefully it didn't bust your
1:29:54
brains or anything like that but um i mean how did i tackle this it was
1:29:59
just little bits at a time it was just looking at okay i have this page right and then i broke it up okay first i need
1:30:05
to break this into a vertical column or vertical grid and then i need to break that further down into two columns
1:30:11
into three columns okay will this template be on weaver space yeah um this won't be a template although i'll just upload the project file to
1:30:18
weaver space and you can i'll probably call it like f6 grid site or something like that
1:30:23
um i might i might massage the the one a little bit with some things i actually did better on this live stream than i did in the project i
1:30:29
built so um i'll probably do a little bit of massaging this afternoon and i'll upload it to the foundation six product page
1:30:36
just go to the download sections and like i said i'll call it f6 grid site or something like that okay um
1:30:43
so yeah it'll be uploaded hopefully um again just going back to my thoughts
1:30:48
how did i build this it was very methodical it was just taking this massive page not even massive page for
1:30:55
this page and breaking down the layouts right what do i need what tools do i
1:31:00
have at my disposal to accomplish that need right and so hopefully this helped you out
1:31:05
um i thank you for the a lot of great comments everyone seemed to really enjoy it um so yeah hopefully we'll see you guys
1:31:11
on friday if you have questions about this or you want to you know tweak this anymore maybe we could play with it more
1:31:16
on our friday hangouts live where we can kind of do it all interactively that could be a lot of fun
1:31:21
hopefully uh you enjoyed this and learned a lot and we will see you guys hopefully on friday at the hangouts if
1:31:27
not we'll see you next week um on next week's live stream take care everyone talk to you later bye