[Support request] Insert shortcode + menu

Home Forums Support [Support request] Insert shortcode + menu

Home Forums Support Insert shortcode + menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1982202
    Alfonso

    Hola,

    Tengo una cabecera en mi web formada por un logo en el centro y debajo el menu principal:

    https://desa2.laprairievirtualdmevent.com/

    Necesito añadir a la derecha del logo el siguiente shortcode [weglot_language] y un menú que solo tendrá un item de menu (logout)

    He probado a insertar el shortcode con el siguiente hook: “generate_after_logo” pero se visualiza justo debajo del logo y centrado.

    Como puedo conseguir que se quede a la misma altura que el logo y alineado a la derecha?

    #1982344
    David
    Staff
    Customer Support

    Hi there,

    1. Set your Customizer > Layout > Header Width to Contained.
    2. Add this CSS:

    .inside-header .weglot-shortcode {
        margin-top: 0 !important;
        margin-bottom: 0;
        position: absolute;
        right: 40px;
    }

    Adjust the right: 40px; to position it from the edge of the screen.

    #1982967
    Alfonso

    Thank you very much. Now it’s looks fantastic.

    So, I need to add an icon on the left of Weglot shortcode with logout link.

    How is the best way to get it?

    #1983051
    Ying
    Staff
    Customer Support

    You can add this link to the same hook element: <a href="url">link text</a>

    Then we can see if CSS is needed to position or style the link.

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