Hello,
I need to produce clean code with no clutter for a client's site.
I already installed seb_minima to have minmal markup.
Still, when I render my articles, I get code like this:
<div id="cck13_mainbody" class="seb_css3 vertical cck13-deepest">
<div id="cck13_art_introtext" class="cck_contents cck_intro cck_wysiwyg_editor cck_art_introtext">
<div id="cck13_value_art_introtext" class="cck_value cck_value_wysiwyg_editor">
<p>Content</p>
</div>
</div>
</div>
I added a file to the folder templates/seb_minima/fields/markup.php with content:
function cckMarkup_seb_minima( $cck, $html, $field, $options )
{
return $html;
}
Now I get this output:
<div id="cck13_mainbody" class="seb_css3 vertical cck13-deepest">
<p>Content</p>
</div>
How can I get rid of that extra div? I only want to output the content.
The class seb_css3 gives me unwanted padding around my content.
I don't want to write extra css to override that padding. Better to get rid of the unnecessary div.
Any feedback on how to achieve this would be much appreciated. Thanky ou.