Pages that have a similar purpose are grouped into sets and configured together. Pages are configured differently because the content varies based on the page type. For example, person pages are very different from chart pages.
The Layouts Section is divided into subsections, including a Default Layout subsection and one subsection for each Page Set. Values set in the Default Layout subsection appply to all pages except if the user alters the same property in the Page Set-specific subsection.
List of Page Sets
Each type of page created by Second Site is assigned to a Page Set as described in the following list.
|mainpage||Used for index.htm or main.htm, whichever is the main page of the site.|
|surnameindex||Used for the surname index page.|
|personindexes||Used for the name index pages, including custom name indexes.|
|personpages||Used for person pages.|
|sourcepages||Used for source pages.|
|chartpages||Used for chart pages, including all the chart types that Second Site makes. Note that the list of charts is not a chart, it's a list and is on a List Page.|
|listpages||Used for various lists such as the Master Index, the list of charts, Exhibit Galleries (lists of exhibits), and optionally on Custom Page.|
|imagepages||Used for image exhibit pages.|
|userpages||Used for a variety of pages where the user provides most if not all of the content, including Custom Pages, exhibit text pages, and HTML pages that are in the Input folder.|
|placeindexes||Used for place index pages, including the master place index page and the place index detail pages.|
|custom1||The Custom 1 and Custom 2 Page Sets are not the default Page Sets for any pages. They are available as Page Set choices in the Edit Custom Page window and may be used for Custom Pages where you want specific settings without affecting other pages.|
Body Element IDs
For users who add User Styles to alter CSS parameters in Second Site, you can use Page Set-specific Body element IDs to restrict CSS rules to a particular Page Set. Second Site adds the IDs expressly for this purpose.
For example, you can change the color of H2 elements in the Main Page content with a Free Form User Style, as follows.
selector-1: #mainpage #content h2 parameters-1: color: #0000ff;
"#mainpage" in the selector limits the rule to pages in the Main Page Page Set, of which there is only one. "#content" limits the rule to the main content setion of the page. "h2" limits the rule to HTML H2 elements only.
One way to understand the selector is to read it backwards: H2 elements inside the content section of the main page.
You can copy the text above and then use the special paste command for User Styles to add it to your SDF file.
This page last changed on 05 Feb 2016.