Terry's TMG Tips

Controlling the Details on Your Site

This page created 2 May 2008

Version note: Applies to TMG 6 & 7, and Second Site 2
Second Site 2.1 or later required for TMG 7

My article on Refining Your Site describes some basic steps in Second Site to arrange your website as you prefer. Once you have chosen the basic "look and feel" of your site as described in that article, you may choose to further "fine tune" the appearance of your site to get it exactly as you prefer.

In order to illustrate some useful techniques this article describes a some methods I've used for my Family History pages. The major design criteria of that site is described in my article on Creating Minimalist Style Web Pages, but the techniques described here can apply to any style of site. Other articles in this group cover related topics.

Topics Included in this Article
Colors and Fonts
Modifying the colors and fonts specified in your selected Theme
Other Options
Options to have your site "your way"
User Styles
The ultimate options for advanced users
Changing Standard Phrases
Many of the standard phrases can be changed
Site Icon
Setting up a graphic icon on each page of your site

Setting Colors, Fonts and the Like

When choose a Theme for your site you set a variety of features, including colors, font size and style, and much more. Many of these choices can then be modified with the many options available on the Second Site screens. I used the Plain Theme because it is " intended as a base from which you modify color properties and supply graphics to create a custom look," to quote the description in Help. You can modify some of the properties of the other Themes too, but they are already designed present an integrated appearance as provided.

Here are some of the controls I used to create the custom colors, fonts, and text layout, listed in the order they appear on the Second Site screens:

These illustrate just a few of the many ways you can customize the colors and fonts used on your site. The specific changes allowed, and the effect of the various controls, varies depending on the Theme selected. Review the available options, read what Help offers, and experiment to see what changes appeal to you.

Selecting Other Options

A number of other options one can select to control various aspects to the overall impression of the pages, or producing specific features of my website. I list here I found interesting, by the section in which they appear in Second Site:

User Styles

Second Site uses CSS styles to control virtually all the aspects of your site. Most of the options described above are actually fields to change various CSS parameters in order to control the appearance of your site. There are actually hundreds, or perhaps thousands, of such parameters available to control all the appearance of the many elements that make up your site. While the more commonly used parameters can be adjusted with the various fields we have discussed above, there are many more that a truly dedicated "customizer" might wish to use. The screens in Stylesheets > User section are designed to provide access to them.

Unlike the options covered in the previous sections, the User Styles require some knowledge of CSS, and thus should be considered an advanced feature. Help provides some useful examples, there are many Internet articles that can be helpful if you are not already comfortable with writing CSS codes, and Second Site list on RootsWeb had many helpful people who can assist. But if such things seem like Greek to you, you may prefer to stay with the many options in the sections described above.

User Styles 1 through 5 are designed to allow a knowledgeable user to construct their own CSS styles, and then apply them to text entered in the various text content fields.

User Styles 6 through 20 are intended to allow users to override the standard styles that cannot be changed in the other screens. In each of these, you must first identify which style you want to modify in the "selector" field, then enter the appropriate CSS codes to make your desired modification in the "other" field. The following are some changes I made of this type for my family history pages:

I could have entered just the ul paramenter, but I also wanted to number the children. Specifying only the ul paramenter would cause the numbers to be converted to colored dots as well. The "ul.bull" class is used for the Tag bullets, but not for the list of children, so I was able to apply to colored dots only where I wanted them on the people pages. Since I also have bullets on my main page, I added the second term to change them as well. I then entered in the "other" field:

#surnameindex #content dt

I specified it this way so that the custom style would only apply in the surname index. I then entered in the "other" field:

The key in each of these examples is to identify the CSS parameter that controls the portion of the web page you want to change. In some cases this is obvious from looking at the source code of the finished pages, but in other cases it is more difficult to discern. No doubt those skilled in CSS can be more successful, but I found that a good web-page editor was invaluable in seeing which parameters control the specific items I wanted to modify.

Changing Second Sites's Standard Phrases

Many of the words and phrases that Second Site uses (as opposed from the text produced by Tags in your TMG data) can be easily edited. Second Sites's Strings section contains a long list of phrases used to construct your site. These fields are initially populated with standard terms in the language you select when you initially create your site definition - Language Issues in my Special Issues article. You can then edit any of these phrases if you prefer. Here are some I like to change:

Again, these are just a few of the many ways you can customize your site. If you see phrases you would prefer to change, look through the Strings section. You can most likely change to something you would prefer.

Setting Up a Site Icon

In Second Site 2 Themes are less inclusive than before. Now they control only the general "look" of the site - the colors and graphics used on the site. There are a variety of standard Themes that provide several distinctly different overall site styles. But I prefer a fairly simple style of my own design. So I start with the Plain style, which is designed to be a simple foundation for user customization. My principal addition is a "Site Icon" - the simple tree graphic that appears at the top of each page in the right-hand page of my site. Establishing a Site Icon is simple, once you locate or create a suitable graphic image. It's done as follows:

Page
Filename
Page
Filename
Main Page
siteicon1
Chart Pages
siteicon6
Surname Index
siteicon2
List Pages
siteicon7
Person Indexes
siteicon3
Image Pages
siteicon8
Person Pages
siteicon4
User Pages
siteicon9
Source Pages
siteicon5
Place Indexes
siteicon10

Conclusion

There are lots of ways to customize your webpages. How much you might choose to do depends on how much time you want to spend on the project, how picky you are, and what resources you have available. Hopefully, some of the ideas offered here will be helpful in creating a set of webpages that meet your needs.


ReigelRidge Home
Terry's Tips Home
Contact Terry

 

An Annoying Ad

My new book, A Primer for The Master Genealogist, is now available.

Details are available here.

 

Copyright 2000-2008