-
AuthorPosts
-
lefevre Friend
lefevre
- Join date:
- March 2011
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 3 times in 1 posts
May 18, 2012 at 12:10 am #177194Hello.
I am using Orisite for my template and have heavily modified CSS so I can’t really switch to Puresite to start over…how can I have the logo & mainnav line up with logo on the left & menu on the right (like in Puresite), instead of having logo on top with mainnav below logo?
Please help?
Thanks!
An ๐chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
lefevre Friendlefevre
- Join date:
- March 2011
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 3 times in 1 posts
May 18, 2012 at 2:22 pm #453674Thanks for pointing me in the right direction!
tphmedia Friendtphmedia
- Join date:
- July 2009
- Posts:
- 139
- Downloads:
- 0
- Uploads:
- 27
- Thanks:
- 17
- Thanked:
- 2 times in 1 posts
May 23, 2012 at 6:44 pm #454573A little more detail would be useful! How would I modify that file to get them on the same line!
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
May 24, 2012 at 8:35 am #454655Hi there,
You can customize markup & css for consistent with a specific case.
tphmedia Friendtphmedia
- Join date:
- July 2009
- Posts:
- 139
- Downloads:
- 0
- Uploads:
- 27
- Thanks:
- 17
- Thanked:
- 2 times in 1 posts
May 24, 2012 at 7:57 pm #454764What exactly do I change to get the menu and logo to be on the same line?
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
May 24, 2012 at 8:09 pm #454765<em>@tphmedia 321944 wrote:</em><blockquote>What exactly do I change to get the menu and logo to be on the same line?</blockquote>
Maybe post a url and someone will be able to see what to change to help you? ๐
tphmedia Friendtphmedia
- Join date:
- July 2009
- Posts:
- 139
- Downloads:
- 0
- Uploads:
- 27
- Thanks:
- 17
- Thanked:
- 2 times in 1 posts
May 24, 2012 at 8:20 pm #454768http://174.121.38.62/~profroof
Same as the original poster. Want to move the menu up to the same line as the logo. See attached.
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
May 24, 2012 at 8:45 pm #454775If you don’t want the search box and the top menรผ please unpublish them in module manager. Then it leaves more room to see and doesn’t complicate matters.
Merci
tphmedia Friendtphmedia
- Join date:
- July 2009
- Posts:
- 139
- Downloads:
- 0
- Uploads:
- 27
- Thanks:
- 17
- Thanked:
- 2 times in 1 posts
May 24, 2012 at 9:05 pm #454780Unpublished!
lefevre Friendlefevre
- Join date:
- March 2011
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 3 times in 1 posts
May 25, 2012 at 1:49 pm #454897Ok, with Orisite template, it was easy to make menu on same line as logo. You have to modify two files in order to do it. Make sure you save original copy before you modify just in case you need to revert to the original.
1. Modify header.php file which can be found at ja_orisite/blocks/header.php. I rearranged everything after line 31, so delete everything after line 31. Here is the code you need to place after line 31:
<?php if($this->countModules('topmenu') || $this->countModules('search') ) : ?>
<div id="ja-topmenu">
<jdoc:include type="modules" name="topmenu" />
<?php if($this->countModules('search') ) : ?>
<div id="ja-search">
<jdoc:include type="modules" name="search" />
</div>
<?php endif; ?>
</div>
<?php endif; ?><?php if (($jamenu = $this->loadMenu())) : ?>
<div id="ja-mainnav" class="clearfix">
<?php $jamenu->genMenu (); ?>
</div>
<?php endif;?><?php if($this->countModules('shoppingcart')) : ?>
<div id="ja-shoppingcart">
<jdoc:include type="modules" name="shoppingcart" />
</div>
<?php endif; ?>
Save & upload.
2. The second file you need to modify requires you to go into Joomla itself. If you don’t modify this layout, you will have two mainnav bars displayed. This second part deletes the extra menu. So login and go to Extensions>Template Manager>JA_Orisite> Select “Layouts” tab.
1. Click “Clone” for the “Default” layout. Name it something if you don’t want it to be called “default-copy”. Hit Ok.
2. In the newly cloned default layout, use “Edit” action and delete line 9 that lists this block<block name="mainnav" type="mainnav"></block>
3. Click “Save” to save the file.
4. Click “Save” in top right hand corner to save again.
5. Now to activate the layout, you have to go to the “Profiles” tab. Once in the tab, scroll to last setting called “Layout Settings”. For “Desktop Layout”, select your newly created layout from the drop-down select field.
6. Click “Save” in top right hand corner to save your selection.This should do it!
Good luck!
1 user says Thank You to lefevre for this useful post
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 5 voices, and was last updated by lefevre 12 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How can I move mainnav to line up to right of logo instead of below logo?
Viewing 11 posts - 1 through 11 (of 11 total)