Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1293580

    How would we go about adding two static buttons to the top of the mobile version of our website?

    These two websites (both WordPress) have exactly what we want:

    #1293895

    Hey vantagepointmg,

    Thank you for the inquiry.

    You can edit the templates directly (header.php file, includes > helper-main-menu.php), or use an action hook to render additional elements inside the header or menu container.

    Example:

    add_action("ava_main_header", function() {
       echo "<a class='button'>Something...</a>".
    }, 10);
    

    You can then use css to toggle the visibility of the said element on different screen sizes or on different device.

    Best regards,
    Ismael

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