Your browser is not fully supported. Please upgrade your browser.

Skip to main content
Fabric Swatch

THE TEMPLATE THEME

Templating the template

Image: © Example @Unsplash.com
(Photo credit block specifically for the hero image)

 

Intro block (Wool Lab Theme Intro Index Block)

Fabric Swatch

LOGGED IN GATED INTRO BLOCK. Paste first section of the text here. Log in to see the chapter links.

Place the second section here. This block is for LOGGED IN users to see, it should display the chapters below, and not the REGISTER/LOGGED IN hyperlinks. 

 

© Example @Unsplash.com

Fabric Swatch

LOGGED OUT GATED INTRO BLOCK. Same block as above, but for LOGGED OUT USERS to login/register. Use incognito to see buttons as logged out user.

Leave the bottom section code the same, but change the login and register URL to be the same as this pages URL. Leave chapters empty. 

Code to change is highlighted, leave anchor link the same:

<div class="col-6"><a class="twl-login fabricSwatchModalBlock-command fabricSwatchModalBlock-command--viewCart btn btn-secondary" style="text-decoration: none; width: 260px; max-width: 100%;" title="Login" href="/EPiServer/CMS/Content/industry/source-wool/the-wool-lab/themes/template#ids-loginoverlay">LOGIN</a></div>


<div class="col-6"><a class="twl-register fabricSwatchModalBlock-command fabricSwatchModalBlock-command--viewCart btn btn-secondary" style="text-decoration: none; width: 260px; max-width: 100%;" title="Register" href="/EPiServer/CMS/Content/industry/source-wool/the-wool-lab/themes/template#ids-formregistrationoverlay">REGISTER</a></div>

 

© Example @Unsplash.com

 

Login or register to view the full collection of swatches.

This content is available to registered users only.

 

 
 
 
 

HODOR IPSUM (H2 HEADING)

 

H3 Sub-heading left aligned

 

General notes:

  • Make sure you've copied the page settings.
  • Wysiwig blocks (wysi) contain all the blocks of a particular chapter, this is for ease of editing and building of these long pages.
  • Blocks within wysiwig are generically not full width. Insert <section class="full-row"> </section> to make all the blocks full width and display properly.
  • You have to insert photo credit under each block that has a photo. The easiest way is the throw in the p tag in source code. Use <p style="font-size: 12px; text-align: center; margin-top: 0px;"><em>&copy;&nbsp; @Unsplash.com</em></p> under each of the blocks that require photo credit for styling.
  • Intro blocks photo credit are placed within the block itself.
  • Always create a new empty block for swatches and insert code afterwards. Otherwise, there's complications with how the codes are pulled through.

 

 

Full width block (Full Width Feature Block)

 

© Example @Unsplash.com
<p style="font-size: 12px; text-align: center; margin-top: 0px;"><em>&copy;&nbsp; @Unsplash.com</em></p>

 
 

Horizontal block (Wool Lab Theme Column Swatch Block)

Always create a new empty block and insert code afterwards. Otherwise, there's complications with how the codes are pulled through.

3 swatches - Put in 3 codes

Swatch Title

AC_01

Swatch Title

AC_02

Swatch Title

AC_03

2 swatches - Put in 2 codes

Swatch Title

AC_01

Swatch Title

AC_02

 

Vertical block (Wool Lab Theme Column Swatch Block)

LHS + 2 regular swatches

Fabric Swatch

Swatch Title

AC_04

Swatch Title

AC_05

 

RHS + 2 regular swatches

Fabric Swatch

Swatch Title

AC_06

Swatch Title

AC_10

 

Long swatch - 1 swatch code only

Fabric Swatch

Swatch Title

AC_08

 

 

Other swatch blocks

 

Big swatch (Wool Lab Theme Image Swatch block)

 

Swatch Title

LL_71

Full width image swatch (Wool Lab Theme Full Width Image Swatch block)

 

LL_36

 

TZ_03

Same block but left aligned

Text with white color coding

 

Wide three swatch block (Wool Lab Theme Wide Three Swatch block)

 

Swatch Title

PH_72

Swatch Title

PH_71

Swatch Title

PH_75
 
 
 
 

TRUMP IPSUM

Anchor link #trump goes to here, check source code:

<div id="trump">&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>

You have to put it a few lines above where you want it to actually appear because the nav bar will cover it.

 

 

Chapter Intro blocks variations

 

 

Fabric Swatch

CHAPTER INTRO v1

(Wool Lab Theme Chapter Intro Block)

Configuration 1: Text align right.

Image: © Example @Unsplash.com

 

Fabric Swatch

CHAPTER INTRO v2

Configuration 2: Both checkboxes ticked.


Image: © Example @Unsplash.com

 

Fabric Swatch

CHAPTER INTRO v3

(Wool Lab Theme Chapter Intro Block)

Configuration 3: Nothing checked.

Image: © Example @Unsplash.com

 

Themes Carousel block (ThemesCarouselBlock) 

At the bottom of every theme to navigate to other themes.