[Resolved] center toggle menu

Home Forums Support [Resolved] center toggle menu

Home Forums Support center toggle menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1311800
    David

    You were helping me with the toogle menu within the content and I can’t get it to be centered on the page.

    I have the following classes:

    button.menu-toggle.in-content-toggle {
    padding:9px 1px;
    display: block;
    width:6em;
    line-height: 1;
    background-color: #f1c40f;
    color: #fff;
    font-size: 15px;
    border-radius: 5px;
    text-align: center;
      }

    But it is placed at the beginning of the container

    It’s on this page: https://hotel.magentapublicidad.com/boton/

    Can you help me?

    Thanks

    #1312820
    Leo
    Staff
    Customer Support

    Hi there,

    Try this:

    button.menu-toggle.in-content-toggle {
        margin-left: auto;
        margin-right: auto;
    }
    #1312843
    David

    Hi, Leo.

    It’s in center!

    Thanks!!

    #1312845
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.