Answer the question
In order to leave comments, you need to log in
Joomla 3 html module - how to manage its content?
Honestly, I don’t have the strength anymore, I don’t understand how to implement it. Before that, I was waiting for 2.5 and bootstrap 2, I created a module in the template, inserted a picture into it, wrote the code in index.php
<div class="row-fluid">
<div class="span12 module1 center">
<jdoc:include type="modules" name="module1" style="xhtml" />
</div>
margin: 0 auto;
<div class="row">
<div class="col-xs-12col-md-12 col-lg-12 module1 center">
<jdoc:include type="modules" name="module1" style="xhtml" />
</div>
<div class="hidden-xs">
<div class="col-md-12> pull-left left">
<jdoc:include type="modules" name="module1" style="xhtml"/>
</div>
<div class="visible-xs">
<div class="col-md-12> pull-right right">
<jdoc:include type="modules" name="module1" style="xhtml"/>
</div>
Answer the question
In order to leave comments, you need to log in
You do not write styles correctly and you have a lot of quotes. Even if you write them correctly, it will turn out that you align a block of 12 columns wide in the center.
It's good to know CSS first, and then layout for frameworks.
PS And the alignment class has already been created for you. getbootstrap.com/css/#helper-classes-center
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question