Modifying the Joomla template on your site is a breeze if you are using a template from RocketTheme.com (they have a few free ones for use as well.) This tutorial will show you how to easily change the CSS tags on your Gantry 4 RocketTheme Joomla Template. Tools used in the tutorial are:
Gantry Template Bundle for Joomla 2.5 + 3.2 - found at:
And exTplorer file manager for Joomla found at:
SUBSCRIBE TODAY! ► https://goo.gl/N6y5bH
ENTER TO WIN! ► https://www.basicjoomla.com/contests
FOLLOW US ON TWITTER! ► @basicjoomla
LIKE US ON FACEBOOK! ► https://www.facebook.com/basicjoomla
I received the request from my client asking for help on modifying the CSS (Cascading Style Sheet) for a template on a site that he is building. He is using a Rocket Theme template. I really like their templates; I like their extensions. One of the things that is super about them is it’s really easy to modify the template itself by changing the CSS.
In the back-end of the Basic Joomla site, I'm going to go to "Extensions" and "Template Manager" and I'm going to select the Gantry Template which I have installed. It's this default one, is free and it comes with all the extensions that are needed to run Gantry. So, I'm just going to click here, make it the default, go back to the home page here and "Refresh" and we'll see that the template has changed. Now we're set to try to change this template up.
The client is wondering about how to change the "Heading 2" CSS value at tag. If I hit F12 it opens up these developer tools and if I click on this magnifying glass down here, I can then highlight different parts of the template and it will show me over here on the right-hand side which CSS is affecting what. So, I'm going to select the “Welcome header” here and when I click that we see all of the rules, with the beginning rules in the Cascade, to the final ones that are affecting what is seen on the screen.
Now the question here is, how to change the size for this title? You'll see "title" is the tag and component-content-heading2, and here we see font size of 28, line-height 30, font-weight normal, letter spacing normal. So, to preview the change of the size of that font we just click in here, and make it 108.
Now let's suppose that is the size you want your coding to appear on the title in the template: title component-content-heading2. Well, then you can copy these changes and paste them in a custom CSS page.
Go to the back-end of Joomla and I'm going to use a component called EXTplore. It's a file explorer for within your Joomla install, and here it shows the tree of your Joomla install. What you want to do is go to the CSS folder for the template that you are modifying. We're modifying Gantry so we're going to Gantry, double-clicking there, going to go into the CSS folder and here there are some files, and we want to make a file in this folder. I'm going to click here, "new file directory," and am going to give it a name and the taxonomy for the name is the template name, then -custom.css. So, this template is actually named "Gantry-custom."
We click create. And then right-click, and we'll edit that. Now it's a blank file, of course. We can head back to the home page where we have the CSS for this title font selected and I'm going to left-click and I'm just going to drag and select all of that. And now I'm going to go "control C" for copy.
Now let's go back to that custom file and we'll paste in the CSS. The only thing that we've really changed in all of this is the size. We could change other things. We could change the font weight, we can even add a line to change the color. So, we don't really need this line height change, your font weight, because that's already active, we don't want to change that, we just want to be changing the size. So now I'm going to save that file and we'll go back to the site here and I'm going to refresh the page and we'll see under refresh the letters in that heading remain the same.
So, if I hit F12 again, use a magnifying glass, we can select that. Now when we go over we see the CSS that is applied and when we go down we'll see that the size here is changed in this file, "gantry-custom .css." So basically, you find the CSS that is affecting this template, and how its displayed, find the code, copy it after you've made it look the way that you want it to, and then paste it in your custom CSS file.
There is also a tool for Firefox called Firebug. It's an extension that you would add on to Firefox, so search for that in extensions. You turn that on also with F12.
So that is a really super way to customize the Rocket Theme templates and the CSS.
Tutorial Theme Song "Bluewater" courtesy of http://www.freestockmusic.com
Looping Background "Teal Tiles" courtesy of http://www.motionbackgroundsforfree.com #joomla