-
AuthorPosts
-
angie00 Friend
angie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
March 25, 2013 at 1:48 pm #186180How do you switch the top menu and top login in this template?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 25, 2013 at 5:13 pm #487785Can you be a bit more specific with your question and/or what it is you want to accomplish?
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
March 25, 2013 at 9:48 pm #487826Please see attachment. Would like to switch these two menus. I tried just setting the left one to the top-login position but the menu ended up stacking vertically and not formatted correctly.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 25, 2013 at 10:04 pm #487831Okay, so what you can do is modify the “float” property for that top navigation . . . .
Within the LESS CSS file —> /templates.ja_mitius.less.bootstrap-responsive.less.css
at/about line 70, change the “float: left” property to “float: right”
{
float: right;
margin-left: 30px;
min-height: 1px;
}You will likely need to fiddle around with the other margin values to better situate things, but that should point you in the right direction to start.
NOTE:
For info on the whole “bootstrap/less” system —> http://twitter.github.com/bootstrap/index.htmlAlso, it helps to utilize FIREBUG your trial-and-error in modifying CSS, until you’re satisfied with the changes and are then ready to commit them to your active site files.
Hope that helps
😎
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
March 27, 2013 at 12:32 am #487934Thanks but that moved everything from the menu and logo to and other left aligned positions center of page. We just want to switch the top menu and top login.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 27, 2013 at 1:53 am #487937<em>@angie00 366366 wrote:</em><blockquote>Thanks but that moved everything from the menu and logo to and other left aligned positions center of page. We just want to switch the top menu and top login.</blockquote>
As I said . . . you will likely need to fiddle around with the other margin values to better situate things,
but that should point you in the right direction to start.😎
angie00 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
March 30, 2013 at 1:02 pm #488347ok, thanks anyway. :(( Wish there was a better way just to switch the two. This bootstrap and less stuff is more confusing to customize than the other framework. I’m still trying to figure it out. I appreciate its speed but without understanding it, it’s making the website development process much slower.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
April 1, 2013 at 10:05 am #488447Hi angie00,
Here is my guide on your interest:
– Configure switched position.
Open <blockquote>templatesja_mitiustplsblockstop-header.php.</blockquote> Then replace lines:<div class="span8<?php $this->_c('top-menu')?>">
<div class="top-menu">
<jdoc:include type="modules" name="<?php $this->_p('top-menu') ?>" style="raw" />
</div>
</div>
<div class="span4<?php $this->_c('top-login')?>">
<div class="top-login">
<jdoc:include type="modules" name="<?php $this->_p('top-login') ?>" style="raw" />
</div>
</div>with
<div class="span4<?php $this->_c('top-login')?>">
<div class="top-login">
<jdoc:include type="modules" name="<?php $this->_p('top-login') ?>" style="raw" />
</div>
</div><div class="span8<?php $this->_c('top-menu')?>">
<div class="top-menu">
<jdoc:include type="modules" name="<?php $this->_p('top-menu') ?>" style="raw" />
</div>
</div>
– Style switched position with css:
Open <blockquote>templatesja_mitiuscsscustom.css</blockquote>. Then pastes below code at the end of file:.top-login {
float: left;
}
.top-menu {
float: right;
}
>> You can see my attached snapshot of result on my hosting.
Regards,
—
Leo
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by phong nam 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum