[Resolved] Mobile Lightweight Social Icons

Home Forums Support [Resolved] Mobile Lightweight Social Icons

Home Forums Support Mobile Lightweight Social Icons

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #153592
    Tom
    Lead Developer
    Lead Developer

    No worries, glad I could help ๐Ÿ™‚

    #572580
    Karim

    Hello Tom or colleague,

    With me the code doesnt’t work for this and the previous website. Did something change?

    #572764
    Leo
    Staff
    Customer Support

    Hi there,

    Yeah this post is quite old.

    Can you start a new topic and link us to your site?

    Thanks!

    #572995
    Karim

    Hi Leo,

    Ok will do, thanks:)

    #573338
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #996276
    Heath

    I know this is an old thread, but maybe Tom or Leo can help. I’ve had this child theme working for a couple years now with no issues. The child theme creates my social icons on the *mobile* menu bar using the php that Tom helped me with.

    It still works. The problem is that I want to delete Google+. When I try to delete that one line from the php text (leaving the rest intact), then “update file”… It tries for a long time, then says that the file was reverted back to its previous state because the file could not be updated.

    <?php
    /**
    * Generate child theme functions and definitions
    *
    * @package Generate
    */
    add_action( 'generate_inside_mobile_menu_bar','generate_add_mobile_bar_items' );
    function generate_add_mobile_bar_items()
    {
    	?>
    	<a href="http://www.twitter.com/dadkingdom"><i class="fa fa-twitter"></i></a>
    	<a href="http://www.facebook.com/dadkingdom"><i class="fa fa-facebook"></i></a>
    	<a href="http://www.google.com/+dadkingdomplus"><i class="fa fa-google-plus"></i></a>
    	<a href="https://instagram.com/dadkingdom/"><i class="fa fa-instagram"></i></a>
    	<a href="http://dadkingdom.tumblr.com/"><i class="fa fa-tumblr"></i></a>
    	<?php
    }

    Any clue why this might be happening?

    Thanks!

    #996427
    David
    Staff
    Customer Support

    Hi there,

    are you trying to make edit within the Theme Editor? If so try editing the file from the Site FTP or any file editor your server console provides.

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.