In the previous video, I showed you how we could take the protostar template and
its style, and we could customize it, and we took that one copy of the style,
and we customized it, and it's applied to all of the pages of the Web site.
But it's possible to take that same style, and make a copy of it, and then make
tweaks to the copy of it, so that you can have a slightly different style on some
pages of the Web site.
So I'm going to go ahead and show you how to do that now.
It's a nice way to make little variations in your templates. Again, you might
have something different for the homepage, something different for the inside
pages of the Web site, so I'll go ahead and show you how to do that now.
Here in the back-end of Joomla,
I'm going to start by going to Extensions > Template Manager.
And right now we have just the copy of the protostar template.
But if we put a checkmark next to this, and I say Duplicate up here on the top, I
can make a copy of that template.
So then I could click on this, and rather than calling it protostar-Default (2),
maybe I'll call it protostar-Home, and then I can make a modification just for the homepage.
Let's say, for example, that for the homepage of the Web site, I would like that to
have a different background color; maybe the same template color I'd like to
have as the background color for the Web page, so I've got that in both places.
I only want this style to apply to the Home page of the Web site, so I'll go
ahead and check off the Home page of the Web site, and then I'll say Save.
So now what will happen is when I come to the homepage of the Web site, and I
refresh, this particular page has one color for the background of the Web page,
and when I go to other parts of the Web site, it's got the original orange
background color that I chose. But the Home page now has a different color for
the background of the homepage.
I could have changed the header graphic, maybe I would want a really big header
graphic on the homepage, and a much smaller, or maybe a narrower header graphic
on the inside pages.
That would be something that is very typical, people will often do; varying a
homepage, versus an inside page.
And you could certainly do that with the interface that protostar comes with.
So the nice thing about Joomla
template styles is that they allow you to take the same template, make minor
tweaks to the way it appears, or text that appears on the pages, and you can
display your page in a number of different ways, all closely related, all still
controlled by the same style sheets, and the same HTML files, but you can still
make minor variations in the way the Web site appears.