rytech sites template building

17
Customize a Template Make a template your very own! RytechSites.com

Upload: ligordon

Post on 22-Mar-2017

246 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Rytech sites   template building

Customize a Template

Make a template your very own!

RytechSites.com

Page 2: Rytech sites   template building

Topics

1. What should it look like

2. Why select a specific template

3. Templates vs. Styles

4. Basic Config Settings

5. Hide Article on home page

6. New Style and how to customize

7. Add new class to module

8. Find Gradient background trick

9. Apply new background style to custom.css

10.Verify everything works!

Page 3: Rytech sites   template building

1. Design created by designer

2. yootheme template: Everest

3. Completed website!

Template Goals

Page 4: Rytech sites   template building

Why use Everest Template?1.Menu ‘system’ and layout is similar2.Overall structure is similar3.Module positions exist as needed

Page 5: Rytech sites   template building

A little information about YooTheme Templates

1. Every template company uses a different ‘framework’

2. Rocketheme → Gantry

3. Yootheme → Warp

4. The frame work determines how the customizaton works

5. Even Warp Frameworks (depending on version 6 or 7, work completely differently.

6. Any frame work takes time to learn, and get used to, there are pros and cons with all of the various frameworks

Page 6: Rytech sites   template building

Templates - Styles vs. Templates

StylesThis screen shows the list of templates, click on the template NAME to get options for that template (depending on framework used)

TemplatesThis list the templates and the FILES associated with them, to edit the files (custom.css) this is the place to go.

Or click on the template in the last column to get to template files

Page 7: Rytech sites   template building

Important Basic Configuration Settings

1. Settings 2. Layouts 3. ModulesDetermine what types of screens modules appear on, and module styling

Page 8: Rytech sites   template building

Set home page to NOT display article

For this site, the design was determined to not include an article on the home page

For Yootheme to do this, the layout needs to have ‘checked’ NOT to DISPLAY content, but it needs to display content on other pages.

1. Create NEW LAYOUT → called home

2. Click Hide System Output

3. Select Assignment Menu to just HOME PAGE

Page 9: Rytech sites   template building

Make a copy of a style in Customize View

1. click on customizer

2. Select style that looks the ‘closest’ to what you are trying to build3. Click Copy4. Type name ‘aemt’ this name can not be changed later5. A folder is created in the ‘styles’ folder of the template with this name.

Page 10: Rytech sites   template building

Changes to make in CustomizerThe ‘Customizer’ View allows you to make many changes to the template. Sometimes it is ‘trial’ and error to verify that the changes are what you would like to do.

Each time these changes are applied, they apply to the NEW STYLE only.Be sure to select the STYLE FIRST that is being adjusted

1. Click on Advanced mode to see all options

2. To change screen width

3. Change color of Text4. Change Font styles for Body5. Change font styles for heading6. For any options click on ‘MORE’ to expand options7. Click SAVE to save changes

Page 11: Rytech sites   template building

Apply new Style to Template

1. Click on Options2. Click on Layouts on

‘left side’3. Select Style as the

new style

Page 12: Rytech sites   template building

Assign a module to utilize a gradient background, or new styling

Why I love AEMTThis is a simple NEWSFLASH type module, it randomly selects an article from a category that is selected.Each time the screen is refreshed a different article will appear.The ‘title’ of the article is the person’s name

1. some basic options in newsflash

2. in Module Class Suffix put‘ box-purple’ (notice the space to the left of ‘box’)

Page 13: Rytech sites   template building

Create Gradient for colors1. Determine the ‘css code’ for the

gradient that is needed

2. visit: http://colorzilla.com/gradient-editor

3. Select color range

4. determine orientation (vertical or horizontal)

5. copy the css code

6. paste code into notepad, and save to use for later

Page 14: Rytech sites   template building

1. View Folder Structure of the ‘new style’

2. Click on Template Name ‘ last column’

3. Click on styles4. See aemt

This is the new ‘folder’ that was created when the style was made5. To add a new file (custom.css) to this folder is useful if you need to create custom.css rules6. It is possible to also create an images folder her to store images specific to this style of a template

Template Folder Structure

Page 15: Rytech sites   template building

Create new File in new directory1. Click on New File 2. Click on the folder name (might have to hit

<ctrl> <-> to make screen small enough to view3. click on file type (css), type in file name, custom4. Click Create

Page 16: Rytech sites   template building

Create new style in custom.css

1. Go to the Temple File2. Find custom.css3. Copy the data from the

gradient into the style:4. .box-purple5. .box-purple h3 (this

defines the green text for the header)

.box-purple h3 { color: #84b07b !important;}

.box-purple { padding: 10px !important; color: #fff; /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#864d7a+18,622850+100 */background: #864d7a; /* Old browsers *//* IE9 SVG, needs conditional override of 'filter' to 'none' */background: -moz-linear-gradient(top, #864d7a 18%, #622850 100%); /* FF3.6+ */background: -webkit-gradient(linear, left top, left bottom, color-stop(18%,#864d7a), color-stop(100%,#622850)); /* Chrome,Safari4+ */background: -webkit-linear-gradient(top, #864d7a 18%,#622850 100%); /* Chrome10+,Safari5.1+ */background: -o-linear-gradient(top, #864d7a 18%,#622850 100%); /* Opera 11.10+ */background: -ms-linear-gradient(top, #864d7a 18%,#622850 100%); /* IE10+ */background: linear-gradient(to bottom, #864d7a 18%,#622850 100%); /* W3C */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#864d7a', endColorstr='#622850',GradientType=0 ); /* IE6-8 */

}

Page 17: Rytech sites   template building

Verify styling

1. Right click on the header2. select ‘inspect element’3. View bottom half of the screen to

see… .box-purple h3