Okay
  Public Ticket #953270
Mobile Menu Text
Closed

Comments

  •  5
    Philipp started the conversation

    Hi again :-)

    Is there any chance to add a text/title/heading to the mobile menu like shown at the attached screenshot: "Mobile_Menu_Text.jpg"

    I already found this old topic regarding this issue but unfortunately the "header.php" seems to be different than back in 2014 now:  https://themenectar.ticksy.com/ticket/285550/

    Even if I already managed to somehow add the "page title" in the header.php:

    ...
    <div class="col span_9 col_last">
    <h3> Our.World.Experience </h3>
    <?php if($has_main_menu == 'true' && $mobile_fixed == 'false' && $prependTopNavMobile != '1') { ?>
    ...

    ...I still couldn't find a way to only make it work within the smaller mobile menu. (or at least I can't find the proper position within the header.php file.

    Thx for your help again,
    Philipp

  •   Philipp replied privately
  •  3,030
    Andrew replied

    Hi Philipp,

    Apologies for the late reply.

    About adding a text \ title \ heading in that location of the mobile menu, that part is where the logo goes  and you would need to hide the logo on mobile and show the text instead.

    This will be the div at line 152 in header.php i.e. 

    <div class="col span_3">

    It has the logo inside of it and that is where you need to work.
    We are assuming you are on salient 7.6 the latest.

    Please try the above workaround.
    Cheers.

  •  5
    Philipp replied

    Thank you and no worries Andrew :-)

    I guess you are just super busy all the time. Good work just needs some time!

    So thanks for putting me in the right direction! I will play a little bit with the code around there...

    Cheers,
    Philipp