Okay
  Public Ticket #384141
Social links in top navigation bar?
Closed

Comments

  • Adam started the conversation

    Hello - Is there anyway to also have the social media links from the footer appear in the top navigation bar to the right of the nav terms (page names)?

    Thank you!

  •  1,823
    Support replied

    Hello

    take line 44 to 59 from footer.php

    and move them to

    /sections/menu_section.php

    after the closing div of


    div class="nav-collapse collapse"
    

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Adam replied

    I'm doing something wrong (i'm not a programmer) - i tried to insert the code as specified but i just get an error message in my header. I've attached my menu php file with the copied code in it - can you please take a look and either fix it or tell me where i'm going wrong... thank you!

  •  1,823
    Support replied

    Right, forgot one thing

    insert

    $social_links = array( "Facebook" => "facebook",

    "Twitter" => "twitter",

    "Linkedin" => "linkedin",

    "Behance" => "behance",

    "Deviantart" => "deviantart",

    "Dribble" => "dribble",

    "Flickr" => "flickr",

    "Google+" => "google",

    "Lastfm" => "lastfm",

    "Picasa" => "picasa",

    "Pinterest" => "pinterest",

    "RSS" => "rss",

    "Skype" => "skype",

    "Stumble" => "stumble",

    "Vimeo" => "vimeo",

    "Youtube" => "youtube",

    "Instagram" => "instagram"

    );


    right below

    global $global_theme_options;
    

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Adam replied

    Thank you so much for this, I'm sorry to be such a pain but this is still not working for me - not sure why - i've attached my revised code - thank you!!

  •  1,823
    Support replied

    that's in addition to the changes you already made...

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Adam replied

    Oh, my bad!! Sorry. I added the second part to the original and i thought i added it to the revised php file. That worked!!! One last question and i'll leave you alone about this. Is it possible to have these 3 social media icons smaller and sit directly to the right of my last nav term "Blog"? Screenshot attached.

  •  1,823
    Support replied

    Hi, this is custom work - you have to add proper styles for the div you've just added to the right side of the menu.

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy