Framework7: Error align center navbar with material theme

Created on 7 Mar 2016  路  15Comments  路  Source: framework7io/framework7

Hi guys, i've a problem with navbar and the text alignment. The point is that with material theme the text doesn't align properly, and all text overlaps. How can i fix this ?
And in general, the sliding transition with material theme doesn't works properly too.

outdated

All 15 comments

Example, screenshot or something more clear to understand?

Sorry, the sliding effect that with ios theme works, with material theme doesn't. So, there will be some updating for material theme too ?

Look at Material theme guides and tutorials on website. There is no sliding effect in Material theme

Ok, i'm saying that would be nice to have that effetct on material. Btw, it doesn't matter. Thanks.

Why has this ticket been closed?
If you simply take the Basic Android/Material App Layout proposed in the docs and try to add left, center and right elements in the navbar it doesn't work properly:

<div class="navbar">
  <div class="navbar-inner">
    <div class="left">
      <a href="#" class="link">Left Link</a>
     </div>
     <div class="center">Awesome App</div>
     <div class="right">
       <a href="#" class="link">Right Link</a>
      </div>
    </div>
  </div>

will result in:
screen shot 2016-04-06 at 13 22 06

If I remove left and right links then everything is ok.

I know but the name goes to the left and not on center. Btw thanks for info

Sorry, maybe I was not clear but I think this issue should not be closed.

@coorasse "center" element on Material theme should stick to the left side

By specification? If so, do you have a link to that specific please? I tried to Google a little bit about it but I can't find anything about this topic.

Cool, thanks. I still think "center" class is leading to misunderstanding but I hope this conversation will be helpful for someone else.

Thanks . it saved me hours of frustration.

But for some reason for me it's like this...
screenshot_2017-03-19-16-11-37-02

My CODE:

             <div class="navbar">
               <div class="navbar-inner">
                 <div class="left">
                    <a href="#" class="link icon-only open-panel">
                        <i class="icon icon-bars"></i>
                    </a>
                 </div>
                 <div class="center">WGaming Application</div>
               </div>
             </div>

And That if the screen is bigger it gets more pulled towards left...
it works fine on 310 x ***

@rajabilal555 Had the same issue as you and found this to be the solution.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nimo23 picture nimo23  路  4Comments

ahmeddaif1 picture ahmeddaif1  路  4Comments

iBinJubair picture iBinJubair  路  4Comments

cloudus picture cloudus  路  5Comments

DavidGOrtega picture DavidGOrtega  路  3Comments