Skip to content

Right-floating menu #201

Answered by vadikom
MK-Chris asked this question in Q&A
May 4, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi,

The right-menu-tip class you used before is not coming from SmartMenus (I guess it's some custom class you had defined somewhere). Anyway, in addition to data-sm-reverse="true" (which reverts the alignment of the sub menu relative to the parent item) you would need to right-float the <li> element - e.g.:

<li style="float: right;" data-sm-reverse="true">

  <a href="http://localhost:3000/login" title="Log in / Register">Log in / Register</a>
  <ul class="mega-menu">
  <div class="no-cookies">
  <form method="post" action="http://localhost:3000/users/authenticate">
  <input type="text" class="menu-input menu-margin" name="username" id="menu-username" value="" placeholder="Username">
  <i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MK-Chris
Comment options

Answer selected by MK-Chris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants