-
AuthorPosts
-
May 4, 2011 at 6:04 pm #163588
Hi,
I want to reduce the space between my breadcrumbs and the slideshow module. I can’t find the correct part of the css?
See image and also: http://www.dynamichcs.com/joomla16/index.php/en/dhcs-productsI just don’t want so much empty space. I have been able to change the spacing of other things, but not this. Perhaps I’m not looking at the correct code?
Thank you,
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 4, 2011 at 7:26 pm #389845You could edit the css as per below but I think that would adjust the spacing of all your modules at the bottom.
div.ja-moduletable, div.moduletable {
margin-bottom: 10px;
margin-top: 0;
padding: 0 0 20px;
position: relative;}
So maybe it is better to go into the template manager and change the navhelper from a spotlight block to a raw block.
May 5, 2011 at 12:27 am #389873Sorry, but you lost me. I tried varoius adjustments to the css you indicated above, but nothing made a difference. As for changing the navhelper from a spotliht block to a raw block, I have no idea how to do that.
I just feel that there is too much wasted space in that prime location.
Thanks for your effort.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 5, 2011 at 7:44 am #389913Please PM me an admin logon and ftp details and I will take a look. It would be really helpfull if you include a link to this thread in your PM.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 5, 2011 at 1:46 pm #389988Thanks for your PM/
You had the breadcrumbs placed in the User1 position which explains the “Spotlight” I mentioned earlier.
So first thing I did was to add a breadcrumbs clock in your template manager by editing the default layout and adding the code as per below
<block name="breadcrums" type="navhelper" main-inner="1"></block>
Then published the breadcrumbs module so it appears there. As you are using J1.6 you can tick or untick the “You Are Here” box in the Joomla back end. You also now have a “Top” link on the right but we can remove that if required.
You still have some space but less than before. If you want to reduce that further then adjust template.css at around line 580 and reduce the 20px highlighted in red below to your needs.
#ja-container .main {
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
padding: 20px 0 0;}
1 user says Thank You to Phill for this useful post
May 11, 2011 at 1:49 pm #390800Thanks. It’s great. How do I get rid of the “Top” link?
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 12, 2011 at 9:09 am #390933You could simply get rid of “main menu” by adding this code:
#ja-mainnav {
display: none;
}to the end of templates/ja_rave/css/template.css
May 12, 2011 at 5:52 pm #390996Well, that would get rid of the whole top menu. I just want to get rid of the word ‘Top’ as in this capture.
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 13, 2011 at 2:14 am #391029Your template is customized, could you give a link site for us to check?
May 13, 2011 at 4:00 pm #391101thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 14, 2011 at 7:41 am #391181You could get rid of “top” link by add this css code:
.main-inner1 .ja-links{
display:none;
}to the end of templates/ja_rave/css/template.css
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 24, 2011 at 8:20 pm #392727Thanks for your PM today.
We simply need to edit templates>ja_rave>blocks>navhelper.php to remove the “Top”.
If you drop me a PM with ftp and admin access again I will make the edit.
We should simply be able to get rid of a line like the one below.
<li class="top"><a href="<?php echo $this->getCurrentURL();?>#Top" title="Back to Top"><?php echo JText::_('Top') ?></a></li>
I currently do not have that template installed on my localhost (my windows bok died at the weekend and I have yet to re-install everything) so that might not be the correct code but given ftp access I cna make the edit very quickly.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 25, 2011 at 1:57 pm #392861I’ve copied the navhelper.php file from the plugins folder and removed the line I showed above. Hope that helps.
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 3 voices, and was last updated by Phill 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum