WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[resolved] [Plugin: WPtouch] Possible to add own LOGO (7 posts)

  1. hrohibil
    Member
    Posted 1 year ago #

    Hi

    Is is possible to add own LOGO to the top menu??

    HRB

    http://wordpress.org/extend/plugins/wptouch/

  2. brasofilo
    Member
    Posted 1 year ago #

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

  3. hrohibil
    Member
    Posted 1 year ago #

    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

  4. brasofilo
    Member
    Posted 1 year ago #

    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...

  5. hrohibil
    Member
    Posted 1 year ago #

    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

  6. brasofilo
    Member
    Posted 1 year ago #

    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 :)

  7. rajaitusa
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags