About Stacks Guru

Stacks Guru is born from the need to search the vast number of videos out there on stacks built for Stacks Pro and the Stacks 5 plugin for Rapidweaver.

We have scraped over 500 videos to get the transcripts for each in order to make the spoken word searchable.

Please use this free tool to help you learn and discover the awesome power that Stacks and the stacks made for Stacks have to offer.

Stacks Guru

Video Reference

Leave a Tip!

Every little bit helps to keep this going. I'll be doing my very best to keep up with the likes of Joe when it comes all the videos he posts!

Backgrounds in Jack for RapidWeaver thumbnail

Backgrounds in Jack for RapidWeaver

Jack Product Page: http://joeworkman.net/rapidweaver/sta... Jack is a very powerful tool to have inside your RapidWeaver toolbox. This video reviews everything that you can do with backgrounds inside the Jack stack. Be sure to check out the other video tutorials on all the other things that we can do with Jack.Jack Product Page: http://joeworkman.net/rapidweaver/sta... Jack is a very powerful tool to have inside your RapidWeaver toolbox.

Categories: Demo

Transcript

0:06 Hey
0:07 so in this video we're gonna be going
0:09 over Jack backgrounds now chances are
0:12 you've watched a couple Jack videos
0:14 already probably the jack overview maybe
0:17 the jack layout video and this one is
0:20 gonna go over all the amazing
0:21 backgrounds so background gradients
0:25 background images fixed backgrounds all
0:27 that really cool stuff so without
0:30 further ado we got lots of stuff to do
0:32 so let's jump on in so here we are in
0:35 the demo file for Jack and we are on the
0:39 backgrounds page now this file is
0:41 available for download all the time from
0:43 our documentation portal on the Jack
0:45 dock page and you can also get it from
0:48 the disk image that you downloaded for
0:50 Jack now Jack allows you to have
0:53 multiple different background types you
0:56 can have no image images solid colors
1:00 and gradients and we're gonna go over
1:03 all of these in this video right now
1:06 we're gonna focus on solid color now
1:08 every stack can have a solid color
1:10 background but Jack allows you to add an
1:12 opacity which really gives you some
1:15 great options for layouts in this
1:18 particular example here I have a nice
1:20 stylish kind of blueprint background and
1:23 in order to make the text legible I
1:25 added a another Jack stack with a white
1:29 transparent overlay on top of the
1:31 background if we didn't have this the
1:34 text that's inside this particular
1:36 example would be a lot less illegible
1:39 right you wouldn't be or it would be
1:41 illegible because you wouldn't be able
1:43 to read it but by adding a transparent
1:45 overlay on top it makes the text much
1:49 more readable so now let's jump into
1:52 background images with Jack and there
1:55 are a lot of things that you can do with
1:58 background images in Jack so let's look
2:01 at each one of these examples here on
2:02 this page and see exactly what they do
2:05 and how we've accomplished them now by
2:09 default like any other stack can do you
2:12 can add a tile
2:13 image now you'll notice first in these
2:17 inside the jacks settings that we have a
2:19 mobile image and a large image option
2:23 what this means is that when you add a
2:27 mobile image that image will be used on
2:29 mobile desktop and tablet devices
2:34 however when you add a large image the
2:37 mobile image will only be used for
2:39 mobile now and the large image will be
2:42 used for tablet and desktop so a lot of
2:46 times what you'll want to do is you'll
2:47 want to add a lower resolution image to
2:50 mobile and a higher resolution
2:51 background image to the large option now
2:56 for tiled images this doesn't really
2:58 make sense because they're normally so
3:00 small anyway in size that you'll just
3:03 define the mobile version and then and
3:05 then Jack will use that same exact image
3:08 for all devices now for background
3:12 images you can also warehouse images so
3:14 if you don't want to drag and drop an
3:16 image here maybe you have an image that
3:18 you want to use throughout a lot of
3:20 various jack stacks and you want to
3:22 leverage browser caching you can
3:24 definitely warehouse your image and then
3:26 provide URLs to the background image so
3:30 let's look at the tiled image options so
3:33 image size we have set to auto and then
3:36 image repeat as normal we have
3:38 horizontal and vertical image repeat but
3:43 if you only wanted to do if you wanted
3:45 to be no-repeat you want to be static or
3:47 you wanted to repeat only horizontally
3:50 or repeat only vertically you can
3:52 definitely do that now for tiled images
3:55 the position doesn't really matter if
3:59 you notice as you swim swapping through
4:00 these options the image background is
4:03 actually shifting a little bit but
4:06 really for tiled images it doesn't
4:08 really make sense for configuring a
4:11 background position it doesn't yeah it
4:14 shifts the image a little bit but not
4:16 long now if we look at this example
4:18 directly below it this is where we're
4:21 actually using horizontal repeats so in
4:26 this particular in
4:27 we're only repeating this particular
4:29 tile horizontally and then we want the
4:33 position to be the left top now let's
4:37 say we wanted to repeat this down the
4:39 side of the jack stack we can go ahead
4:42 and say we want to repeat it vertically
4:44 and then we want it to go on the left
4:47 top but maybe we wanted it to be on the
4:49 right top and then it will start
4:52 repeating the image from the right top
4:54 and down now if you are only going to be
4:58 repeating an image vertically or
5:00 horizontally chances are you gonna want
5:03 to make sure that you define a fallback
5:04 color and this is gonna be the color
5:07 that Jack uses for the rest of the stack
5:10 that doesn't have the background image
5:12 you know shown the next option here is
5:16 for using image size of cover so if you
5:21 set your image size to cover Jack well
5:24 the background image will actually be
5:25 scaled to cover the entire background of
5:29 Jack now image repeat and position don't
5:34 really make sense for cover images
5:36 they're kind of ignored so those
5:38 particular settings aren't really needed
5:40 now in this example we'll notice that I
5:43 defined different images for mobile and
5:45 large you know devices this was really
5:50 to show you that the image is actually
5:52 changing as you look at it from
5:55 different browsers but in reality your
5:57 going to be using the same image in both
5:59 but the mobile version will just be a
6:02 scaled-down version so that it loads
6:05 faster on mobile devices now if we look
6:08 at this second example of cover we'll
6:10 notice that it has a scroll behavior set
6:13 to fixed position instead of the default
6:17 which is scroll with content now when
6:20 you set the scroll behavior to fixed
6:22 position you'll notice as I scroll even
6:25 in edit mode as I scroll up and down the
6:28 page the image background is fixed to
6:31 the browser and the jack content simply
6:34 Scrolls on top of it this is how we can
6:39 achieve the parallax effects
6:41 like in our full page height the example
6:43 where we have these sections of the page
6:47 where the content Scrolls over a fixed
6:50 background now I want to take this time
6:53 to go over the background origin now
6:56 this option is not only for background
7:00 images but it's for solid colors for
7:02 gradients it's for all backgrounds
7:04 however I want to show you an example of
7:06 exactly what that means here we have the
7:09 option of setting the origin of the
7:11 background to be at the padding box the
7:14 border box or the content box so if we
7:19 look at this at this particular example
7:21 of Jack I've added a 20 pixel border now
7:24 I've also added a 20 percent opacity to
7:27 it that we'll see once we look at
7:28 preview now what we're going to be
7:31 explaining here is the CSS box model now
7:35 I've done an entire Weaver cast podcast
7:37 show on this so you may want to check
7:39 out that video but let's review it again
7:41 here because it's very pertinent to this
7:44 so I previewed my page and I've opened
7:47 it up inside the Safari dev inspector
7:49 and I'm looking at the box model for
7:53 this particular Jack stack and full
7:57 notice as I hover over these we'll see
8:00 that it has a border of 20 pixels and
8:02 it's being highlighted it has a padding
8:06 of of a percentage okay and then it has
8:10 the content area those are the border
8:16 box padding box and content box that we
8:21 see inside the background origin so when
8:25 I set the background origin to be border
8:28 box what it's going to do is the
8:31 background is going to start at the
8:33 outside edge of the border if I set it
8:37 to padding box it's going to set it to
8:40 the outside edge of the padding box and
8:43 if I set it to the content box the
8:47 background is going to restrict itself
8:49 to to remain inside the content area
8:54 let's see a couple examples right now
8:57 this stack is set to be padding box so
9:02 the background is set to be fully
9:04 enclosed inside the border let's go
9:09 ahead and change this to be border box
9:15 so inside my stack I'm going to say
9:17 origin of border box and if we preview
9:22 our page again we'll notice here that
9:29 the stack looks vastly different because
9:32 the background has extended to the edge
9:35 of the border which the background is
9:40 now bleeding through because I've add a
9:42 20% opacity to the border purely so that
9:46 we can see this in action now if we go
9:49 back to edit mode and change our origin
9:51 to content box this is very apparent
9:54 you'll see it right away on inside edit
9:57 mode that this entire border or padding
10:00 area here is now white because we
10:03 constricted the background of this jack
10:05 stack to the content area this way the
10:11 padding area of the stack is now
10:13 completely transparent and we still have
10:16 a border that is set to a 20% opacity so
10:21 if we preview this we see that now the
10:25 content here area now has the background
10:29 the padding area is fully transparent
10:32 and we still have a border that is set
10:35 to black at an opacity of 20%
10:38 okay now let's jump into gradient
10:42 backgrounds jack has a lot of really
10:46 advanced controls for some amazing
10:48 gradients let's look at some of them
10:50 here when you set your background type
10:54 to gradient you'll notice you have a a
10:56 lot of new settings show up and these
10:59 allow you to build really good gradients
11:02 for a gradient style we have linear
11:05 search
11:06 any lips and on top of that we have
11:09 gradient themes that I've built into
11:11 Jack for two color themes a simple one
11:14 color which will take the one color one
11:17 color and then you know disperse that
11:20 color across the entire stack we can do
11:24 two tones where um it takes one color
11:28 and then does two variations of it split
11:31 down the middle and last we have a faded
11:35 theme which we'll look at in just a
11:37 little bit but let's go back to the two
11:39 color here
11:43 once you have if you have your gradient
11:45 style set to linear you can do define
11:48 your linear too so the direction that
11:51 your gradient is going from into so is
11:55 it going to the right is it going
11:56 diagonally to the top left is it going
12:00 diagonally to the bottom left okay so
12:04 you can change the actual direction of
12:06 your gradient now remember with
12:09 gradients you can also use the
12:10 background opacity as well so if you
12:13 want to you know have you know maybe a
12:15 background image bleed through from
12:17 another stack through the gradient you
12:20 can do that now if you choose a radial
12:23 gradient you'll notice that we have
12:25 radial origin options and this works for
12:29 both radial circles and radial ellipse
12:32 gradients we can actually define the
12:34 origin of the circle so in this
12:38 particular example if you want it to be
12:40 at the top kind of the top center of the
12:44 kind of the radial gradient to start at
12:46 the top center I said it to be 50% and
12:49 25% now if you wanted to be dead smack
12:52 in the middle you would set it to 50%
12:54 50% and that will the gradient circle
12:58 will start exactly in the middle of the
13:00 jack stack so you can really play with
13:03 the gradients maybe you want it you know
13:04 coming from the top corner or the you
13:06 know to simulate maybe a Sun effect or
13:09 something of that nature right but these
13:13 allow you a lot of flexibility in terms
13:15 of the where to position your radial
13:17 gradients
13:19 now a note about the great faded effect
13:23 that we can I get with Jack now
13:26 unfortunately because of some of the
13:27 code that's used the faded gradient does
13:30 not display inside edit mode but let's
13:34 look at what it does we notice in this
13:37 demo here that I have a background a
13:41 jack stack with a background and then
13:44 that is faded to basically a solid color
13:48 white which in this case actually might
13:51 the background of my site is white so it
13:55 basically allows you a way of doing a
13:57 gradient into nothing or into train what
14:01 looks like into a completely transparent
14:04 layout if we flip that you can actually
14:08 make it look like you have a solid color
14:10 and it's fading into a background
14:13 basically what we're doing here is we're
14:16 taking a single color which is white and
14:19 we're creating a gradient based on the
14:22 opacity so in this second example I'm
14:26 starting with an opacity of 100 and I'm
14:29 fading to an opacity of zero in this
14:34 first example I'm starting with an
14:36 opacity of zero and I'm fading to an
14:38 opacity of 100% so if we look at the
14:42 options here when we set the linear
14:44 great the linear gradient to linear and
14:47 the gradient themed have faded we can
14:50 define the faded opacity okay which
14:54 basically allows me to go to 0% so we'll
14:58 always start at the opacity that the
15:00 background is set to be and then will
15:03 fade to the opacity set here so if we
15:06 wanted to go to 100 to zero we'd set the
15:09 background opacity to 100 and the faded
15:12 opacity to zero but maybe you wanted to
15:14 go from 100 to 50 you can set the
15:17 background opacity to 100 and the faded
15:20 opacity to 50 the faded stop defines the
15:26 actual location where the fade what
15:33 ultimately end up at 0% so in our first
15:36 example when we reach 75% I want the
15:41 background to be at 0% opacity already
15:46 so you want this number to be lower to
15:51 be the the faster your fade is going to
15:53 be to nothing now the last feature of
15:57 Jack backgrounds is the ability to
15:59 animate your background this really
16:04 works amazing with tiled images
16:07 especially and it's really simple to
16:10 turn on all you simply do is inside your
16:13 background settings you check animate
16:15 background you can set the actual
16:18 direction in which the background will
16:20 animate to and then you can choose the
16:23 speed at which the animation happens
16:26 obviously the larger the number the
16:29 slower the animation is going to be now
16:33 I use this in many places on throughout
16:36 the jack demo site and a few of the
16:39 banner images especially the jack
16:40 backgrounds you'll notice that this
16:43 particular background is set to animate
16:46 now a word of caution this background is
16:51 set to be a cover image so it's not a
16:54 tiled image it is a single image that is
16:57 slowly being animated across the page
17:00 now this is a very subtle effect because
17:04 the image isn't you know it's all greens
17:06 it's just you know various you know
17:09 blurs and radiuses of green but you do
17:12 if you pay attention see it animating
17:14 across the screen now a side effect of
17:18 not using a tiled image for your
17:21 animated background is that if you sit
17:23 here long enough you will actually see
17:27 the image get repeated and you'll see
17:30 basically a solid line eventually go
17:33 across the screen now I've made this
17:36 background image big enough and have
17:38 made the animation slow enough so that
17:40 chances are you're not going to be on
17:43 the page long enough to ever see that
17:44 happen
17:46 however it is a risk for not using tiled
17:50 images with animations where this is
17:54 most prevalent is actually in this full
17:56 page height demo where I'm animating
17:59 this nights this nice starry sky
18:01 background and eventually this too since
18:05 it is a fixed image it is not tiled it
18:11 is not a proper tile if we were to watch
18:14 this page long enough we will eventually
18:17 see this image get repeated and you'll
18:20 see the beginning of the image matched
18:23 up with the end of the image and it will
18:25 you know it won't look so great again I
18:28 made a calculated risk that someone is
18:31 probably not going to be sitting on this
18:33 page long enough to ever see that happen
18:36 because I've made the animation so long
18:38 that it would take you quite a few
18:41 minutes probably three or four minutes
18:43 for eventually for you to see the edge
18:45 of that image being animated this is why
18:50 in the jak demo examples here that I
18:53 show in the animate section on the Jacke
18:56 backgrounds page these use official
18:59 titles so there are small images that
19:03 get repeated and since tiles can
19:05 infinitely scale each other you never
19:09 see any sort of break in the background
19:11 so if you can use a tiled image with
19:15 your animations I do recommend that so
19:20 how did I lose you yet that was a lot of
19:23 information right I'm sure you're
19:25 probably gonna have to come back and
19:26 review some of this information because
19:28 there's just so much that you can do
19:29 with jak backgrounds and there's so much
19:32 advanced stuff in there that um you know
19:34 you can learn from and the more again
19:36 the more you use jack the more these
19:39 things are going to become apparent to
19:41 you and you're really going to start
19:43 leveraging Jack to its fullest so I hope
19:47 you enjoy these videos on Jack and how
19:49 to use all of its powerful settings and
19:52 I can't wait to see exactly what you
19:54 build
19:55 Jack so go forth and make your website's
19:58 great and thank you very much for
20:00 joining and watching and being a great
20:02 customer so thanks very much everybody
20:04 bye"}]
Search the page
0