Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Link shoping cart mobile icon to shop page. #872720

    Hi Mike,
    I tried to add your function to our functions.php but the web refuses to load.
    By the other hand I’ve thought that we are using WMPL to make a multilingual site and it would be more difficult to redirect this button
    according to the actual language.

    Perhaps it’s easier to hide the mobile cart button and then adding a floating button for each language home page.
    What do you think?

    Thanks.

    in reply to: Tripadvisor as social network icon #854837

    Hei!
    It worked fine! I’ve just changed the icon to match the style.
    Now I will try to set the hoover effect.

    Thanks for your help,
    Dani.

    in reply to: Tripadvisor as social network icon #854806

    Yes, that’s what we did.
    And as you will see we got the option to add Tripadvisor Icon, but nothing is displayed.
    We added the Fontello Icon following the steps on the video.

    in reply to: Tripadvisor as social network icon #854668

    Following my previous post:
    I tried to use fontello fonts and I got the option two choose Tripadvisor in the list of social media networsks.
    However no Icon is displayed next to the others.
    Basically I just changed from the reference code “icon-name” to “tripadvisor” as I saw this was the name for that icon.
    Here I attach the complete code:

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

    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
    $icons[‘Tripadvisor’] = ‘tripadvisor’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    Thanks again,
    Dani.

    in reply to: Tripadvisor as social network icon #854660

    Hi,
    Thanks for your answer Yigit.
    I’ve tried to follow the steps but I did not succeed.
    That’s what I did:
    1.-Went to \wp-content\themes\enfold\functions.php and add, just below
    “if(isset($avia_config[‘use_child_theme_functions_only’])) return;” the next code

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

    (Basically just changed Kriesi by Tripadvisor to help understanding in the future.)

    2.- Went to Enfold->General Styles-> Quick CSS and added the rest of the code:

    #top #wrap_all .av-social-link-kriesi a:before{
    content: “”;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    background: url(http://kidnappedinbcn.hl345.dinaserver.com/wp-content/uploads/2017/09/TripAdvisor-logo.png) no-repeat center center;
    background-size: contain;
    }

    After this our website does not show anything new on our footer.
    What am I doing wrong?
    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)