-
AuthorPosts
-
mfcphil Friend
mfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 28, 2008 at 3:51 pm #133839I have placed a Share bookmark in user8 but its pushing the + and – text images over…any clue how to fix this? :confused:
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 28, 2008 at 4:04 pm #272844You 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; }1 user says Thank You to Menalto for this useful post
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 28, 2008 at 6:36 pm #272885Menalto wher to put the first part??
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 28, 2008 at 6:56 pm #272891It 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?1 user says Thank You to Menalto for this useful post
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 28, 2008 at 8:08 pm #272907Sorry Menalto but where do I put it?
In the template.php file? if so where
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 28, 2008 at 10:10 pm #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.
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 29, 2008 at 5:11 am #272977You 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.
1 user says Thank You to Menalto for this useful post
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 29, 2008 at 6:38 am #272992no was i meant to
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
September 29, 2008 at 6:51 am #272997ok 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 FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 29, 2008 at 7:25 am #273006Did 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 😉
-
AuthorPosts
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