If you are extending your YJSG based theme this is the place to start.
You should first decide where to add your new module position. Open template index.php
and try to find a suitable place for your new module. For example under the main menu.
<jdoc:include type="modules" name="newposition" style="YJsgxhtml" />
YJsgxhtml
,Yjround
, YJsgplain
. templateDetails.xml
: <position>user25</position>
<position>newposition</position>
<div class="yjsquare modidMODULEID"> <div class="h2_holder"> <h2 class="module_title"> Title </h2> </div> <div class="yjsquare_in"> module content... </div> </div>
Note that a space in module title will split your title and each part will be surrounded by a span.
This way you can additionally style the separated title.
<div class="yjsquare modidMODULEID addround"> <div class="h2_holder"> <h2 class="module_title"> <span class="title_split titlesplit0">Module</span> <span class="title_split titlesplit1">Title</span> </h2> </div> <div class="yjsquare_in"> module content... </div> </div>
<div class="yjplain modidMODULEID"> module content... </div>