Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Enfold Main Menu Text Aligned to the center #520595

    Hey Eliot, many thanks

    in reply to: Enfold Menu in 2 Lines #488778

    Thanks Rikard worked well, need to do some more css adjustments but in the end worked as i wanted
    cheers

    in reply to: Fontello Icon Fonts Failing in SSL HTTPS #462731

    Hi Guys,
    Fontello fonts are showing as empty squares after migrating the files from a server directory to the main directory in the same server, it is not a https site (simple http) I have tried some fixings described in another posts without success, I’m trying to apply the solution above but I’m getting sintax errors when I replace the code existent /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php by this one below

    static function load_font($element)
    {
    $font_configs = self::load_iconfont_list();

    $output = “”;

    if(!empty($font_configs))
    {
    $output .=”<style type=’text/css’>”;
    foreach($font_configs as $font_name => $font_list)
    {
    $append = empty($font_list[‘append’]) ? “” : $font_list[‘append’];
    $qmark = empty($append) ? “?” : $append;

    $fstring = $font_list[‘folder’].’/’.$font_name;
    $fstring = str_replace(‘http:’, ”, $fstring);
    $output .=”
    @font-face {font-family: ‘{$font_name}’; font-weight: normal; font-style: normal;
    src: url(‘{$fstring}.eot{$append}’);
    src: url(‘{$fstring}.eot{$qmark}#iefix’) format(‘embedded-opentype’),
    url(‘{$fstring}.woff{$append}’) format(‘woff’),
    url(‘{$fstring}.ttf{$append}’) format(‘truetype’),
    url(‘{$fstring}.svg{$append}#{$font_name}’) format(‘svg’);
    } #top .avia-font-{$font_name}, body .avia-font-{$font_name}, html body [data-av_iconfont='{$font_name}’]:before{ font-family: ‘{$font_name}’; }
    “;
    }

    $output .=”</style>”;

    }
    return $output;
    }

    Also have found another post where an user seems to be able to fix the code above, here is his description how he fixed:

    “Adding the line $fstring = str_replace(‘http:’,”, $fstring); to the font-manager.class.php seems to have worked for me also. Although a copy paste of Mikogradles code may cause some users issues as the unicoding doesn’t seem to match up and so some characters change to ? rather than the indented quote marks. Also the ” between the commas above is 2 single quotes rather than a double quote.”

    Have tried to apply it to fix the php file without success, there is any chance for you guys to help to get the correct code I can copy and replace in font-manager.class.php, I really would appreciate your help guys

    many thanks

    in reply to: Enfold Partner Logo Tool Tip showing below logo image #457194

    Hey Ismael

    Worked like a charm, many thanks once more :)

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