$featured = array_slice($featured, 0, $max_featured);\r
$normal = array_slice($normal, 0, $max_normal);\r
\r
- $res = $this->htmlElement($title, 'h2', array('class' => 'title col-2'));\r
+ $res = $this->title($title, 'h2', array('class' => 'col-2'));\r
\r
$e = 0;\r
\r
* @return string\r
*/\r
public function title($content, $markup = 'h1', $attributes = array()) {\r
+ if(!$content){\r
+ return '';\r
+ }\r
$attributes = $this->_mergeAttributes($attributes, array('class' => 'title'));\r
return $this->htmlElement(str_replace("\n", ' <br />', $content), $markup, $attributes);\r
}\r
}\r
\r
$('#z,header').css('transform', transform);\r
-\r
-\r
}
\ No newline at end of file
transform-origin: 50% 0 0;\r
}\r
\r
+#mm-0 {\r
+ max-width: 100%;\r
+ overflow: hidden;\r
+}\r
+\r
// Main heading style\r
h1, h2 {\r
&.title {\r