• Resolved Rche1

    (@rche1)


    As suggested from another post, I replaced line 670 with the following code in order for the logo to not be square shaped.

    $logo_img = wp_get_attachment_image_src( $titan->getOption(‘logo_img’), ‘full’ )[0];

    However, now the logo covers the three menu lines on right. How can I made the logo only take up 90% of the width instead of 100%? Secondly, if person clicks on logo, can I have it send them to another link?

    Thanks

    https://wordpress.org/plugins/mobile-menu/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi,

    Will need your site url to have a look.
    If you need to keep the url private, send me an email to takanakui at gmail dot com

    The logo url is based on the site url. Will try to add a new field “alternative logo url” in the update that is coming in the next weeks.

    Thanks

    -Takanakui

    Plugin Author Rui Guerreiro

    (@takanakui)

    Hi,

    Thanks for the email with the site info.

    Regarding the logo width add the code below to the existent custom css field in the Mobile Menu options in the 1st options tab.

    @media only screen and (max-width: 998px){
    .logo-holder {
        max-width: 90%;
    }
    }

    Regarding the request to add a different url in the logo, find the file mobmenu.php located at plugins/mobile-menu/

    then replace the line 662
    $output .= '<div class="logo-holder"><a href="' . get_bloginfo("url") . '" class="headertext">';

    by this one, don’t forget to place your desired url

    $output .= '<div class="logo-holder"><a href="http://www.mysiteurl.com" class="headertext">';

    I will try to add in the next update a plugin option to manage this easily.

    Hope it helps.

    -Takanakui

    Thread Starter Rche1

    (@rche1)

    Thank you for the very fast response! Worked perfect. Thanks again.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Great. Glad I could help.
    -Takanakui

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘logo width and click to call’ is closed to new replies.