Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • mfcphil Friend
    #133839

    I have placed a Share bookmark in user8 but its pushing the + and – text images over…any clue how to fix this? :confused:

    Menalto Friend
    #272844

    You should set a width on the usertoolswrap div, and add a new module position for the bookmarks which you place inside the usertoolswrap div, and set it to float left, and with a specific width, and for the usertools dilv you also set a width, then it should align correct.

    Something likethis:


    <?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?>
    <div id="ja-usertoolswrap">
    <?php if ($this->countModules('bookmarks')) { ?>
    <div id="bookmarks">
    <jdoc:include type="modules" name="bookmarks" style="raw" />
    </div>
    <?php } ?>
    <div id="ja-usertools" class="clearfix">
    <?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER) & 7, 'gif'); ?>
    </div></div>
    <?php } ?>

    And in css:


    #ja-usertoolswrap { width: 200px;} #bookmarks { float: left; width: 100px;} #ja-usertools { float: left; width: 100px; }

    mfcphil Friend
    #272885

    Menalto wher to put the first part??

    Menalto Friend
    #272891

    It was just this part here actually:

    <?php if ($this->countModules('bookmarks')) { ?>
    <div id="bookmarks">
    <jdoc:include type="modules" name="bookmarks" style="raw" />
    </div>
    <?php } ?>

    A new module position, but did you use a module position for the bookmarks?

    mfcphil Friend
    #272907

    Sorry Menalto but where do I put it?

    In the template.php file? if so where

    Menalto Friend
    #272908

    Paste the index.php file here, and i will look at it

    mfcphil Friend
    #272930

    <div id=”ja-pathwaywrap”>
    <div id=”ja-pathway”>
    <strong>You are here:</strong><?php mosPathway(); ?>
    </div>
    <?php if ($ja_tool) { ?>
    <div id=”ja-usertoolswrap”>
    <div id=”ja-usertools” class=”clearfix”>
    <?php mosLoadModules(‘user8’, -1); ?> <?php genToolMenu($ja_tool); ?>
    </div></div>
    <?php } ?>
    </div>

    can we not just force user8 further left?

    replaced new text put bookmarks module to user8 but nothing changed.

    http://www.peacockquizzes.com

    Menalto Friend
    #272977

    You can fin this code here in the index.php file:

    <div id="ja-pathwaywrap">
    <div id="ja-pathway">
    <strong>You are here:</strong><?php mosPathway(); ?>
    </div>
    <?php if ($ja_tool) { ?>
    <div id="ja-usertoolswrap">
    <div id="ja-usertools" class="clearfix">
    <?php mosLoadModules('user8', -1); ?> <?php genToolMenu($ja_tool); ?>
    </div></div>
    <?php } ?>
    </div>

    And replace it with this here:

    <div id="ja-pathwaywrap">
    <div id="ja-pathway">
    <strong>You are here:</strong><?php mosPathway(); ?>
    </div>
    <?php if ($ja_tool) { ?>
    <div id="ja-usertoolswrap">
    <?php if (mosCountModules('user8')) { ?>
    <div id="bookmarks">
    <?php mosLoadModules('user8', -1); ?>
    </div>
    <?php } ?>
    <div id="ja-usertools" class="clearfix">
    <?php genToolMenu($ja_tool); ?>
    </div></div>
    <?php } ?>
    </div>

    If it works you are ready, if not let me know.

    Menalto Friend
    #272991

    You didnt add the css,did you

    #ja-usertoolswrap { width: 200px;} #bookmarks { float: left; width: 100px;} #ja-usertools { float: left; width: 100px; }

    Add this and let me know how it is going

    mfcphil Friend
    #272992

    no was i meant to

    Menalto Friend
    #272995

    Infact yes, if you have a <div id=”something”> or <div class=”something”> you need to put a #something or .something to controll it:)

    Menalto Friend
    #272997

    ok Menalto that has moved it correctly to the left but not up and centre

    Still cant see the css you added, have searched the whole file

    last line in tememplate css

    added

    #ja-usertoolswrap { width: 200px;} #bookmarks { float: left; width: 100px;} #ja-usertools { float: left; width: 100px; }

    Last line i see is:

    ul.menu li {
    display : block;
    }

    is the file writeable for you?

    try refresh its there otherwise the share button would not have moved

    #ja-user11 div.ja-innerpad {
    clear:both;
    display:block;
    height:100px;
    margin:0pt;
    padding:20px;
    }
    #ja-containerwrap-f #ja-content {
    float: none;
    clear: both;
    }

    ul.menu li {
    display : block;
    }

    #ja-usertoolswrap { width: 200px;} #bookmarks { float: left; width: 100px;} #ja-usertools { float: left; width: 100px; }

    Got it now, it looks better doesnt it?

    no it too low it needs to be centred on usertools line……I know I’m fussy but just want it to look right 🙂

    Menalto Friend
    #273005

    #bookmarks {
    float:left;
    height:20px;
    margin-top:-3px;
    width:100px;
    }

    Change the #bookmarks in the css with the one i added above in this post.

    mfcphil Friend
    #273006

    Did that so code now looks like this

    #ja-usertoolswrap { width: 200px;} #bookmarks {
    float:left;
    height:20px;
    margin-top:-3px;
    width:100px;
    } #ja-usertools { float: left; width: 100px; }

    but sorry no change

    Got it Menalto

    Ghanged the margin-top:-3px; up to -12 to get it centered better.

    Thanks for all your help mate 😉

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

This topic contains 14 replies, has 2 voices, and was last updated by  mfcphil 16 years, 2 months ago.

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