Help! Can't move navbar elements to the right!
Permalink
Hi!
I have an Auto-Nav block, which I cannot move to the right so that the logo stays on the left! Either everything is on the left, or if I put float:right in the css file, everything squeezes to the right. Any ideas?
I attached screenshots :)
<div id="menu" class="row">
<div float="left" class="navbar-header">
<a class="navbar-brand" href="/c5/index.php"><img src="<?=$view->getThemePath()?>/img/czichosnet-itk-2.png" height="30"></a>
</div>
<?php
$a = new Area('Header Nav');
$a->setBlockLimit(1);
$a->display($c);
?>
</div>
I have an Auto-Nav block, which I cannot move to the right so that the logo stays on the left! Either everything is on the left, or if I put float:right in the css file, everything squeezes to the right. Any ideas?
I attached screenshots :)
<div id="menu" class="row">
<div float="left" class="navbar-header">
<a class="navbar-brand" href="/c5/index.php"><img src="<?=$view->getThemePath()?>/img/czichosnet-itk-2.png" height="30"></a>
</div>
<?php
$a = new Area('Header Nav');
$a->setBlockLimit(1);
$a->display($c);
?>
</div>
Thank you!
Now I just have to find out how to make the links collapsible..
Now I just have to find out how to make the links collapsible..
Sorry, I just checked again, and the element are still not pulled to the right.
It would be nice if the last button was at the very right side of the webpage, now there is still some space. I included a screenshot.
It would be nice if the last button was at the very right side of the webpage, now there is still some space. I included a screenshot.
It is pulled right. Just have to add the css property text-aligned:right on the nav ul element.
Thanks, it worked with text-align :)
Your new code would look something like this if you are using bootstrap 3.0.