0:00
I summary it was weird i rebooted and then like when I launched my wire cache
0:07
the app that I used to do my streaming it just kept bouncing right and never finished and I launched Chrome to get
0:13
into the into the stream and it would just keep bouncing too so weird
0:30
well okay there we go
0:40
feedback going on here oh it's on my phone to post the comment to you guys I
0:48
opened the livestream on my phone and I was like well how come I'm hearing myself okay sorry about that man my
0:57
audio seems a little bit hot is it I didn't change my any my settings from
1:03
previous weeks but let me know I'm in the chat let me get the chat room open
1:08
really quick pop out chat sorry have all
1:17
this stuff set up beforehand I just had to reboot cool excellent man we got a we
1:25
got a busy chat room today audio slightly hot okay tweak the audio a
1:35
little bit hopefully that'll maybe soften it a little bit okay man I guess
1:42
a lot of people want to chat about foundation 6 menus huh cool I don't have
1:49
too much of an agenda today I just I just thought I would jump on start
1:55
playing around with menus I know there I have a couple things people I know have been asking a lot about and so yeah I'm
2:03
sure we're gonna hit stuff like you guys do Prague and ask me questions and then and wanting to know how to do this and
2:09
that and it'll probably turn out to be you know make some nice updates for menus you know I'm thinking one of the
2:17
big things for a foundation 6.2 will probably be some overhaul of some menus
2:22
to make there are some options I intentionally just I didn't add just to
2:27
get the things out the door right so there are missing options I've added a few as people have asked but um you know
2:33
there's definitely a lot of features that are in the framework that I haven't added to the stacks yet so yeah
2:41
hopefully uh yeah hopefully we'll cover some of those today I'll start off by looking at
2:48
something I know a lot of people have mentioned that they've had some issues with and that's with hover effects right
2:57
so they're getting just the hover effect excuse me on the menu someone someone on
3:03
the on the community today also asked about how can I have a menu where like each menu item is a different color so
3:10
maybe we could do that that's pretty simple to do and yeah so I'm gonna do
3:15
those two things first we're gonna look at hover colors um so you know hover effects when you hover over the menu how
3:21
to change those colors and I'll be honest I'm some of the stuff I haven't really played around too much
3:27
I know how how I would do it so it'd be kind of be fun to kind of just play around with this live and I'm sure I'll
3:34
find bugs while we're looking at this stuff or some things that could be made better and I'll definitely make sure
3:40
that we make them better so without further ado let me go ahead and I haven't even launched wrap Weaver yet
3:46
let's go ahead and do that we were going
4:04
with my sandbox project screen on my
4:14
left is when I rebooted it it always goes to 100% it is blinding
4:32
there we go okay um all right let's gotta shrink this window down a little
4:38
bit
4:45
okay there we go rapidweaver
4:55
well maybe we could look at I think I went over the foundation there are the total CMS menus before but we can
5:01
possibly look at that again as well you know one thing I want to do is
5:19
OOP let's just do that there we go okay
5:25
now that little Weaver space solo goes not not in our way someone commented
5:30
before they liked my video better on the left um oh uh oh look at setting that up
5:36
again well I was just playing around thought maybe on the right would look okay but anyway hey so let's build out
5:44
um let's look at some stacks here okay
5:54
so let's just for now I'm just gonna use the default menu stack right now there
6:02
is our W menu and I think that something that I think confuses some people is you
6:09
know how do you bring in their rapid eevr menu into you like a drop-down and stuff like that right and if you want to
6:17
do the rapidweaver menu so the menu that's built out via the wrap weaver pages list you have to use the art of
6:23
view menu and this is a lot more set a
6:29
lot less settings than the normal menu stacks so this you could basically say
6:35
you know do you want a menu drop-down drill down or an accordion right obviously drop-down drill down an
6:42
accordion and menu are separate stacks on their own right and because of that
6:48
there are a lot more settings if you manually build out your menus okay the
6:57
reason for this is that the way Rapp Weaver generates a menu is a little bit
7:04
it doesn't give me control over over as much control as that would need okay
7:11
therefore I have to kind of automate some things when we're using the wrap
7:16
Weaver menu I have to assume some things and not give you guys controls controls for other things so so yeah that's why
7:24
the wrap mover menu um is doesn't have as many settings so I'm thinking about
7:30
maybe in 6.2 maybe doing a RW men you are debut drop-down RW drill down an
7:35
RW accordion to try to give you more settings I don't know no promises but
7:41
it's something I'm going to be playing around with see if I can I can do that so I know using the rap Weaver generated
7:47
menus does make things easier because you add a new page and then automatically adds things to the menu
7:52
you don't need to worry about it right but yeah it is will have more control so
8:00
for all of today um I am gonna be using the non rap Weaver menu stacks because
8:06
um they will give us a little bit more control over style options and things
8:12
that we're gonna want um so yeah that's that so let's start off with menu okay
8:21
and I'm not gonna I guess we can build out a quick little menu here let's just
8:26
do like I'll just do will do 5 min you
8:40
items how about that so we have home and
8:48
we have products a services blog and
9:04
about okay quickly just having a few
9:14
different things here now I'm not gonna go over all the basics of menus right I
9:19
mean I've already done some lives on that I do plan on doing the reason haven't done those shorter video
9:25
tutorials on menus is because I knew I was going to be reef you know revitalizing men using adding more
9:31
features in 6.2 so I kind of wanted to
9:36
wait for that so that didn't have to redo all those videos so yeah hopefully that answers that
9:42
so okay let's look at so I guess we'll start off
9:48
with doing oops with doing some some hover effects okay so first off when we
9:54
look at a menu right we'll see that that's just kind of the default menu that we have right and let's do let's
10:06
and you know it's - yeah we want horizontal let's do justified though
10:13
things justified right yeah okay so let's say we want this justified so it kind of justified spreads it about right
10:19
so all spreads out and stuff okay obviously by default menus used link
10:27
colors right so if I were to go into site Styles and we look at the primary
10:35
color actually no we go down to the link color right and if I were to make link color um scroll is over here see two colors I
10:44
were to make them make them red why not let's make them red you'll see that the menu color is red and if I preview that
10:51
they're now red but the the hover color here is the color of the hover link
10:57
hover right so if I go here I'd say when I hover I want them to go slightly
11:05
darker red so I want to hover over them
11:12
we get a slightly darker red okay so that is one way right so that's like the
11:19
default way to control the hover color of our menu in terms of the text right
11:25
so but like sometimes we want our menu to be a different color from our links
11:32
on the page right so what do we do then right let's say for example um let me
11:37
just add some content to this page really quick well I'm just gonna add some text all right so let's just add
11:47
some text kind of make this into a live page here let's just a lot of picture up
11:53
here - it's for fun and I always use this picture but
12:02
whatever it's fine right now we have a picture and we have a menu up top okay obviously maybe we
12:12
would want a little bit of padding around the menu so maybe when we want to make the menu some colors right
12:18
something like that right so what I'm gonna do is I'm going to container here
12:29
[Music] what is up with me lately I keep
12:36
clicking on the wrong thing okay and we're gonna do first off I'm gonna use
12:47
features I can add some utility classes just for me and we're gonna do padding
12:54
32 so here I'm going to go into this
13:00
container I'm gonna do padding 132 okay
13:07
let's see if that's too much all right and then we're gonna want to give this
13:13
contain this menu a background color okay actually let's do padding by 32
13:21
because p/y 32 I'm not going to go over utility classes today but yeah this
13:27
allows us to add some padding via some these utility classes that's inside styles okay I think I've gone over them
13:34
a little bit in some of the other livestreams started some quick some padding to the top and the bottom of
13:40
this right so you go ahead and let's add a background color right so let's go
13:46
ahead and I'm gonna quickly add a background color to this let's do background and call it my menu how about
13:56
that my menu we're gonna do we'll do a background color and let's just leave it
14:04
gray okay just so it kind of stands out and we're gonna do this we're gonna do
14:10
classes mine and you there we go okay
14:17
there's our menu wow that padding is really big and it probably needs some margin below it all right let's do a
14:25
margin bottom 32 I'm gonna reduce that padding by a lot I'm gonna do it by 16
14:32
okay there we go so there is kind of a menu okay so I
14:39
added a little bit margin beat below the menu and now we have our image and some
14:44
text just so we could see something but if you notice our our colors are still
14:50
red and let's say if you Lowe's down here our links are also red okay but let's say we wanted this menu let's make
14:56
this menu a dark color right actually I made it gray but let's go and make it a darker a darker color let's just let's
15:05
just go all out we'll go black okay so it's black actually you know what I'm
15:12
gonna let's use a different color let's choose like this dark blue from this
15:19
menu here that oh yeah we're gonna use
15:24
that color I know you guys are gonna ask I'm trying out this new color app called
15:29
color slurp I know I try every color app and there's always something about them
15:35
this one seems okay though it's very simple so these are my Weaver space colors I just really started using a
15:42
little bit ago so yeah anyway so I picked that lets get that color and then
15:49
we're gonna go into this background swatch and we're gonna go into it oh there's that in hello and I need to
15:59
paste in or is it this one no this one there paste
16:08
okay there's the blue dark blue menu okay oops I preview in the browser by
16:14
accident reviewer okay there we go I
16:20
have a dark blue menu so it kind of brings in the blue from the picture so it kind of goes right a little bit um
16:25
but this red obviously looks horrible even though the Golden Gate Bridge is red right but it just doesn't look great
16:30
right so what would look good probably white right right I mean a lot of text a
16:36
lot of menus are some sort of dark color with white right I mean that's just what it is a lot so what can we do there okay
16:43
so if you noticed inside site Styles the
16:49
menu by default is controlled by the link colors right so if we look link
16:56
colors is a part of text colors right so if I wanted to define a custom link
17:04
color for my menu well luckily we'll notice that the link color is a part of text colors and if we look at our
17:11
swatches will notice that voila Oh magically there is a text colors swatch okay so I'm gonna go ahead and add text
17:18
colors and while I don't really care about any of the other colors here I only care about link um yeah I'm gonna
17:25
go ahead and make link colors here um let's just make it white white okay and
17:34
maybe the hover color if we one do and maybe we'll do I will do white with I
17:41
got 80% white or something like that okay so now now our link color here is
17:49
white and eighty percent white and we have to add our class now I'm already
17:55
using my menu this for this right so I'm going to do my menu for the text colors
18:01
and if we magically go down we'll see that voila just by adding text colors my
18:09
menu I now magically have my menu colors are white and when I hover over them it
18:14
is 80% white right and the reason I did 80 percent white is because um it kind
18:20
of let's the background color bleed through right so it just looks better right so instead of I could have done a grey but
18:26
I think a lot of times on hover like making it the same color but just transparent allows that background color
18:33
of whatever's behind it to kind of bleed through right so hopefully that makes sense so I think I think that makes it
18:39
look a lot nicer myself but you can do whatever color you want hopefully that
18:44
that was pretty simple right um hopefully that you guys see how that was done so that's one type of venue right that's
18:52
pretty simple now another type of one is when we hover like when we hover over a
18:59
link item we want like the entire background to like change colors right so like probably in like a drop-down
19:05
okay let's do that let's figure out how to how to do that alright what I'm gonna
19:15
do is I'm going to I'm gonna keep this menu just as as is right here that's a D
19:22
let's play down let's do a drop down for that one right so I'm gonna I'm gonna
19:28
let's go ahead and add a drop down in here give me a second let's start bacon things also I've been looking at the
19:36
resolution is poor oh sorry some work
19:46
off my GPU okay
19:52
okay um cool let's do drop-down I don't
20:00
see me any bleeding questions on on the forum or on the chat let's drop down I'm
20:06
gonna go ahead and I'm going to just use this same exact menu okay there we go
20:14
and maybe for kicks I'm gonna add or let's add a submenu to this I'm not
20:23
gonna change the labels I'm just gonna go ahead and and maybe we'll add a submenu to that okay there's our
20:32
drop-down menu okay um I'm gonna go ahead and delete this my menu let's go
20:39
ahead and delete the padding okay let's
20:48
look at this so right now we have a drop-down and if you notice we do have
20:53
hover okay by default on drop-down so we might want to configure that okay um if
20:59
you notice none of our drop-down menus are being displayed and the reason for that is by default in a container stack
21:06
so I have my menu inside of a container we have overflow is set to hidden okay
21:12
we're gonna want to set that to be visible okay that will lease that will
21:18
start to give us our dropdowns okay there we go we have dropdowns cool if you notice the
21:27
you know yeah we have hover okay sweet
21:34
so now let's let's play around so we want to customize that hover color and
21:40
if you notice it actually that's kind of odd I never even noticed that before the hover color only happens when it's a
21:45
submenu mmm interesting I'd get it but
21:52
mmm interesting okay so we want to we want to configure that
21:58
so whenever we go over any of the menu items that background color is going to be a color okay and so let's go ahead
22:07
and do that now so what I'm gonna do is
22:13
I'm gonna do background and let's do let's change this to be my drop-down
22:22
actually no we're gonna use a component for this so it doesn't matter I'm gonna use components and we're gonna do menu
22:32
item and I'm gonna do on state hover okay so whenever I hover over a menu
22:39
item I want to change the background color okay and let's go ahead and change
22:45
that to be a light gray would be okay all right do something subtle oh and I
22:52
want my parent class to be my drop-down because I want to I want to target this
22:59
only on my drop-down okay so I'm gonna go ahead and do I'm actually gonna add
23:08
my drop-down see the container I think
23:15
you after yeah okay um actually I'm gonna do it two ways first off I'm gonna
23:21
can't remember how I did that on the on the code for the parent thing I'm gonna try to add it to the drop-down
23:27
because that's probably what most of you would do and that's that I was what I would assume as well let's go ahead and
23:33
preview that and that did not do what I thought okay okay so I was right the
23:40
first time we'd add the parent to the menu which is the container we add my
23:46
drop-down to that okay and there we have
23:57
now interesting if you notice when I uncover over this that is no longer
24:06
great it turns blue and the reason is because when I hover over a submenu
24:13
Foundation is adding an active class to that so we might need to do a couple
24:19
other things here so I'm gonna copy this okay and I'm also gonna do active menu
24:27
item okay with parent class and then the same color okay so let's do that
24:35
Oh interesting
24:45
just for fun I'm gonna try force on that mmm interesting okay all right let's
24:52
play around with this okay cool see I told you once we started diving into this it would be a little tricky
24:59
and I'd find some issues okay okay so when I when I run hover on that
25:05
that should remain great but it doesn't and that is not cool so we're gonna go
25:11
ahead and open the inspector here
25:33
okay um is active a let's look at my
25:40
swatch here really quick doing a a of active a:hover I should definitely do it
25:49
oh but it's not only just hover oh okay
25:57
uh hold on I know why none oh yeah I think that'll do it
26:03
I had hover state turned on so it was only going to be active when hovered
26:08
over an active item and I want it whenever the activated period there we
26:14
go boom score okay so we're getting
26:19
there okay now we have you know that's pretty much what a lot of you want right
26:25
if you notice when I the active the active link color is white so
26:32
unfortunate we're gonna have to probably create an override for that right because the active link color is getting
26:40
set to white and yeah so let's look at this okay so now we're gonna set we're
26:53
gonna use text colors okay and we're going to use component and we're going to do
27:13
hmm well I'm gonna for right now I'm gonna fix just the active one and then
27:18
and then we'll tweak on that a little bit okay so let's see when it's active I
27:27
wanted to be the same exact colors I don't remember what that what that hover color was here let's just go ahead and
27:33
get that really quick that way it's it's
27:42
the same
27:51
okay so now we're changing the active color to be our our link color let's try
27:59
that I didn't didn't do it interesting
28:16
interesting oh I don't have a force option here yeah hmm okay preview that in a browser let's
28:23
have a have a gander so I'm gonna go ahead and do this and this is background
28:36
colors gray color is white color Oh
28:45
drop-down menu is active eh okay so
28:52
we'll see here that it's actually using background primary and color okay so
28:59
it's using the primary color and the white color mmm interesting okay if you
29:07
notice these are using these are something called CSS variables and these are the variables I mean they're pretty
29:13
apparent right that's the primary color that's the white color so yeah that it's
29:19
using the primary as the background and then white as the foreground color right for an active menu item so I'm gonna
29:31
show you a way how to get this done right now and but I will definitely be
29:36
making this better um yeah we'll definitely be making this better okay
29:46
so white color and primary color are component colors okay so what I'm gonna
29:52
do is I'm going to add a component color and even though all these other colors are here the only one I really care
29:58
about is white I'm so I'm going to go ahead and set the white to be our red
30:03
color okay and we're gonna set this on
30:10
um active menu items Oh with the
30:18
drop-down um it's what my drop-down right yeah my drop-down okay so now if
30:28
we preview this now hover and our our
30:34
active menu item color is now the same color red so it doesn't doesn't switch
30:40
back to white okay cool
30:57
okay so that was two things um I know those
31:05
those are two very common things what are some other things that we'd like to do hold on let me add some notes from
31:20
someone else let me just open those up really quick make sure that we we look
31:26
at everything here
31:37
background in hover color settings will there be irrelevant I'm a nice watch
31:42
coming up okay yes Oh transitioning okay
31:50
here's a good one I'm transitioning between menus right so um you know I think that confuses some
31:56
people like I want to have a drill down on mobile and then a drop down on
32:02
desktop right I think that confuses some people and I can understand why and the
32:07
reason that confuses you is you're stuck in me in the mindset of building for a
32:13
desktop right you're thinking okay on desktop I want to drop down let me build a drop-down and then on mobile then you
32:19
go to transform that to be a drill down on mobile and you can't right and the
32:25
reason is you need to start again foundation is mobile first so you need to always start with what you want it to
32:31
be on mobile okay so if on mobile we want a drill down okay we have to start
32:38
with a drill down stack okay so let's go ahead and oh is this oh that was an
32:43
extra stack let me delete that okay um let's go ahead and add a new container
32:50
here I'm gonna change this class to be
32:57
my drill down I assume that's what we're gonna do I might need that okay so here we have a
33:04
third menu here and since we want to have a drill down on mobile okay we're
33:10
gonna go ahead and add a drill down okay and what I'm gonna do is I'm just gonna copy this same menu okay so on mobile we
33:25
have a drill down okay and let's just go ahead and preview that so we have a
33:30
drill down menu and what goes back right and go to services we can go back write
33:35
stuff like that okay now some of you might be wondering okay well what look
33:41
at these colors of these things okay and I I see that those aren't those
33:46
probably are not the correct colors right but I kind of recognize that color as being the primary color right so and we
33:55
can verify that let me open that in the browser and if I were to inspect this bad boy all right IRA inspect this let's
34:07
see it would be there the after and we'll see that here it is using the
34:13
border color is definitely set to be the primary color right so what's cool is we know how we can override the primary
34:19
color on something okay it's it's that's pretty simple right so let's say we want
34:25
to make these that same red okay just for fun so I'm gonna go ahead and add
34:31
the primary colors controlled by components okay so what I'm going to do
34:36
is for this class I'm going to do dots
34:42
oops not dot I'm gonna do my drill down okay and we're gonna set the primary
34:50
color to be red and that should do it
34:57
oh sit so inside because remember I have
35:03
this container here and this container contains a class called my drill down so anything that uses the primary color
35:09
inside this container now is set to be red
35:14
okay now we're setting a bunch of all the colors but we don't even need those right so that's okay so we only needed
35:23
to set the primary change the primary on there so it's not too bad okay so cool that was uh that was a
35:31
pretty simple one so now we have that ready you can make it whatever you want right but it now at least matches okay
35:39
okay so now we have our drill down on mobile okay that that works great on
35:46
mobile right because it doesn't really work great on desktop right but if we you notice here when we go down to
35:51
mobile size you know it it works a lot better you know on mobile okay sweet so
36:00
now let's more fat let's say on medium Oh a medium enlarged we want it to be a
36:06
drop-down okay so what we're gonna do is we're gonna say transform medium
36:13
drop-down okay so train again on by
36:22
default it's a drill down and then on medium it's gonna change to be a drop
36:27
down and that should just all happen magically fingers crossed
36:33
okay let's let's preview this in the browser so I can resize so here we have small and then on small it's the drill
36:41
down menu and as we get larger it should
36:46
oh this might be JavaScript enabled so it might what
36:57
I know that work or I'd break it in the
37:05
update somehow uh-oh I think I need to do medium horizontal let's try that
37:14
interesting Eric oohs ah interesting okay did see that dad even caught me
37:21
right off guard so let's explain that okay so on mobile if we notice our menu
37:31
is vertical okay and drill downs by default are vertical okay because well
37:38
they don't distribute there's one per line right so there's one per line yeah I have this thing I almost have to
37:44
sneeze and it's been like probably five minutes it's crazy so drill downs are vertical right we
37:49
have a vertical menu so all the menu items are on top of each other so we not
37:55
only need to change to a drop-down but we also need to change the orientation
38:01
of the menu itself right because previously when I said none right that
38:08
meant that it was trying to change it to be a drop-down menu but it was doing a
38:15
vertical drop down which actually here there we go it still it is a drop down
38:20
menu but its vertical right so and that doesn't really mesh together okay I
38:28
should have tested that before I so all we have to do is now is do medium horizontal because we want it to be a
38:33
horizontal menu okay and there we go
38:45
actually that's kind of cool actually I like the red the red highlight and then
38:50
maybe on on hover the primate that carrot should be white that could be
38:57
nice right cool um and if we go back down to a
39:04
medium or small I mean you'll see that we have our drill down cool as you see
39:16
the I mean these are that there are some little little bumps that you know we found today so far that I'll definitely
39:23
make sure I massage a little bit and make them maybe a little bit more user-friendly to discover at least and
39:31
I've said this in the past I do plan on eventually releasing a menu swatch okay
39:39
and the original plan was the a menu swatch which will have a lot of menu
39:47
specific styles was gonna be a part of an external swatches pack and yeah I
39:55
still plan on doing an external swatches pack that have that has like specific
40:00
swatches for each element so like let's say there's a tab swatch and an accordion swatch and a menu swatch and a
40:07
um you know for all the various foundation components there'd be styles specific for those things right so you
40:13
can customize your tabs and customize your accordions and stuff like that so
40:19
that that was the plan to have the menu inside that um swatches pack we'll we'll
40:25
see if that's will still be the plan I'm not gonna say yes or no right now okay
40:39
okay
40:47
cool cool anything else let me look at the chatroom see um some chat every now
40:55
and then the audio seems to go and that the streaming the maybe the frames per second goes down a little bit sorry
41:01
about that
41:07
Gunter says Mateus you're right I have no clue what you typed there my German
41:13
isn't up to par so um yeah hopefully Gunther says you're right I'm sure
41:19
you're right let's see how do we get rid of borders I'm not sure which guess tall
41:31
I'm not sure what borders you're speaking of how to set up an active status menu how to set up the active
41:40
status item like border in the border in the bottom or active pages okay so he's
41:49
saying on an active page um how do we set up a bottom border for an active
41:58
menu item that's a fun one I like that okay now I do have to admit there so one of the drawbacks so far all
42:05
today I said I was gonna be using these the menu builder based ones right so the
42:11
the normal menu stacks that have more settings now a drawback of using these stacks that you know build out the menus
42:17
manually is the active page right because a lot of times you're gonna want to build this this menu and then you're
42:25
going to want to partial that so that the menu is the same across all your pages and if you want to use or style an
42:34
active page unfortunately in this menu builder you'd have to go to a menu item
42:39
and then there's a setting here that says this is an active menu item right
42:45
that's not great because then if you partial this menu and put it on all your
42:50
pages in this instance services is always going to be set as your active page so when you want to do
43:01
ooh active menu styling um that is the one case where the rapidweaver menu is
43:08
actually gonna be better for you okay because rap Weaver knows what page
43:14
you're on and when it publishes the page it'll it'll automatically set what page
43:19
is the active page right because it's itself it knows so that is a benefit of
43:25
using a wrap Weaver menu okay let's go ahead I'm gonna duplicate this really quick um alright let's do it on the top
43:33
okay I'm gonna add a rapidweaver menu on here um I'm gonna do top level
43:39
navigation I don't even know what to have a Happiness Project I have a bunch of nav in here actually a lot okay um
43:45
okay so we have that top level and let's say I want to style the active page okay
43:53
let's just preview this let's see what the heck it looks like okay there we go
43:59
quite a bit um let's do align justify what I do there
44:08
we go alright so let's say I want to style this active page um okay
44:20
actually let's go ahead I'm gonna remove this and remove the mind menu thing and
44:25
all that jazz okay just go for a raw menu let's say I want to underline this
44:33
active page and by da we also want to get rid of this horrible this background color because we don't want that either
44:39
okay so I'm gonna call this um I'll go
44:47
to container let's do my RW menu okay let's copy that okay so let's go
44:58
ahead and do first off let's take care of the active background color because
45:04
we don't want to background there right so what I'm gonna do is I'm going to say go to component I'm gonna say active
45:12
item I mean put in my parent class of my our debut menu okay and we're gonna set the
45:19
background color to be none if you look there it's done there it goes cool
45:36
so now I I turned off the background okay and now we want to add an underline
45:44
okay so now let's go ahead and an underline is obviously a border okay so
45:49
I'm gonna add a border swatch okay and what we're gonna do is we're going to do
45:56
component we're gonna do the active menu item the parent class is my RW menu okay
46:05
and so now we're gonna have to add some borders so we're gonna do a simple let's
46:12
do a red border at the bottom okay border size is I'd say what two pixels
46:20
do three pixels at two pixels okay and
46:25
then style actually here we're gonna do detailed because we only want a border on the bottom so we want top right and
46:32
left b0 and bottom is going to be two okay so if you see one kind of preview
46:39
here right in this watch okay and if you want you could do a style too right you could do dashed or something
46:44
like that but we'll stick with solid and I think that's all we should have to do let's go to preview that hmm I didn't do
46:54
what I wanted let's look at that
47:13
oh I have to set a borderstyle order solid there goes oh there we go okay
47:29
pretty cool there we go so now our our home button is underlined our our active
47:35
page is underlined right now I do have
47:45
to admit like it could because of all this padding right mm-hmm
47:56
because a lot of times when you do an underline you want the underline to be the same size as your text right and I
48:05
won't ignore that maybe I mean because I know a lot of you guys are private you know this is we've made progress but it's not perfect right because if we
48:13
inspect this element here we'll see that the actual menu item here it is that
48:22
size and the border the bottom border of it is the correct size but the it also
48:28
has padding right so what we need to do is we need to remove the padding for
48:34
those menu items right at least the right and left pet padding maybe we want
48:40
the top and bottom so it has a little bit of you know sizing but let's go
48:45
ahead and try to remove that padding on the sides okay so if we do do padding
48:53
okay and then we're gonna go to menu
48:58
item because we want to affect all menu items and my parent class is my RW menu
49:04
because I only want to affect that one menu on the page and we're gonna do
49:12
detailed and hold on what was that
49:19
what's the padding on these by default just so I can I can do that
49:33
sixteen pixels okay so we're gonna we're gonna do top and bottom is sixteen okay
49:45
and left and right are zero okay that
49:52
there we go right so if you see now our menu item
49:58
the the width of it is a lot lower all right it's the same exact width as the
50:04
page right so if I were to here let's do a beer let's do like home page so it's a
50:14
little bit longer there we go
50:21
right now this spacing is a little bit between the the menu and the border is a
50:26
little bit too much I think so maybe we'll reduce the bottom padding to be eight okay let's cut that in half oh
50:34
yeah all right there we go you know that that allows us to you know
50:41
underline the active page on a menu and again if you if you want to do active
50:48
styling um you know and not be a like hover or anything like that
50:54
the art of you menu really is kind of the best way because it it automatically
51:00
knows what page is active and you can partial that and you'll you won't have to you know duplicate it so that is a
51:07
nice thing uh you know the one real winning factor for the art of you menu
51:12
is it can automatically determine the active page for us and we can't do that
51:18
right now on the normal menu stacks okay good question great question that was a
51:24
fun one I like that
51:38
let's see if there's any others borders around the borders around the drop-down
51:45
box those are their borders on the dropdowns oh okay um okay uh I see that
51:56
you want them just to be like simple white right um okay so you want to
52:01
customize the background color of the drop-down as well as as all that okay um
52:07
I don't know what is let's click on this
52:14
so this is a submenu okay I think I have a component for that so let's go ahead
52:20
and do let's do a background and I do a
52:28
component I have a submenu here so we
52:33
have we we can now style our submenus okay and let's target well I think it
52:39
was my drop-down right yeah my drop-down so I'm gonna target the submenus of my
52:45
drop-down okay and let's set that to be a color we're gonna set it to be like
52:57
like a pink why not okay just that it stands out from the white a
53:03
little bit okay so we'll have the background color is that you wanted to customize the borders of that right so will we want to
53:11
do a border swatch on that and then we're gonna do the same thing we're gonna go to the components we're gonna
53:17
affect the submenu of my drop-down and
53:23
we're gonna just set the border size to be zero because we want no border okay
53:29
and that should work alright so now if we go here obviously
53:36
uh yeah I mean it's a transparent color so you see the you see the background below it but it did work right and we
53:44
still have all the same styles for hover and whatnot but you see that that that is how we can um you know customize that
53:51
dropped okay um is with the submenu component
53:58
yeah so background a submenu you can change the background of that you know
54:03
your let's go ahead and make it a non oh you know OPEC opaque color let's just
54:15
use find a shade there I would like
54:24
something like that right so if you made it that color area right and that
54:32
doesn't look right either but um yeah you you get that you get the point right so now now we can I remove
54:39
the border I changed the color now I still have that hover menu um you know
54:44
color set to gray but you know we know how to tweak that because we did that earlier okay so cool that was a good one
54:51
thank you for that for drop down menu
54:56
can be added some smoother transitions currently they look quite clunky
55:04
for example the drop down menu fade in from the right when hovering over the main menu item okay
55:11
so you want to add some more transitions for the drop down menus um let's just go ahead and see I'm not
55:21
sure if those what's what's available right now out of the box let's go ahead and look at the documentation so I'm
55:28
gonna go to get foundation I've with all
55:35
my spare time I've actually been trying to rebuild this this get foundation website since I'm the maintainer now so
55:42
if we go to drop down menu is there
55:50
settings or animation let's make this
55:56
bigger I think it uses class clothes on click a
56:14
lot of these settings here are ones I haven't added but I do plan on adding all these settings here that's
56:31
referencing I thought it used I mean that's margins borders hmm yeah I'll
56:44
have to look in that with yes I don't know the answer to that I I can see what
56:50
you mean yes it is a little it is quite clunky it's just you hover in its boom it's there right maybe you want like a
56:56
scroll down or you know some sort of you know swipe or Earth's feature just
57:01
something that's a little bit more um you know a little bit more fancy I can see that I don't know if that's possible
57:09
yet all I can do it though thank you for the suggestion cool
57:21
is it possible for the f6 menu stack and uh but is it possible for the f6 stacks
57:27
and not for the standard are the View menu sorry I wasn't sure what what your question is okay yes we need some
57:36
animations here there and so yes another thing in in foundation 6.2 is I'm gonna
57:43
bring back the animation stack from foundation 1 just because it was super
57:48
simple to use and it just worked right and the stuff that's in foundation 6
57:55
right now while it is more powerful from the developers perspective it it's not
58:03
crazy user-friendly yet so that's something I plan on making better probably in foundation 7 in the
58:09
framework right is making those animations a little bit more user friendly but until then for I'm gonna
58:15
bring back the animations that we had for in the foundation 1 stacks inside foundation 6 not too so you'll have all
58:21
those the anime in animate out stuff that we had from foundation 1 will will be back in foundation 6.2 ok many many
58:36
swatches so yeah I mean here we had many swatches um so III did a great video on
58:43
how to organize swatches right so one thing you can do here is if we just had a pen right um if I do let's say this is
58:52
my drop-down right and then I found all the boom all of these that are for there
59:00
drag that in there ok so and then let's
59:06
go ahead and just we'll just continue on we have a pen we have my RW menu right okay we could
59:17
click here in here it's not that one this one right drag that in there okay
59:25
there's that then we have air we got two more my well there's my drop down my
59:31
drill down and my menu right so I'm just go ahead and add another pen my menu I'm
59:44
just gonna paste
59:58
so let's do my drop-down Oh the hex tax
1:00:05
it's not what I wanted drag those in
1:00:14
there and we have these menu stacks in here right then we had one more pen that had
1:00:23
C and was my drill down I pressure did
1:00:33
start it off like this because I knew I was gonna create multiple so let's add that in there oh hey that's a little bit
1:00:41
more organized right so we kind of organized all of our styles we can compartmentalize them inside pens
1:00:47
another thing is you know if you watch that how to organize swatches video there's also the external that the other
1:00:54
swatches stack that allows you to you know have all these inside their own stack if you use pen pen is a free
1:01:00
download go ahead and download it for my site um you can also say slum note or I mean uh to collapse pen right so you can
1:01:09
even make things even more um you know
1:01:17
it's like if you really didn't want to see that stuff you can collapse at all and that's pretty neat right right so
1:01:26
now what while we have all those if I ever wanted to look at you know all the styles that I had for my menu I can just
1:01:32
go ahead and uncollapse that and then I can go ahead and start looking through all of these alright so yeah pennant pen
1:01:40
is gonna be a great way once you start getting too many swatches and you want to have a little bit more Organization
1:01:46
for them it's gonna give you a really great thing and you also color code them so maybe you know I don't know red is
1:01:54
for you know menus or something like that or you know you can color code your pens I guess just some ideas it also do
1:02:02
slim notes which makes them even even more slim you really want them down
1:02:09
i slim down the notes notes there you go so there you go that's that's about as
1:02:17
small as you can get with all those swatches and you know you can still I
1:02:23
still know what they are you can add more elaborate descriptions here and pen but it doesn't affect our page at all we
1:02:29
still have all the same styles everything is still the same it just um you know allows us to organize pen a
1:02:35
little bit nicer
1:02:48
oh yeah so penpen is useful um it is a free stack on my site and once you once
1:02:54
you install it um you'll magically have pen show up in this menu um and it will
1:03:00
show there um yeah cool I think I answered all the questions um if you
1:03:06
have more questions please go ahead and ping on Weaver space I hope you find this useful Hey uh just a quick side
1:03:14
note fit text is the deal of the week this week and it's a really powerful
1:03:20
stack I'm really cool one it allows you to you know dynamically sized text like
1:03:26
headers and stuff like that here let's play around with it really quick just do a quick demo for you a fit text and when
1:03:34
you come with fit text see when you when you buy fit text it actually comes with a fit texts watch as well so my default
1:03:40
um there is a fit text stack and so if
1:03:45
we look at that let's bring in fit text really quick there it is actually gave
1:03:51
it a new icon last night so we drag that on the page I'm just gonna add it right there and let's just
1:03:59
go ahead and add a header the page
1:04:09
okay let's do this I'll just keep this is my header um and it's really simple right so you
1:04:14
can target everything just say I you know you define the minimum and maximum
1:04:21
size of the of the text that you want and as you see as I scale the browser
1:04:29
down it will dynamically size that for us right so all you do is you define the
1:04:34
min and Max sizes of your header oops didn't mean to click on that link and
1:04:39
then it magically you know it resizes the hair for you um a little dude more
1:04:45
than a header I think it works best on headers but it will do you know paragraphs and texts and stuff like that
1:04:52
and it works pretty good but it works best on just headers so um check that
1:04:58
out um the swatch is oops it's which pages in wrap we were I wish referee
1:05:03
actually wouldn't do that I know they see as the feature but I don't Oh anyway um or they doing oh yeah
1:05:10
so there is a fit text swatch right so instead of using the fit tech stack I
1:05:17
just had this header on the page and I delete that okay um and let's just call
1:05:25
this billboard okay and if I use that
1:05:32
swatch and put it on my header now I only I only have a header stack on the
1:05:38
page and I still have the benefit of using fit text right so it still makes
1:05:44
my header large pretty cool and it's all
1:05:50
done through a and that way I can I can leverage this same exact fit text setup on multiple things on the page and I
1:05:57
only have to have one swatch so it's pretty cool um so yeah fit text that's
1:06:02
only five bucks this week so it's only $10 if you bought it years ago actually it was a free
1:06:09
update that I gave um I think it was I don't last month I think was in December I did it maybe was a little Christmas
1:06:15
present cuz I completely rewrote fit text from scratch completely new version three I believe I think it's on Version
1:06:22
three yeah it's a good one so check out fit text it's the deal of the week this week so just go out of here to check add it
1:06:29
to your check out and it's $5 this week only so check that out uh cool guys
1:06:35
thank you very much I appreciate it let me see if there's any more questions
1:06:40
putting all swatches in a site style stack I've been putting them into their own swatch stack inside of the container
1:06:46
they apply to yes that's another yeah that's another way I kind of went over that in the organizing swatches video
1:06:53
where you can definitely organize them into different swatches stacks um is it
1:07:00
okay to use an extra swatch palette for the footer or do we put all on-site
1:07:07
Styles palette if we can um you can put them anywhere you want on the page um it doesn't matter no it should still all
1:07:14
work um doesn't matter if you have them on the top I personally would have them all at the top so that you have like all your Styles in one place um but you can
1:07:22
definitely have your swatches wherever you want on the page um a niche they should still work right so one thing
1:07:30
about the order of swatches where they are on the page is um let's say you have a swatch further down the page that may
1:07:38
conflict with the one above it whatever the the last one is will win right so if if first you say um you know background
1:07:47
color red on a particular class and then later down on the page you have background color blue on that class well
1:07:52
the background color blue is gonna win because it's gonna override right um and then we get into hold there's there's
1:07:59
some other like CSS conflicts in terms of more specific selectors and stuff like that but I'm not even gonna attempt
1:08:04
to go into that today so anyway yeah the order of your swatches does work if you want it does it does matter um but
1:08:16
that's only if you want to like have stuff that overrides other things and and I I think for most people we don't
1:08:21
need to worry about that so anyway thank you very much I appreciate it I hope you
1:08:27
guys enjoyed this session and we'll see you guys hopefully maybe this Friday at the hangout