I am trying to add a new module position to the top of my joomla template. I have followed all of the steps outlined in this article:

However, when I get to the final step, the module is never in the exact position where I want it. I need the module to be in the upper right section of the page for a login box.

Can anyone provide information on what I am missing to place the module exactly where I want it to be? Thanks!

  • The question is too vague. A link to your URL with a picture of the problem would at least make it possible to answer.
    – iamrobert
    Apr 9, 2015 at 1:22

2 Answers 2


I'm going to assume that when you say the module is never in the exact position where I want it, it means your new module position is rendered, but not the way you expect.

As the tutorial you've used mention:

To make the module match the look of the template, you may need to adjust the CSS files

You probably need to position the <div> correctly using CSS. An exact answer is not possible unless you can give access to a live site, tell us what template you're using, or at least provide a screenshot. But first of all I suggest you check your source code or Firebug/Chrome Developer tools (press Ctrl + U, or F12) and see if your module HTML is rendered where you expected.

If it is, then you will have to play around with CSS in order to position it correctly. This page has an introduction on how to position elements using CSS.


The templateDetails.xml file contains all the installation and core information for a template. In order for module positions to be available for selection in the Module Manager, the positions must be declared in the templateDetails.xml file of the template.


Know more - https://docs.joomla.org/Declaring_module_positions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.