Islam Adel
Architect & IT Expert

Select your language

Here I found a way to place a joomla module at any position you like on your site.


1. Go to the path of your template where you host your site, usually: /templates/template-name
2. Edit index.php and place the following code, it would be recommended to place it close to a module position where it should be shown later.

<!--  custom_name -->
<?php if ($this->countModules('custom_name')) : ?>
<div id="s5_custom_name"></div>
<?php endif; ?>
<!-- custom_name end -->

3. Edit your main template css file, usually called css/template.css
you can change the position and look of your module as you like, example here:

    width: 225px;
    height: 72px;
    margin-top: 0;
    float: left;
    position:relative;
    top:78px;
    right:-150px;


4. And Finally set the position of the desired module to your custom_name defined in the upper code.

Enjoy