Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #870046

    Hi Again!

    I’m looking for the right way to customize the color of my new Tripadvisor (fontello) Social Icon. I could display it with the layout builder on the page so it seems to work. But along the social media icons (in the middle between Facebook and e-mail), it’s not displayed. So I guess that its color just has to be specified..

    Something like
    #top #wrap_all .av-social-link-tripadvisor a: before {
    color:#44213d;
    }
    should do the job but it doesn’t.

    So… well. Help!

    #870691

    Hey hanneska,

    Thanks for writing in and we’re sorry to hear that you seem to be experiencing some issues with things at the moment. So, can you provide to us a screenshot about this request?

    Best regards,
    John Torvik

    #870814

    Hi John, thanks for touching base with me. Let’s work this out..

    The (“old”) general problem is that the new custom icons for social profiles (Tripadvisor, Opentable) are not displayed. They work with the layout builder, as you see:

    https://www.dropbox.com/s/ec0ejhz5cl24d7f/Screenshot%202017-10-31%2011.36.14.png?dl=0

    But when it comes to adding them to the top bar (or sticky socket at the bottom of the page), they are not displayed correctly, possibly because they are “white on white” in the middle between FB- and mail-button:

    https://www.dropbox.com/s/0mn5uhj5ojuzfjd/Screenshot%202017-10-31%2011.34.34.png?dl=0

    As with the code provided above, I already tried to fix that but it didn’t work.

    EDIT: Additionally, without changing other stuff (really!), the theme now starts to behave strange. I experience severe problems displaying the page with Safari. The sticky header loses its background, the parallax sections are painfully slow (and not parallax), whole sections are not loaded.. that’s strange!!

    For developing, I switched to Firefox now (no problem there, all loaded and smooth) but I have to resolve this before handing finishing my page.

    Thanks already for dealing with my mess..
    Hannes

    • This reply was modified 7 years ago by hanneska.
    #871278

    By the way, I created a new user account for the Kriese-Team! Details in private content below…

    Best,
    Hannes

    #872275

    Hi,

    Please try

    #top #wrap_all .av-social-link-tripadvisor a::before {
    color:#44213d;
    }

    Best regards,
    Basilis

    #872295

    Hi Basilis, thanks for the tip. Adding

    
    #top #wrap_all .av-social-link-tripadvisor a::before {
    color:#44213d;
    }
    
    #top #wrap_all .av-social-link-opentable a::before {
    color:#000000;
    }

    didn’t work unfortunately. :(
    It would be cool to have control over the colors of both custom icons (“tripadvisor” & “opentable”) in the top bar as well as the fixed socket at the bottom, in before and hover state.

    #872769

    And by the way, where can I start a new topic as long as this one’s open?

    In Safari (opp. to Firefox), half of the page content is not loading. What’s happening there? I made two screencast videos for

    Firefox: https://www.dropbox.com/s/s898g4gqd1s648q/screencast-firefox.mov?dl=0

    and Safari: https://www.dropbox.com/s/bbfsx73ad97p117/screencast-safari.mov?dl=0

    You see, a lot’s missing. I don’t think that it’s a special type of content only that’s not loading. Apart from not loading, the whole page is kind of slow. Don’t know if it’s my connection or a weird/too-many plugin problem..

    #873499

    Hi,

    How did you add the font? The “data-av_icon” attribute is missing.

    Best regards,
    Ismael

    #873689

    I added to the functions.php of the enfold-child:

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['tripadvisor']	 = array( 'font' =>'tripadvisor', 'icon' => 'uf262');
    	$icons['opentable']	 = array( 'font' =>'opentable', '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';
    	$icons['Opentable'] = 'opentable';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    Like I found in the forum posts regarding custom social media icons. Like I said, they work in the layout builder when I add them as regular icons.

    #873690

    Plus, how come the page is not (or only half) loaded when I try opening it with Safari?

    #874013

    Hi,

    Thank you for the update.

    I tried to access the site multiple times but I’m getting the following error.

    Die von Ihnen gewünschte Seite ist temporär nicht erreichbar.
    Bitte versuchen Sie es zu einem späteren Zeitpunkt noch einmal.
    This site is temporarily unavailable.
    Please try again later.

    There’s probably a script error in the page, which is why it’s not loading completely.

    Best regards,
    Ismael

    #874090

    I put this.

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘tripadvisor’] = array( ‘font’ =>’tripadvisor’, ‘icon’ => ‘uf262’);
    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[‘Trip Advisor’] = ‘tripadvisor’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    and the option is available at Social Profiles. However, the logo of trip advisor does not appear at the header. Do you think my code is wrong?

    My web is https://huediscovery.com/

    Thanks,

    #874140

    Sorry Ismael, I had some nameserver trouble recently by changing back-and-forth between the CDN’s.. Cloudflare seems weird to me, sometimes… Now it’s all up again!

    #874465

    Hi,

    It’s not working because the font family was incorrect. The custom icon fonts are included in the “fontello” family. We modified the code in the functions.php file a bit. Please remove browser cache or hard refresh before checking the page.

    Best regards,
    Ismael

    #877114

    Thanks a lot, it’s indeed working!

    Which functions.php did you modify? The functions.php of the main theme or the child theme? Or the functions-enfold.php? Not that it gets lost after the next update…

    Thanks!

    #877386

    Hi!

    I modified the filter in the functions.php file.

    $icons['tripadvisor']	 = array( 'font' =>'tripadvisor', 'icon' => 'uf262');
    $icons['opentable']	 = array( 'font' =>'opentable', 'icon' => 'ue800');
    

    to:

    $icons['tripadvisor']	 = array( 'font' =>'fontello', 'icon' => 'uf262');
    $icons['opentable']	 = array( 'font' =>'fontello', 'icon' => 'ue800');
    

    Best regards,
    Ismael

    #877548

    Thanks a lot!

    #877622

    By the way: Where can I start a new support topic? Since I can’t, I’m continuing to post here: Antother two things.

    First, I switched to mega-menus since the default menus did not react to hover. How come? And if I should stay with mega menu, how can I change the menu font size?

    Second, How come, the complete website doesn’t really load on Safari?

    #877953

    Hi,

    Please create a new thread for new inquiries in the following link.

    // https://kriesi.at/support/forum/enfold/

    Best regards,
    Ismael

    #878016

    Thanks Ismael!

    #878194

    Hi hanneska,

    Glad Ismael could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.