Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • Phill Moderator
    #363594

    Here we go. Open your html file and find

    <!-- END: MAIN NAVIGATION -->

    </div>
    <!-- END: HEADER -->

    Below it add


    <div id="user-top" class="clearfix">
    <jdoc:include type="modules" name="user-top" />
    </div>

    Open tempate.css and at the end add

    #user-top{
    margin-bottom: 15px;
    width:100%;
    }

    Just for neatness open templates>ja_zeolite>templateDetails.xml and find

    <position>syndicate</position>
    <position>debug</position>

    and change to

    <position>syndicate</position>
    <position>debug</position>
    <position>user-top</position>

    That last step is not needed if you are happy to type the position in module manager yourself.

    Phill Moderator
    #363595

    I forgot to say above, please undo your previous edits in this thread first then place your banner through the module manager in Joomla rather than directly in the code. You now have a position called “user-top” to place this in.

    msilac Friend
    #363597

    Let’s see http://www.udruga01.hr
    It is ok, but space below have bigger height (look above and below banner). But ok, if that is best we can do, that’s ok.

    Thank you

    msilac Friend
    #363598

    Hm… look at FF and Chrome… it is aligned to the left?

    Phill Moderator
    #363601

    The spacing at the bottom can be adjusted by changing the 15px to whatever spacing you require. Having said that you appear to have some padding already in your custom code for the banner. As for the sllignment, that seems to be something to do with your banner script. Can you post it here?

    msilac Friend
    #363602

    Ok spacing is ok. There is banner code

    <script type="text/javascript">// <!]// -->
    // ]]></script>
    <p><noscript><a href='http://d1.openx.org/ck.php?n=afc1fadd&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://d1.openx.org/avw.php?zoneid=176760&cb=INSERT_RANDOM_NUMBER_HERE&n=afc1fadd' border='0' alt='' /></a></noscript></p>

    Phill Moderator
    #363605
    OK, simply add <div class=”center”> just before the <script and add </div> right at the end.

    Then in template.css at the end add the code

    .center {
    width: 700px;
    margin-left: auto;
    Margin-right: auto;
    }

    You will probably have to fiddle with the width: 700px; to get the allignment correct, I just picked the figure out of my head. You could add a backgroung image to it too to make it look a little nicer. The styling it up to you from there.

    msilac Friend
    #363607

    Great support, it works now! Thank you very much!!

    Phill Moderator
    #363613

    Good luck with your site. It is coming along nicely.

Viewing 9 posts - 16 through 24 (of 24 total)

This topic contains 24 replies, has 3 voices, and was last updated by  Phill 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum