2.5. theme_blockcenter_r.html

Line 1-6:

<div style="padding: 0px 5px 0px 0px;">
  <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-Right 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 and center-left blocks, the center-right blocks are placed inside a div and enclosed in a 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.