2.4. theme_blockcenter_l.html

Line 1-6:

<div style="padding: 0px 0px 0px 8px;">
  <fieldset>
    <legend class="blockTitle"><{$block.title}></legend>
    <div class="blockContent"><{$block.content}></div>
  </fieldset>
</div>

This HTML file dictates the general layout of the Center-Left Blocks which gives them a consistent look. This is called by the theme.html file through a Smarty <{include}> tag.

As with the center-center blocks, the center-left blocks are placed inside a div and enclosed in a fieldset. The block title becomes the legend of that fieldset. The block content is placed in a nested div inside the fieldset

It uses the Smarty tags <{$block.title}> and <{$block.content}>.

[Tip]Theme-Building Tips
  • The rendering of fieldsets often differ from browser to browser. Although it is possible to change its look through the style.css by creating a class for the fieldset, some theme-builders rely on divs or tables to display the block title.

  • Take note that the padding of the divs of the center blocks are embedded in the tag rather than linked from the style.css. Edit the file directly for changes in the displayed padding of the block.