Viewing 30 results - 98,221 through 98,250 (of 142,845 total)
  • Author
    Search Results
  • #605644

    Hey envis,

    Looks like you’ve made some customisations there and I think that is what is causing your problem. Looks like the breadcrumbs will not be displayed in a good way so you might want to consider turning them off. You can try the following CSS as well:

    .html_header_top.html_header_topbar_active.html_header_sticky #top #main .stretch_full {
        padding-top: 0px !important;
    }

    Best regards,
    Rikard

    #605625

    Hi John,

    Something must have gone wrong on your first install if it’s working now after you have started from scratch. We don’t need to investigate further but thanks for being willing to help, much appreciated. Please let us know if you should need any more help on the topic.

    Thanks,
    Rikard

    #605616

    Hi rdswestnet!

    There are two options

    1. Reduce the slider height to 100% of the page height so all content appears in the center or bottom of the slider.

    2. Add the below css to bring the title and the buttons on top of the screen.

    please feel free to use the padding top if you need to push the content down.

    .slideshow_align_caption {
        display: inline-block!important;    
        /*padding-top: 10vh;*/
    }
    

    Best regards,
    Vinay

    Hi- I am having the same issue with the top header bar on a home page with a transparent header. On the mobile sizes the header bar automatically changes to white and since the links are white on the bar they don’t show up. I have tried advanced styling and quick css to change with no luck. I also dumped my cache just to make sure. Here is the link: https://www.justfarmed.com/ if you look on a mobile device (or shrink the browser size) you will see the small top menu bar changes to white/white text but pages that don’t have transparency headers the top menu bar shows up correctly.

    #605597
    rdswestnet
    Participant

    Greetings. Just made a website http://mobilebyfriday.com/ . Checked in on my Mac in 4 browsers, on my phone, and on screenfly. Looks great. However two different friends each checked site on their PC laptops and both reported that the caption heading displays OK, but everything else – the caption text and the buttons are below the bottom of the screen. Is there a way I can fix this without disturbing the beautiful balance of the slider element? It really takes the usefulness out of the element if I can’t display the buttons -which are the main menu for the one-page site. Can I write a media query for windows? Thanks, Rob

    #605595
    smittypages
    Participant

    I was following this post:
    https://kriesi.at/support/topic/advanced-layerslider-5-6-2-lost-styles-in-enfold-3-4-7-and-cannot-save-styles/

    I, too, was experiencing the same issue:
    – Edit a slider (adjust font sizes, colors, background, padding, etc., using the style control fields (not custom CSS))
    – Click save and exit that slider
    – Return to that slider and the styling specifications I set up are not saved

    I just, today, updated Enfold to most current and it appears the Layer Slider is also most-current: (5.6.3).

    Today I am still experiencing the missing styles after saving. I did notice, however, that this seems to happen on some sliders and not on others. When I have a specific TypeKit font specified “futura-pt” (with quotation marks) in the Font Family field and then save, then all of the styling and transition specifications for that layer get lost upon save and revert to default settings. If I specify a Google Font or other simple web-safe font, then the styles for the layer remain intact after saving.

    So, I guess my question is: is there a way to use TypeKit fonts in the LayerSlider that also allows the styling to be saved? Or – do I need to call the font-family in a different way?

    #605582

    Topic: Define Custom Link

    in forum Enfold
    cbrssict
    Participant

    I have a problem using the AJAX Portfolio. It works great with slideshows, but when I use the ‘Define Custom Link’ and link to a Vimeo video there are a couple of issue.

    Main problem is that the video Lightbox opens over the portfolio featured image which could be way down the window in a big portfolio grid, but the window slides back to the top of the page to show the AJAX preview. This results in the Lightbox being off screen, below the viewable area. A great solution would be to disable the AJAX preview when Define Custom Link is selected. OR to have the Lightbox always open over the AJAX preview area at the top of the portfolio grid- not over the portfolio thumbnail.

    Second, when you open a slideshow over the AJAX preview area and use the large navigation arrows to the far left and right of the screen, the portfolio items get stuck on videos. That is, they will move from one portfolio item to another until they open a video, then they will only open other videos in the grid and will skip over any ‘image’ portfolio items that didn’t use Define Custom Link. This isn’t a major issue, and I will probably just hide the large navigation arrows so a user has to close the Lightbox to move to the next portfolio item.

    The AJAX preview is a great feature and I hope to keep using it as the Open in Lightbox mode doesn’t allow multiple preview images to be viewed.

    #605578

    Could be, i think it would be better to have the form open in a new tab instead of lightbox in mobile, you can achieve this by having to buttons, one linking to the iframe enabled URL (iframe?true) and the other without.

    Then with CSS you could control which one shows depending on screen size:

    .only-mobile{
    	display: block !important;
    }
    .only-desktop{
    	display: none !important;
    }
    @media only screen and (min-width: 767px) {
    	.only-mobile{ 
    		display: none !important;
    	}
    	.only-desktop{
    		display: block !important;
    	}
    }

    Regards,
    Josue

    fvdwei
    Participant

    Hi there,

    I need your help. I can’t find the solution to my problem. Tried about everything. I want to change te font color of the main menu items on the homepage which has an tranparent header.

    I tried:
    1) theme options > Advanced Styling and edit “Main menu links” -> doesn’t work
    2) custom css: #top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a, #top #wrap_all .av_header_transparency .sub_menu > ul > li > a, #top .av_header_transparency #header_main_alternate, .av_header_transparency #header_main .social_bookmarks li a {
    color: red;
    }
    -> doesn’t work.

    Please help….

    #605544

    Merhabalar!

    Cok uzgunum cok geciktirdim cevabi.
    Vinnie CSS kodlari yollamisti burada – https://kriesi.at/support/topic/logo-center-menu-right-left/#post-602124 bunu deneme firsatiniz oldu mu?
    Ozelden ulasmak isterseniz diyede ozel icerik alanina email adresimi ekledim.
    Tekrardan, gec cevap icin ozur dilerim!

    Regards,
    Yigit

    #605532

    Hey

    Replied you here Alexander – https://kriesi.at/support/topic/get-image-to-full-size/#post-605524. Please do not create duplicated topics :)

    Best regards,
    Yigit

    Hi Andy, I updated enfold via ftp.
    Unfortunately it showed no results, the problem still occurs. Navigation is flickering and stops at the wrong topic.
    Do you have any Idea?
    Thanks
    Bernd

    #605503

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #top .av-control-minimal .avia-slideshow-arrows a:before {
        border: none;
    }

    Cheers!
    Yigit

    #605498
    HactHousing
    Participant

    I’ve created a sub-menu that links to anchors on the same page but the smoothscrolling is broken. The only modifications I’ve made are Quick CSS changes:

    .logo img { position: relative; top: 20px; }

    .avia-menu-fx { display: none; }
    .header_color .main_menu ul:first-child >li > ul, #top .header_color .avia_mega_div > .sub-menu {
    border-top-color: transparent;
    }

    What’s the best fix?

    Hello!

    Thank you for your quick response. I add

    Here is my functions.php in enfold-child, but nothing has changed in Featured Image section, still missing the checkbox. Maybe I did something wrong?

    <?php
    
    /*
    * Add your own functions here. You can also copy some of the theme functions into this file. 
    * WordPress will use those functions instead of the original functions then.
    */
    add_filter( 'admin_post_thumbnail_html', 'mmx_cpt_featured_image_meta');
    function mmx_cpt_featured_image_meta( $content ) {
    	global $post, $post_type;
    	if( $post_type == "Projects" ) {
    		$text = __( "Don't display image on single post", 'avia_framework' );
    		$id = '_avia_hide_featured_image';
    		$value = esc_attr( get_post_meta( $post->ID, $id, true ) );
    		$selected = !empty($value) ? "checked='checked'" : "";
    		$label = '</div><div class="av-meta-extra-inside"><label for="' . $id . '" class="selectit"><input '.$selected.' name="' . $id . '" type="checkbox" id="' . $id . '" value="1" > ' . $text .'</label>';
    		return $content .= $label;
    	}
    	return $content;
    }

    And here is the functions.php from enfold-folder. I already did some configuration here and they appear in wp-admin. Should I add your code here or what should I do?

    <?php
    function howdy_message($translated_text, $text, $domain) {
        $new_message = str_replace('Howdy', 'Welcome', $text);
        return $new_message;
    }
    
    add_filter('gettext', 'howdy_message', 10, 3);
    
    add_action('init', 'my_custom_init');
    	function my_custom_init() {
    	add_post_type_support( 'news', 'publicize' );
    }
    
    global $avia_config;
    
    /*
     * if you run a child theme and dont want to load the default functions.php file
     * set the global var below in you childthemes function.php to true:
     *
     * example: global $avia_config; $avia_config['use_child_theme_functions_only'] = true;
     * The default functions.php file will then no longer be loaded. You need to make sure then
     * to include framework and functions that you want to use by yourself. 
     *
     * This is only recommended for advanced users
     */
    
    if(isset($avia_config['use_child_theme_functions_only'])) return;
    
    /*
     * create a global var which stores the ids of all posts which are displayed on the current page. It will help us to filter duplicate posts
     */
    $avia_config['posts_on_current_page'] = array();
    
    /*
     * wpml multi site config file
     * needs to be loaded before the framework
     */
    
    require_once( 'config-wpml/config.php' );
    
    /*
     * These are the available color sets in your backend.
     * If more sets are added users will be able to create additional color schemes for certain areas
     *
     * The array key has to be the class name, the value is only used as tab heading on the styling page
     */
    
    $avia_config['color_sets'] = array(
        'header_color'      => 'Logo Area',
        'main_color'        => 'Main Content',
        'alternate_color'   => 'Alternate Content',
        'footer_color'      => 'Footer',
        'socket_color'      => 'Socket'
     );
     
     
    
    /*
     * add support for responsive mega menus
     */
     
    add_theme_support('avia_mega_menu');
    
    /*
     * deactivates the default mega menu and allows us to pass individual menu walkers when calling a menu
     */
     
    add_filter('avia_mega_menu_walker', '__return_false');
    
    /*
     * adds support for the new avia sidebar manager
     */
     
    add_theme_support('avia_sidebar_manager');
    
    /*
     * Filters for post formats etc
     */
    //add_theme_support('avia_queryfilter');
    
    /*
     * Register theme text domain
     */
    if(!function_exists('avia_lang_setup'))
    {
    	add_action('after_setup_theme', 'avia_lang_setup');
    	
    	function avia_lang_setup()
    	{
    		$lang = apply_filters('ava_theme_textdomain_path', get_template_directory()  . '/lang');
    		load_theme_textdomain('avia_framework', $lang);
    	}
    	
    	avia_lang_setup();
    }
    
    ##################################################################
    # AVIA FRAMEWORK by Kriesi
    
    # this include calls a file that automatically includes all
    # the files within the folder framework and therefore makes
    # all functions and classes available for later use
    
    require_once( 'framework/avia_framework.php' );
    
    ##################################################################
    
    /*
     * Register additional image thumbnail sizes
     * Those thumbnails are generated on image upload!
     *
     * If the size of an array was changed after an image was uploaded you either need to re-upload the image
     * or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
     */
    
    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
    
    $avia_config['selectableImgSize'] = array(
    	'square' 				=> __('Square','avia_framework'),
    	'featured'  			=> __('Featured Thin','avia_framework'),
    	'featured_large'  		=> __('Featured Large','avia_framework'),
    	'portfolio' 			=> __('Portfolio','avia_framework'),
    	'gallery' 				=> __('Gallery','avia_framework'),
    	'entry_with_sidebar' 	=> __('Entry with Sidebar','avia_framework'),
    	'entry_without_sidebar'	=> __('Entry without Sidebar','avia_framework'),
    	'extra_large' 			=> __('Fullscreen Sections/Sliders','avia_framework'),
    	
    );
    
    avia_backend_add_thumbnail_size($avia_config);
    
    if ( ! isset( $content_width ) ) $content_width = $avia_config['imgSize']['featured']['width'];
    
    /*
     * register the layout classes
     *
     */
    
    $avia_config['layout']['fullsize'] 		= array('content' => 'av-content-full alpha', 'sidebar' => 'hidden', 	  	  'meta' => '','entry' => '');
    $avia_config['layout']['sidebar_left'] 	= array('content' => 'av-content-small', 	  'sidebar' => 'alpha' ,'meta' => 'alpha', 'entry' => '');
    $avia_config['layout']['sidebar_right'] = array('content' => 'av-content-small alpha','sidebar' => 'alpha', 'meta' => 'alpha', 'entry' => 'alpha');
    
    /*
     * These are some of the font icons used in the theme, defined by the entypo icon font. the font files are included by the new aviaBuilder
     * common icons are stored here for easy retrieval
     */
     
     $avia_config['font_icons'] = apply_filters('avf_default_icons', array(
     
        //post formats +  types
        'standard' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue836'),
        'link'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue822'),
        'image'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80f'),
        'audio'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue801'),
        'quote'   		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue833'),
        'gallery'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80e'),
        'video'   		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80d'),
        'portfolio'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue849'),
        'product'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
        				
        //social		
        'behance' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue915'),
    	'dribbble' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fe'),
    	'facebook' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f3'),
    	'flickr' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8ed'),
    	'gplus' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f6'),
    	'linkedin' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fc'),
    	'instagram' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue909'),
    	'pinterest' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f8'),
    	'skype' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue90d'),
    	'tumblr' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8fa'),
    	'twitter' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8f1'),
    	'vimeo' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8ef'),
    	'rss' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue853'),  
    	'youtube'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue921'),  
    	'xing'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue923'),  
    	'soundcloud'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue913'),  
    	'five_100_px'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue91d'),  
    	'vk'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue926'),  
    	'reddit'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue927'),  
    	'digg'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue928'),  
    	'delicious'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue929'),  
    	'mail' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue805'),
    					
    	//woocomemrce    
    	'cart' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
    	'details'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue84b'),
    
    	//bbpress    
    	'supersticky'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue808'),
    	'sticky'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue809'),
    	'one_voice'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue83b'),
    	'multi_voice'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue83c'),
    	'closed'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue824'),
    	'sticky_closed' => array( 'font' =>'entypo-fontello', 'icon' => 'ue808\ue824'),
    	'supersticky_closed' => array( 'font' =>'entypo-fontello', 'icon' => 'ue809\ue824'),
    					
    	//navigation, slider & controls
    	'play' 			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),
    	'pause'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue899'),
    	'next'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue879'),
        'prev'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue878'),
        'next_big'  	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue87d'),
        'prev_big'  	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue87c'),
    	'close'			=> array( 'font' =>'entypo-fontello', 'icon' => 'ue814'),
    	'reload'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue891'),
    	'mobile_menu'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8a5'),
    					
    	//image hover overlays		
        'ov_external'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue832'),
        'ov_image'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue869'),
        'ov_video'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),
        
    					
    	//misc			
        'search'  		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue803'),
        'info'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue81e'),
    	'clipboard' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue8d1'),
    	'scrolltop' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue876'),
    	'scrolldown' 	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue877'),
    	'bitcoin' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue92a'),
    
    ));
    
    add_theme_support( 'automatic-feed-links' );
    
    ##################################################################
    # Frontend Stuff necessary for the theme:
    ##################################################################
    
    /*
     * Register frontend javascripts:
     */
    if(!function_exists('avia_register_frontend_scripts'))
    {
    	if(!is_admin()){
    		add_action('wp_enqueue_scripts', 'avia_register_frontend_scripts');
    	}
    
    	function avia_register_frontend_scripts()
    	{
    		$template_url = get_template_directory_uri();
    		$child_theme_url = get_stylesheet_directory_uri();
    
    		//register js
    		wp_enqueue_script( 'avia-compat', $template_url.'/js/avia-compat.js', array('jquery'), 2, false ); //needs to be loaded at the top to prevent bugs
    		wp_enqueue_script( 'avia-default', $template_url.'/js/avia.js', array('jquery'), 3, true );
    		wp_enqueue_script( 'avia-shortcodes', $template_url.'/js/shortcodes.js', array('jquery'), 3, true );
    		wp_enqueue_script( 'avia-popup',  $template_url.'/js/aviapopup/jquery.magnific-popup.min.js', array('jquery'), 2, true);
    
    		wp_enqueue_script( 'jquery' );
    		wp_enqueue_script( 'wp-mediaelement' );
    
    		if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }
    
    		//register styles
    		wp_register_style( 'avia-style' ,  $child_theme_url."/style.css", array(), 		'2', 'all' ); //register default style.css file. only include in childthemes. has no purpose in main theme
    		wp_register_style( 'avia-custom',  $template_url."/css/custom.css", array(), 	'2', 'all' );
    																						 
    		wp_enqueue_style( 'avia-grid' ,   $template_url."/css/grid.css", array(), 		'2', 'all' );
    		wp_enqueue_style( 'avia-base' ,   $template_url."/css/base.css", array(), 		'2', 'all' );
    		wp_enqueue_style( 'avia-layout',  $template_url."/css/layout.css", array(), 	'2', 'all' );
    		wp_enqueue_style( 'avia-scs',     $template_url."/css/shortcodes.css", array(), '2', 'all' );
    		wp_enqueue_style( 'avia-popup-css', $template_url."/js/aviapopup/magnific-popup.css", array(), '1', 'screen' );
    		wp_enqueue_style( 'avia-media'  , $template_url."/js/mediaelement/skin-1/mediaelementplayer.css", array(), '1', 'screen' );
    		wp_enqueue_style( 'avia-print' ,  $template_url."/css/print.css", array(), '1', 'print' );
    		
    		
    		if ( is_rtl() ) {
    			wp_enqueue_style(  'avia-rtl',  $template_url."/css/rtl.css", array(), '1', 'all' );
    		}
    		
    
            global $avia;
    		$safe_name = avia_backend_safe_string($avia->base_data['prefix']);
    		$safe_name = apply_filters('avf_dynamic_stylesheet_filename', $safe_name);
    
            if( get_option('avia_stylesheet_exists'.$safe_name) == 'true' )
            {
                $avia_upload_dir = wp_upload_dir();
                if(is_ssl()) $avia_upload_dir['baseurl'] = str_replace("http://", "https://", $avia_upload_dir['baseurl']);
    
                $avia_dyn_stylesheet_url = $avia_upload_dir['baseurl'] . '/dynamic_avia/'.$safe_name.'.css';
    			$version_number = get_option('avia_stylesheet_dynamic_version'.$safe_name);
    			if(empty($version_number)) $version_number = '1';
                
                wp_enqueue_style( 'avia-dynamic', $avia_dyn_stylesheet_url, array(), $version_number, 'all' );
            }
    
    		wp_enqueue_style( 'avia-custom');
    
    		if($child_theme_url !=  $template_url)
    		{
    			wp_enqueue_style( 'avia-style');
    		}
    
    	}
    }
    
    if(!function_exists('avia_remove_default_video_styling'))
    {
    	if(!is_admin()){
    		add_action('wp_footer', 'avia_remove_default_video_styling', 1);
    	}
    
    	function avia_remove_default_video_styling()
    	{
    		//remove default style for videos
    		wp_dequeue_style( 'mediaelement' );
    		// wp_dequeue_script( 'wp-mediaelement' );
    		// wp_dequeue_style( 'wp-mediaelement' );
    	}
    }
    
    /*
     * Activate native wordpress navigation menu and register a menu location
     */
    if(!function_exists('avia_nav_menus'))
    {
    	function avia_nav_menus()
    	{
    		global $avia_config, $wp_customize;
    
    		add_theme_support('nav_menus');
    		
    		foreach($avia_config['nav_menus'] as $key => $value)
    		{
    			//wp-admin\customize.php does not support html code in the menu description - thus we need to strip it
    			$name = (!empty($value['plain']) && !empty($wp_customize)) ? $value['plain'] : $value['html'];
    			register_nav_menu($key, THEMENAME.' '.$name);
    		}
    	}
    
    	$avia_config['nav_menus'] = array(	'avia' => array('html' => __('Main Menu', 'avia_framework')),
    										'avia2' => array(
    													'html' => __('Secondary Menu <br/><small>(Will be displayed if you selected a header layout that supports a submenu <a target="_blank" href="'.admin_url('?page=avia#goto_header').'">here</a>)</small>', 'avia_framework'),
    													'plain'=> __('Secondary Menu - will be displayed if you selected a header layout that supports a submenu', 'avia_framework')),
    										'avia3' => array(
    													'html' => __('Footer Menu <br/><small>(no dropdowns)</small>', 'avia_framework'),
    													'plain'=> __('Footer Menu (no dropdowns)', 'avia_framework'))
    									);
    
    	avia_nav_menus(); //call the function immediatly to activate
    }
    
    /*
     *  load some frontend functions in folder include:
     */
    
    require_once( 'includes/admin/register-portfolio.php' );		// register custom post types for portfolio entries
    require_once( 'includes/admin/register-widget-area.php' );		// register sidebar widgets for the sidebar and footer
    require_once( 'includes/loop-comments.php' );					// necessary to display the comments properly
    require_once( 'includes/helper-template-logic.php' ); 			// holds the template logic so the theme knows which tempaltes to use
    require_once( 'includes/helper-social-media.php' ); 			// holds some helper functions necessary for twitter and facebook buttons
    require_once( 'includes/helper-post-format.php' ); 				// holds actions and filter necessary for post formats
    require_once( 'includes/helper-markup.php' ); 					// holds the markup logic (schema.org and html5)
    
    if(current_theme_supports('avia_conditionals_for_mega_menu'))
    {
    	require_once( 'includes/helper-conditional-megamenu.php' );  // holds the walker for the responsive mega menu
    }
    
    require_once( 'includes/helper-responsive-megamenu.php' ); 		// holds the walker for the responsive mega menu
    
    //adds the plugin initalization scripts that add styles and functions
    
    if(!current_theme_supports('deactivate_layerslider')) require_once( 'config-layerslider/config.php' );//layerslider plugin
    
    require_once( 'config-bbpress/config.php' );					//compatibility with  bbpress forum plugin
    require_once( 'config-templatebuilder/config.php' );			//templatebuilder plugin
    require_once( 'config-gravityforms/config.php' );				//compatibility with gravityforms plugin
    require_once( 'config-woocommerce/config.php' );				//compatibility with woocommerce plugin
    require_once( 'config-wordpress-seo/config.php' );				//compatibility with Yoast WordPress SEO plugin
    
    if(!current_theme_supports('deactivate_tribe_events_calendar'))
    {
    	require_once( 'config-events-calendar/config.php' );		//compatibility with the Events Calendar plugin
    }
    
    if(is_admin())
    {
    	require_once( 'includes/admin/helper-compat-update.php');	// include helper functions for new versions
    }
    
    /*
     *  dynamic styles for front and backend
     */
    if(!function_exists('avia_custom_styles'))
    {
    	function avia_custom_styles()
    	{
    		require_once( 'includes/admin/register-dynamic-styles.php' );	// register the styles for dynamic frontend styling
    		avia_prepare_dynamic_styles();
    	}
    
    	add_action('init', 'avia_custom_styles', 20);
    	add_action('admin_init', 'avia_custom_styles', 20);
    }
    
    /*
     *  activate framework widgets
     */
    if(!function_exists('avia_register_avia_widgets'))
    {
    	function avia_register_avia_widgets()
    	{
    		register_widget( 'avia_newsbox' );
    		register_widget( 'avia_portfoliobox' );
    		register_widget( 'avia_socialcount' );
    		register_widget( 'avia_combo_widget' );
    		register_widget( 'avia_partner_widget' );
    		register_widget( 'avia_google_maps' );
    		register_widget( 'avia_fb_likebox' );
    		register_widget( 'avia_instagram_widget' );
    		
    	}
    
    	avia_register_avia_widgets(); //call the function immediatly to activate
    }
    
    /*
     *  add post format options
     */
    add_theme_support( 'post-formats', array('link', 'quote', 'gallery','video','image','audio' ) );
    
    /*
     *  Remove the default shortcode function, we got new ones that are better ;)
     */
    add_theme_support( 'avia-disable-default-shortcodes', true);
    
    /*
     * compat mode for easier theme switching from one avia framework theme to another
     */
    add_theme_support( 'avia_post_meta_compat');
    
    /*
     * make sure that enfold widgets dont use the old slideshow parameter in widgets, but default post thumbnails
     */
    add_theme_support('force-post-thumbnails-in-widget');
    
    /*
     *  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');
    

    Best regards,
    Tom

    #605476
    cherrmann
    Participant

    Hi there,

    after trying to help myself, reading and coding a lot, I didn’t find the happy end, so I must ask:

    Please have a look at the current site (see private content)

    You see the language selector at the top left.

    I’d like to DON’T show the current (active) language, and I DON’T want flags to be shown, better not being loaded at all (and then hide them via css).

    I came across these:

    https://wpml.org/forums/topic/theme-enfold-delete-flag-header-menu/
    https://wpml.org/forums/topic/urgent-text-switcher-in-the-top-nav-bar-menu/

    I ended up with this in my child theme’s functions.php

    if(!function_exists('avia_wpml_language_switch'))
    	{
    		add_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
    		add_action( 'ava_main_header_sidebar', 'avia_wpml_language_switch', 10);
    
    		function avia_wpml_language_switch()
    		{
    			global $sitepress, $avia_config;
                
                if(empty($avia_config['wpml_language_menu_position'])) $avia_config['wpml_language_menu_position'] = apply_filters('avf_wpml_language_switcher_position', 'sub_menu');
                if($avia_config['wpml_language_menu_position'] != 'sub_menu') return;
    
    			$languages = icl_get_languages('skip_missing=0&orderby=custom');
    			$output = "";
    
    			if(is_array($languages))
    			{
    				$output .= "<ul class='avia_wpml_language_switch avia_wpml_language_switch_extra'>";
    
    				foreach($languages as $lang){
    				
    				if(!$lang['active'])
    				
    				{
    					$currentlang = (ICL_LANGUAGE_CODE == $lang['language_code']) ? 'avia_current_lang' : '';
    
    					if(!avia_is_overview() && (is_home() || is_front_page())) $lang['url'] = $sitepress->language_url($lang['language_code']);
    					         
    					$output .= "<li class='language_".$lang['language_code']." $currentlang'><a href='".$lang['url']."'>";
    					$output .= "	<span class='language_native'>".$lang['native_name']."</span>";
    					$output .= "</a></li>";
    				}
    
    				$output .= "</ul>";
    				}
    			}
    
    			echo $output;
    		}
    	}

    and I was near to what I wanted, but the styling was only working for the german language anymore.

    So please put me on the rails here. Thank you.

    #605475
    mcraig77
    Participant

    Ahoy –

    I’m trying to make the section “Lawyer Referral” box the same width as the boxes above it. I have already given the section a Custom Css Class.

    column3

    Please advise

    #605469

    Hi Kevin!

    Thanks for getting in touch with us!

    The file you will need to edit is in the includes folder. You need to look for your theme folder directory/includes/helper-main-menu.php. The header has a div id #header_meta which is where the code for the social icons and phone info in the top bar will be found.

    Let me know if you need further assistance.

    Best regards,
    Jordan

    #605467

    Thanks again.

    Next time I have a question I’ll add your name to the topic cause you solve stuff like a boss.

    Have a good day!

    #605466
    k_grinder
    Participant

    Hello,

    We are needing to place a font re-sizer in the very top header next to the social and phone number area. I know this needs to be done in the php file itself as we are adding this a php line of code. However, I can’t find the file. I found the header.php for the theme, but I can’t find the top header file.

    We have to place the font re-sizer because the client really wants it on the top of the page and not only in a side panel. We realize this may break on an upgrade, but we can add the one line of code back in when that time comes.

    Thanks,
    Kevin

    #605462

    Hi Yigit,

    I won’t be able to give you access to the live site since its used on a local server which is not accessible online.
    But I have installed a new page on my private server – see private section.

    You will find two posts. One which is created with the default editor where the featured image is set automatically.
    The other one is build with the ALB and an image is added to the top.

    I would like to have the general Featured image behave like the one in the second post – no overlay, just the increase.

    Any chance this can be done?

    • This reply was modified 9 years, 12 months ago by mtupuschies. Reason: Misspelled the name :)
    #605452
    Chris_85
    Participant

    hi,

    can you please help me with the handling of the loop-index.php? I want to remove the following items from the Blog-Design:

    social media items (below the post-content)
    Category (in top of the title)
    post-image
    Author

    in the screenshot you can see which items i want to remove. (arrows show to that items)

    Please can you tell me what lines i have to delete from the loop-index.php??

    cheers

    Chris

    • This topic was modified 9 years, 12 months ago by Chris_85.
    #605431

    Hey!

    I am sorry, but this is simply too much for a basic support like here, as written in our support policy. If you know which code is causing it, then stop using it. If you still want to use it and need theme customization then contact these guys here: kriesi.at/contact/customization

    Best regards,
    Andy

    #605428

    Hi!

    I tried to login using credentials you’ve provided here, but it does not work. Please check.

    Best regards,
    Andy

    Hey!

    this one was about a different issue. It was about any new styles you put into LayerSlider’s (CSS) styles, which did not apply/save. And this issue is resolved now, as it’s working, even on your installation.
    So please simply put your values inside the fields again and it should work fine.

    Cheers!
    Andy

    #605423

    I have the tooltips appearing where I want them now. Next, ideally I would be able to have the user scroll over (‘mousenter’ event) and keep the tooltip open, or use the ‘click’ event to have them open the tooltip when they click the hotspot. I read Elliot’s ticket (https://kriesi.at/support/topic/make-hotspot-tooltip-sticky/) and tried what was suggested.

    My questions to hopefully wrap-this-up are…
    1. I’m not sure how to edit the JS file in a child environment? I tried to do what you see in the attached link in my child theme directory.
    2. I would like the tooltip to remain open so a user can scroll into or otherwise interact within the tooltip – is this possible?

    Thanks

    #605421

    Hi!

    Try adding the following CSS in the Quick CSS field under the General Styling tab in the theme options:

    #top .iconbox.av-no-box .iconbox_icon {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 15px;
    }
    

    This should reduce the icons to half it’s size and you can also change the values if you wish.

    Cheers!
    Jordan

    #605417

    I did so. I think the problem is that I’m trying to have the header at the very top with
    #header_meta { display: none; }
    and then also having the main and sub menu lower in the header

    .main_menu { margin-top: 30px;
    }
    .sub-menu {
    top: 95px !important;
    width: 160px !important;
    }

    And then I try to get a fixed submenu on the particular pages with

    #top .av-subnav-menu  a {
    position: relative;
    right: 55px;
    top: -35px;
    }

    which causes the submenu links to be not clickable. Also the submenu should be placed in the header (yellow) what I don’t know how to do.
    And I want the sidebar menu to appear directly below the header without a space but with
    .sidebar_left.sidebar { text-align: left; margin-top: -30px; }
    also the main content appears higher than usual.

    Next problem is that I want the header to shrink with scrolling down but then the text “…denn Sport ist mehr!” should disappear which I can’t figure out how to do.Got this one. And at the same time the fixed submenu should be placed in the header as it should be when the header’s not shrunk.

    Currently I’m working on the online version, login is still the same if you want to see anything on there.
    Well… I’ve got a lot of problems. I’m sorry!
    Thanks in advance for your effort!

    • This reply was modified 9 years, 12 months ago by ping-pong.
    #605412

    Hi!

    clear browser cache and hard refresh a few times. Make sure to have purged any caching you are using. Check on another computer as well.
    Send us a precise link where we can see the issue, if you still need help with it.

    Socket: https://kriesi.at/support/topic/newbie-question-editing-the-socket-for-enfold/#post-118137

    Cheers!
    Andy

    Hi Andy,

    did you import/export your page to a different domain or did you move any WordPress files?
    –> no, we just updated the theme and the LayerSlider plugin on this installation, no change in the domains

    Are you using any kind of caching? Please ask your host if they are using caching on your server. Make sure to purge and deactivate it.
    –> You are repeating yourself. NO, we do not use caching.

    We can’t see that you have lost any styles and we can’t reproduce the issue on our installation. Try to install a backed up version, to see if things get better for you again.
    –> already rolled back updates and uses backups, because of this issue

    I deactivated all your plugins and now I can’t activate them again anymore. Seems that something is wrong with either your WP installation or with any theme files.
    –> I was able to activate them again with the login I provided – there was no problem to do so.

    I am usually really happy about the way you guys solve he problems, but you ask the same questions again that I have already answered before. I know that it is difficult to find the problem, but that is why I ask for your help.

    For already existing sliders the settings are not shown in the backend after the update. The issue happened also to others before and was not resolved. Kriesi said, that it should be fixed, but it is NOT : https://kriesi.at/support/topic/advanced-layerslider-5-6-2-lost-styles-in-enfold-3-4-7-and-cannot-save-styles/page/2/#post-598903

    I appreciate your help, Andy, but could you please also tag Kriesi or Dude?

Viewing 30 results - 98,221 through 98,250 (of 142,845 total)