0:00
come on
0:06
[Music]
0:10
okay so in this video we're going to be
0:12
talking about the nav arrows and the nav
0:14
dots for moving box 3.
0:17
so here I have a very simple slider uh
0:20
let's have a look at what it is and this
0:23
just a simple slider that has both
0:25
arrows and navigation dots now let's
0:28
play with the actual arrows right now to
0:30
kind of show you uh what we can do with
0:32
our arrows
0:34
so right now uh by default we can always
0:36
show the arrows but we can also show
0:38
them just on Hover
0:40
and when we turn on just on Hover when
0:42
we hover over our slider then the arrows
0:45
will be displayed
0:47
we can do if you notice here we can have
0:51
the arrows shown as blocks or just show
0:53
the arrows only
0:55
you'll notice when we turn on the Block
0:57
arrows we actually have a couple more
0:59
options for settings for colors and
1:01
sizing
1:04
so the arrow color and size should be
1:06
pretty obvious allows us to customize
1:08
the color as well as the size of our
1:10
arrows
1:11
so we can adjust the size of these
1:13
arrows
1:14
the background for our block is pretty
1:18
apparent as well it allows us to
1:19
customize the color and the background
1:22
that we have for our arrows
1:29
next is the block size
1:33
which allows us to configure the actual
1:35
kind of the width of our block sizes so
1:38
how bulky do we want those blocks to be
1:43
next after we get our color and sizing
1:45
all situated you'll notice that we can
1:47
actually Define the actual arrows
1:49
themselves
1:50
now what you'll notice is here by
1:53
default we have some SVG icons
1:56
and this is a great really powerful way
1:58
to define things because you can really
2:01
customize these to be whatever you want
2:02
because there are a billion different
2:04
svgs out there I'll show you a couple of
2:07
the ways that I like to insert these and
2:10
where I find them
2:12
um but if you just Google there's a ton
2:14
of SVG resources online that allow you
2:16
to get some really great arrows and
2:20
navigation svgs so I have a Mac app
2:23
called nucleo
2:25
um it is a kind of a one-time purchase
2:27
uh and it just has a ton uh we just
2:30
search for arrows in here
2:32
um and it just has a ton like thousands
2:34
and thousands of different svgs that you
2:37
can then say Hey you know I want this
2:39
one you just right click copy SVG paste
2:43
it into Stacks done
2:45
now if you are a font awesome user uh
2:49
whether that be through my font awesome
2:51
Stacks or through a foundation six uh it
2:55
has font awesome 5 Pro built in
2:57
um you can actually use Font awesome
2:58
icons here
3:00
so here I've gone and just copied a
3:03
couple font awesome Snippets for the
3:05
generic arrows off font awesome five
3:07
directly inside of here and you'll
3:09
notice that we have the ability to still
3:11
size them and color them just like we
3:13
did with svgs
3:16
all right so last up is let's look at
3:18
playing around with the arrow locations
3:21
now these settings are very flexible it
3:24
works great for either a horizontal or
3:26
vertical and there are going to be a lot
3:29
of situations where some of the setting
3:31
combinations here won't make sense for a
3:33
vertical slider but they do work great
3:35
for horizontal slider so what I
3:37
recommend is just working from your way
3:39
top down okay so for example by default
3:43
we're going to have our
3:45
um
3:45
arrows centered they're centered within
3:48
our slide okay and we can also do flush
3:52
left which means they're both on the
3:54
left side
3:55
we can do them both flush right which
3:57
means they're on the right side
3:59
and then we could also do flush top and
4:01
we can do flush Bottom now you'll notice
4:04
that some of those settings were a
4:06
little bit funky so that's kind of like
4:07
get the location to where you want your
4:10
arrows to be for example let's say I
4:12
wanted it to be flush right
4:14
that obviously doesn't look good but we
4:17
need to tweak it so we have them both on
4:18
the right side now so we want our
4:20
horizontal position to be on the Inside
4:22
Edge because I do but then we want our
4:24
vertical position to be on the Inside
4:26
Edge as well
4:28
so there we go so now I have
4:30
um vertically there on the Inside Edge I
4:33
can also put them on the outside edge
4:35
okay
4:37
um but I think let's say I wanted them
4:38
on the Inside Edge now this works great
4:40
probably for a vertical slider if these
4:42
arrows were up and down rather than uh
4:45
top or left and right
4:47
so you'll see if I change these arrows
4:48
to be up and down these positions now
4:51
make perfect sense I wanted them flush
4:53
right I wanted them horizontally on the
4:55
Inside Edge not on the outside edge and
4:58
vertically I wanted them on the Inside
5:00
Edge of the vertical line rather than
5:02
the outside edge
5:09
so again always start from your location
5:11
and then work your way down to fine-tune
5:14
the horizontal and vertical positions
5:17
so for example let's say I wanted to be
5:19
flush bottom
5:21
and then actually I think inside it
5:23
that's maybe perfect maybe that's
5:24
exactly what I want right or flush top
5:27
right so you see there's a lot of really
5:30
uh good flexibility here there's also a
5:33
lot of custom options here as well if
5:35
you want to do exactly put the exact
5:37
pixel percentage or the pixel width from
5:40
The Edge you can do that as well
5:43
now if you want this pixel to be outside
5:45
you just do a negative number so for
5:46
example I could do negative
5:48
um 20 and these arrows then kind of leak
5:51
outside of that right if I did negative
5:54
let's keep going that that way that's
5:56
how we can kind of go outside
6:00
now let's dive into our navigation dots
6:02
just like our arrows we can actually
6:04
always show them or only show them on
6:06
Hover
6:08
we have the ability to show just the
6:10
dots
6:12
dots and numbers
6:14
or just the numbers
6:17
as you see some of our color options
6:19
change as we go down uh depending on if
6:22
we want dots and numbers we can color
6:24
both the dots and the numbers
6:27
you'll notice that there are two columns
6:29
because that allows us to define the
6:31
default dot color as well as the current
6:34
active dot color
6:37
so as you see for my icons here um when
6:40
the dot is active I have a filled in
6:42
circle
6:43
but for my inactive dots it is a Hollow
6:47
Circle therefore I want my number color
6:49
to be different
6:52
next as you'll see uh with our DOT icons
6:54
just like the arrows we can use svgs
6:57
from wherever you like as well as you
6:59
can put in font awesome or really any
7:01
icon font snippet that you want directly
7:04
in there and it should work great
7:07
now the dot location is very simple a
7:09
little simpler than the arrows because
7:11
essentially what you would do is you set
7:13
your alignment whether or not you want
7:14
Center left or right so where do you
7:18
want your icons located and then you can
7:20
go ahead and configure the position so
7:22
do you want the inside bottom inside top
7:24
maybe you want the outside bottom which
7:27
would be outside of the slider right if
7:30
you want it inside right so earlier when
7:32
we had those vertical arrows this could
7:34
look great where we have our top Arrow
7:37
our bottom arrow and then the mid the
7:39
icons are all centered within those
7:41
arrows as well so we have inside right
7:44
we have outside right outside left so we
7:46
have basically all possible locations of
7:49
your dots and then this little uh check
7:53
box for centering with the arrows
7:55
essentially what it'll do is if you are
7:57
using
7:59
um the nav dots between those arrows
8:01
this guarantees it'll be really
8:03
centralized to those arrows and if
8:06
you're not centrally centralizing with
8:08
the arrows it actually just adds a nice
8:09
little kind of buffer around so it's
8:11
kind of like adding a little bit of
8:12
padding around your navigation so that
8:16
it just positioned and looks a little
8:18
bit nicer
8:25
[Music]