Support » Plugin: WPtouch Mobile Plugin » [Plugin: WPtouch] Possible to add own LOGO

Viewing 6 replies - 1 through 6 (of 6 total)
  • brasofilo

    (@brasofilo)

    I use this to inject my own scripts into WPtouch:
    http://pastebin.com/xHtTBWtc

    hrohibil

    (@hrohibil)

    Hi brasofilo.

    That looks very interesting. Can you please explain further to me what it exactly does and how I should install it to achieve my goal??
    Your help is much appreciated.

    I am not good at programming so if you could guide me you would save the world for me..
    Kind regards HRB

    brasofilo

    (@brasofilo)

    The code has to be put at the end of your theme’s functions.php file.

    Attention to the starting <?php, you probably don’t need it.
    That’s used to open some PHP code and this ?> is used to close the block. For example:

    <?php
        // SOME PHP CODE, THIS IS A COMMENT LINE
    ?>
    <a href="#">THIS IS A HTML LINK</a>
    <?php
    <?php
        echo "This is a php command to print this text, but THIS WILL PRODUCE AN ERROR because we have 2 opening php tags";
    ?>

    In my sample code you probably only need the <style></style> block (lines 15 to 17). The other one <script></script> (lines 18 to 22) is Javascript and you can delete it if not needed…

    hrohibil

    (@hrohibil)

    So if I put this code in my function.php

    <style type="text/css">
            body {background:url('http://www.example.com/wp-content/uploads/pattern.png') fixed !important;}
    </style>

    I will get a new background when viewing from a mobile device? But my question was, I dont want a new background, I want my own website logo to display in the top. Is this possible?

    Thank you sir

    brasofilo

    (@brasofilo)

    Nope, that’s not what I meant…
    Sorry for the confusion, but if you don’t know the basics of CSS, this code is not for you… Hope it helps other folks…

    Anyway, I just checked (and should have done that in the first place) and WPTouch has the option in its settings page to define the logo that goes on top.
    It also has the capability of uploading your own image and also this link for creating iDevice styled icons: http://www.flavorstudios.com/iphone-icon-generator

    u welcome 🙂

    this is the possible solution to add own logo in wptouch.,
    working perfect !! cheers 🙂
    http://www.techyleakz.com/add-own-logo-to-wptouch-mobile-wordpress-site-plugin/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WPtouch] Possible to add own LOGO’ is closed to new replies.