Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Additional Social Media Icons #100301

    I’m posting this here as a helper for anyone looking to add or adjust their social media icon in the Propulsion theme. This will setup the controls in the backend, allowing you to turn them on or off in the theme’s control panel.

    In the file register-admin-options.php find the code that matches and add the following directly under (i have used Pinterest for this example):

    $avia_elements[] = array(

    “name” => “Pinterest”,

    “desc” => “Enter your Pinterest link. If you leave this blank the Pinterest link in the head / footer of your site wont be displayed.”,

    “id” => “Pinterest”,

    “slug” => “avia”,

    “std” => “”,

    “type” => “text”);

    In the file footer.php find the code that matches and add the following directly under:

    if($Pinterest = avia_get_option(‘Pinterest’)) { $social ++; echo “<li class=’Pinterest’>“; }

    In the file layout.css find the code that matches and add the following directly under:

    .social_bookmarks .Pinterest a{background: transparent url(../images/layout/icon-pinterest.png) 0 0 no-repeat;}

    Hope this helps!

    Best, A.

Viewing 1 post (of 1 total)