Forum Replies Created

Viewing 5 posts - 61 through 65 (of 65 total)
  • Author
    Posts
  • in reply to: Adding Yelp Icon #689287

    Can someone help???

    I followed this thread and it did not work… I see a red dot when I rollover where the Yelp icon is to be but nothing there but white space and then a dot when rollover…

    I added this to functions.php on my child theme:

    add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons[‘yelp’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue800’);
    return $icons;
    }

    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons[‘Yelp’] = ‘yelp’;
    return $icons;
    }

    And this to the Quick CSS:

    #top #wrap_all .av-social-link-yelp:hover a {
    background-color: red;
    color: white;
    }
    #top #wrap_all .av-social-link-yelp: a {
    background-color: white;
    color: red;
    }

    Thanks in advance.
    Chris

    Andy,
    Thanks. The social worked great and I tweaked it with CSS – looks nice – thanks again.

    However, the left side header – adding widget did not.
    When I added the code to function.php the whole site went white screen.

    The last lines of functions.php were:

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    I tried to add it in several areas within these last lines including the very bottom. I also made sure that there was not a “blank” last line… It did not work… this is the functions.php in the main ENFOLD theme folder… I have a child theme – tried placing the code you mention in that child theme too.. did not work.

    Can you tell me where to place your code of – –

    add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    Thanks again for your help!
    Chris

    Yes, thank you.
    The website in development is at http://reesehouse.msdev.info/ and the layout is at – http://reesehouse.msdev.info/reese-house-layout.jpg
    for reference.
    thank you again for answering this for us.
    chris

    I figured it out. thanks anyway.
    I assumed the Add a Widget would take care of the functions.php – apparently it does not.
    thanks,
    chris

    Here you go… thanks in advance. chris

Viewing 5 posts - 61 through 65 (of 65 total)