-
Search Results
-
Topic: Typekit font FOUT-effect
Dear Support Team,
I want to install a Typekit font on my website. There are a Typekit plugin for WordPress. Here I can not embed the extended code unfortunately. but I need the extended code, otherwise FOUT effect happens.
I have read on the website of Adobe Typekit that the expanded code to insert at the top of the <head> tag. Here I do not know further. Can you tell me where I need to add in the extended code? Or which way should I go?
This is the code:
<script> (function(d) { var config = { kitId: 'XXXXX', scriptTimeout: 3000, async: true }, h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s) })(document); </script>Many thanks!
KatrinHello,
There are a lot of threads with an answer to my question: How to ad text in the header next to the logo?
All the reply’s mention the option of adjusting a line in header.php, but my header.php does not seem to be compleet or has the same lines.
maybe because I use the enfold child theme and there is no header.php. So I used the one in the main theme and this one has the following code:‘<?php
if ( !defined(‘ABSPATH’) ){ die(); }global $avia_config;
$style = $avia_config[‘box_class’];
$responsive = avia_get_option(‘responsive_active’) != “disabled” ? “responsive” : “fixed_layout”;
$blank = isset($avia_config[‘template’]) ? $avia_config[‘template’] : “”;
$av_lightbox = avia_get_option(‘lightbox_active’) != “disabled” ? ‘av-default-lightbox’ : ‘av-custom-lightbox’;
$preloader = avia_get_option(‘preloader’) == “preloader” ? ‘av-preloader-active av-preloader-enabled’ : ‘av-preloader-disabled’;
$sidebar_styling = avia_get_option(‘sidebar_styling’);
$filterable_classes = avia_header_class_filter( avia_header_class_string() );?><!DOCTYPE html>
<html <?php language_attributes(); ?> class=”<?php echo “html_{$style} “.$responsive.” “.$preloader.” “.$av_lightbox.” “.$filterable_classes ?> “>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<?php
/*
* outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives
* located in framework/php/function-set-avia-frontend.php
*/
if (function_exists(‘avia_set_follow’)) { echo avia_set_follow(); }?>
<!– mobile setting –>
<?phpif( strpos($responsive, ‘responsive’) !== false ) echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>’;
?><!– Scripts/CSS and wp_head hook –>
<?php
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/wp_head();
?>
</head>
<body id=”top” <?php body_class($style.” “.$avia_config[‘font_stack’].” “.$blank.” “.$sidebar_styling); avia_markup_helper(array(‘context’ => ‘body’)); ?>>
<?php
if(“av-preloader-active av-preloader-enabled” === $preloader)
{
echo avia_preload_screen();
}?>
<div id=’wrap_all’>
<?php
if(!$blank) //blank templates dont display header nor footer
{
//fetch the template file that holds the main menu, located in includes/helper-menu-main.php
get_template_part( ‘includes/helper’, ‘main-menu’ );} ?>
<div id=’main’ class=’all_colors’ data-scroll-offset='<?php echo avia_header_setting(‘header_scroll_offset’); ?>’>
<?php
if(isset($avia_config[‘temp_logo_container’])) echo $avia_config[‘temp_logo_container’];
do_action(‘ava_after_main_container’);?>
Can some one tell me how to adjust the header.php file in the correct way so the tagline or other text shows right next to the logo on the right side.
Thanks in advance!
Possible to disable on mobile:
Product Hover: Hover effect on Overview Pages
It’s a nice feature on desktop, but a real nuissance on mobile devices.
Thanks in advance.
I love everything about Enfold but it has one flaw.
For all other post types, you can choose where sidebar goes and as long as you choose right (including shop overview page), those show up after content. But there isn’t a option to control where sidebar goes for single product.
And with no user control, it displays
1. pictures on top left
2. then sidebar on lower left
3. then content on right…It’s causing this issue on mobile view where sidebar shows up between pictures & content.
This should be fixed where we can choose where slider goes or make it same as shop overview, as putting sidebar on right would simply resolve this issue.I actually would prefer to have side bars for single products on right anyway but I know for now, there is no option for that.
Is there any way to resolve this or hope you guys can do an update that provide some options to control this?
Withe either…
A. Control sidebar location for ‘single product’
and/or
B. ability to hide sidebar on single product on mobile view only so sidebar doesn’t show between pictures & product description.Thank you.
FOllow up to this thread: https://kriesi.at/support/topic/add-text-bubble-above-menu-link/
We were able to add a bubble to the menu item and change the color on hover, how do i change the color permanently when the menu is clicked?
Right now the STREAM becomes white when selected but the LIVE remain darker grey, see private for demo thanks
Hello Enfold Team!
I would like to swap positions of the phone number and secondary menu.
Currently phone defaults to position 1 and the secondary defaults to position 2.
I want them the other way around. Sorry if a solution is already posted, I dug, but couldn’t find anything.
Thanks, as always!
MikeTopic: Align icons and text
This is a follow up to this thread that is closed
https://kriesi.at/support/topic/change-text-hover-color-in-extra-elements-area/I would like the icons in the top elements to be aligned with the words “Support WSMS” and “Login”. Currently they are bit mis-aligned.
Can we maybe align the icons and text horizontally meaning the bottom of the icons and the bottom of the text should be aligned horizontally or if you have any other suggestion for it to look better.Topic: Gap on mobile with images
Hello!
can you please tell how to remove this gap on mobile with the image as shown in here http://imgur.com/a/DgOtt
It s fine on desktop, just mobile isn t rightthank you in advance!
I’m trying to remove the flags from the top of translated webpages — I’ve successfully done this for the sites when they’re viewed on a desktop or laptop, but the flags return when I switch to a mobile view.
I tried the code mentioned here: https://kriesi.at/support/topic/how-to-remove-wpml-language-flags-from-mobile-menu/
but it didn’t work.
Help would be appreciated.
Viewing 30 results - 92,191 through 92,220 (of 142,714 total)


