Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • harveyf Friend
    #121282

    Teline is a great template but I would like to move the banner module so it appears either in place of the date at the top right of the header or just above JA News.

    I have had a look at other posts but solutions suggested do not seem to be without problems (moving the right column etc) and some suggestions are not clear which files to edit etc.

    Has anyone succeded in moving banners to any of these positions and if so can you let me know who to do it?

    Once again, thanks in advance

    Menalto Friend
    #223720

    Ill come up with an answer for you later today,im in a hurry for some dinner here:eek:

    iastate Friend
    #223759

    I agree – as good as this template is, it really needs the banner moved to the area above the News section. I too tried to do this but it disrupted the other elements, regardless of how it is sized or centered.

    http://www.justbelowthesurface.com

    (Just development content – nothing finalized)

    Thanks for any help!

    Joe

    ShannonN Friend
    #223778

    iastate;20337I agree – as good as this template is, it really needs the banner moved to the area above the News section. I too tried to do this but it disrupted the other elements, regardless of how it is sized or centered.

    http://www.justbelowthesurface.com

    (Just development content – nothing finalized)

    Thanks for any help!

    Joe

    while I can’t provide a solution at this time, have you tried disabling most of the other page elements that get screwed up first (or commenting out them in the html) adding the banner position where you need it to be, turning it on then adding back the other elements one by one and adjusting stuff to suit?

    iastate Friend
    #223849

    I did, and it helped. 😀

    I realized there was a problem with the <div> tags. When I moved the original banner html I wasn’t sure what to do with the <div> tags. I moved them too and it basically told the right column to load under the main area. So I went back and added one, then the other, then removed the first one I added, etc – and ended up getting it to work.

    Having said all that – the Joomlart guys really should offer that as an option so we don’t have to fiddle with it ourselves.

    Thanks again –

    Joe

    ShannonN Friend
    #223858

    iastate;20455I did, and it helped. 😀

    I realized there was a problem with the <div> tags. When I moved the original banner html I wasn’t sure what to do with the <div> tags. I moved them too and it basically told the right column to load under the main area. So I went back and added one, then the other, then removed the first one I added, etc – and ended up getting it to work.

    Having said all that – the Joomlart guys really should offer that as an option so we don’t have to fiddle with it ourselves.

    Thanks again –

    Joe

    Glad you fixed it Joe

    harveyf Friend
    #224008

    Can anyone help, again the solutions seem to a bit hit and miss

    To be honest this seems a reasonable request for a licensed member to make, Joomlart should really offer a short document to show, step by step, how this can be achieved

    Thanks

    ErikThorsen Friend
    #224037

    I totally understand you on this harveyf, however, if Joomlart should provide step by step guides on how to change anything in the templates, the documentation would be 100 pages long. Don’t misunderstand me, your request might be more than reasonable enough but I know for sure that there are at least 20 other requests as to how to change stuff which is also “required” to write something about.

    Personally I think there should be some sort of wiki or something for each template. That way people who have made some changes to any type of code could add this to the wiki and thus make it easier for anyone to do any changes to the template.

    Anyone else feel the same?

    Hieu Nguyen Admin
    #224059

    I feel the same with you, and will try to do that.
    It’s now in my todo list :D, thanks ErikThorsen

    harveyf Friend
    #224077

    It would be great if the CSS files were documenetd in the Wiki as well. Teline is a fantastic template, a real credit to the design tem.

    However, the ability to fine tune it with a font change here or a colour there makes it even more useful and changing the CSS is a bit hit and miss at the minute

    Anywa, thanks in advance. I guess I will have to wait for instructions on how to change the banner position until you can get around to the Wiki

    Thanks again

    Menalto Friend
    #224081

    This removes the date on top right: and put a banner there instead
    In index.php from line 203 to 222

    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">

    <h1>
    <a href="index.php">
    <img src="<?php echo $ja_template_path;?>/images/logo.gif" alt="<?php echo $mosConfig_sitename?>" />
    </a>
    </h1>

    <div class="ja-day">
    <?php
    echo "<span>".date ('l')."</span>";
    echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
    ?>
    </div>

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

    Replace with this:

    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">

    <h1>
    <a href="index.php">
    <img src="<?php echo $ja_template_path;?>/images/logo.gif" alt="<?php echo $mosConfig_sitename?>" />
    </a>
    </h1>

    <div class="ja-day">
    <?php if ( mosCountModules("banner2") ) { ?>
    <div class="ja-day">
    <?php mosLoadModules ( "banner2", -1 ); ?>
    </div>
    <?php } ?>
    </div>

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

    In the template_css.css file from line 1065 to 1090

    div.ja-day {
    margin-top: 5px;
    float: right;
    font-family: Tahoma, Arial, sans-serif;
    }

    div.ja-day div {
    float: left;
    padding: 10px 0 5px;
    margin-left: 5px;
    width: 37px;
    background: url(../images/day-panel-bg.gif) repeat-x top #333333;
    color: #DDDDDD;
    font-size: 90%;
    font-weight: bold;
    text-align: center;
    }

    div.ja-day span {
    float: left;
    color: #999999;
    font-size: 260%;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 4px;
    }

    Replace with this:

    div.ja-day {
    float: right;
    width: 480px;
    }
    .ja-day {
    margin-top: 2px;
    padding: 2px 0;
    }

    Didnt test it but give it a shot

    mediamatters Friend
    #234932

    @menalto: For some odd reason the banner is not showing up at all anymore. I tried this earlier but did not have the banner placed to replace the date, i just head it somewhere in the content area and it worked fine earlier but doesn’t show up now.

    Any suggestions?

    Thanks

    Menalto Friend
    #234933

    <em>@mediamatters 34949 wrote:</em><blockquote>@Menalto: For some odd reason the banner is not showing up at all anymore. I tried this earlier but did not have the banner placed to replase the date, i jsut head it somewhere in the content area iand it worked fine earlier but doesnt show up now.

    Any suggestions?

    Thanks</blockquote>
    do you have a live url?either here or in a PM

    one7media Friend
    #235358

    Alternatively, I’d like to keep the date, but add a small mod beneath it (screenshot attached).

    Doesn’t have to be anything fancy, I just want to put some links in there, e.g. Subscribe to Printed Version, Newsletter Signup, etc…


    1. screenshot
Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 8 voices, and was last updated by  one7media 16 years, 11 months ago.

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