Viewing 30 results - 7,411 through 7,440 (of 11,220 total)
  • Author
    Search Results
  • smauchle
    Participant

    Hi

    I’ve seen that you already answered this question (https://kriesi.at/support/topic/instagram-widget-button-text-color-follow-us/) but I don’t know where exactly I have to put in the code. I’ve have copied in the following code on the page “General Styling” -> “Footer” below in the “Quick CSS” box:

    .av-instagram-follow {
    background: #fff;
    color: #000;
    }

    Unfortunately the colors are not changing. Here the URL to my website: http://www.chuchichaeschtli-tv.ch/wordpress

    My second question is about moving the site from the folder /wordpress to http://www.chuchichaeschtli-tv.ch -> Can I do that in the WP or Enfold backend or can I just copy the files from the current folder ‘wordpress’ to the first level on the server in order that the website appears when I type in http://www.chuchichaeschtli-tv.ch?

    Thank you very much for your support.

    Best,
    Sandro

    #606011

    In reply to: Default Button Style

    Hi!

    You can have different style buttons or one style for all buttons…
    First make some custom button styles and add it to Enfold > General Styling > Quick CSS

    Example

    
    .button-1 {
    /* Button Styles*/
    }
    .button-2 {
    /* Button Styles*/
    }
    .button-3 {
    /* Button Styles*/
    }

    Then enable custom class name support for layout builder elements

    Add the button class name to the button you create from Advance Layout Builder

    For other buttons that are not part of advance layout builder you need custom css which Yigit already provided you with.

    Best regards,
    Vinay

    Hey web4youberlin!

    Please refer to this post – http://kriesi.at/documentation/enfold/display-footer-menu-scroll-to-top-button-on-mobile/

    Regards,
    Yigit

    Hey endanight!

    Not sure if you like to target the buttons as a group or individual but in any case you have to activate custom class name for advance layout builder elements

    Then add your custom class name to the buttons and target them as individuals or groups by giving the buttons proper class names,

    Regards,
    Vinay

    #605806

    When using Enfold, if I want to add a button to the page and then link the button to a document I have uploaded, the process is as follows:

    Go to Media Library
    Upload a document
    Click the document so I can then copy the direct link
    Edit a page
    Edit a Button
    Add the URL of the document to the button

    The issue is that the people using the website are not technical and this process is very long compared to their previous setup.

    I was thinking about this last night and feel the whole process could be made quicker if the “Add Media” button was accessible when using the avia editor.

    #605559

    Ok let’s try something different. Place an Enfold button and set the link to Manually and put this:

    https://flyworx.typeform.com/to/m6eicf?iframe=true
    

    Regards,
    Josue

    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

    #605350

    In reply to: Default Button Style

    Hi!

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

    .gform_wrapper input[type="submit"],.wpsg_button {
        background-color: #f8f8f8;
        color: #666666;
        padding: 9px 10px 7px;
        font-size: 13px;
        min-width: 80px;
        border: 1px solid #e1e1e1;
        border-radius: 3px;
    }

    Regards,
    Yigit

    Hey!

    Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and edit your button and give it a custom CSS class and then add following code to Functions.php file in Appearance > Editor

    
    function my_custom_attr(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.your-custom-class a').attr('onClick','YOUR CODE GOES HERE');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'my_custom_attr');

    Best regards,
    Yigit

    Hi Rikard – I haven’t started building the site yet as I’m trying to determine if Enfold can be used to recreate this header reasonably. I’ve used Enfold on lots of sites but this is the first time I’ve encountered this type of header. Here is a picture of the design ‘m trying to recreate: http://775.bd1.myftpupload.com/wp-content/uploads/2016/03/header.jpg

    The background picture is actually a video, the logo is in the middle of the video and they want buttons, social icons and the seach bar on top of the background video in the header.

    Thanks for your help.

    #605194

    In reply to: Modal button

    Hmmm, so is it possible to have a popup enfold contact form from an enfold full width button or button?

    Cheers

    #605066

    Topic: Modal button

    in forum Enfold
    mattwilliamsyogi
    Participant

    Hi,

    Sorry if this doesn’t fall into your line of support but I’m really hoping you can help me, I’ve bought about 40 copies of Enfold so maybe you can let me off haha!

    I’m trying to add a get a quote button which has a pop up form on it, I’ve found an add on for formidable forms which uses modal but I’m unsure on how to make this work with the enfold full width button, is there a way?

    Thanks,
    Matt

    #604929
    AmChamTaipei
    Participant

    Hi,

    Encountering a strange new issue with using mailto links in the “button” and “fullwidth button” content elements using the layout builder.

    When I built the site, I created lots of buttons with mailto links for “contact us” functionality. There was no issue. However, now I am noticing the following behaviors:

    – When editing a page that had been built with a mailto button, i receive the following error(s):

    Notice: Undefined index: icon_select in /home/amcham/amcham/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 683

    Notice: Undefined index: color in /home/amcham/amcham/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 683

    Notice: Undefined index: size in /home/amcham/amcham/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 683

    Notice: Undefined index: position in /home/amcham/amcham/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 683

    – The button will still work until I update the page, at which point the entire button will break, all color/hover/icon functions are totally broken until I remove the link.

    – When adding a new button on a new page, it works until i add a mailto link, then i get error code inside the layout builder itself. Screenshot:
    https://www.dropbox.com/s/arrc63esapq0kum/Screenshot%202016-03-30%2010.50.53.png?dl=0

    – Basically now if i have to update any page with a mailto button, i need to delete the button and replace it with another type of link. Hoping there is some kind of solution. I have tried to disable plugins and test, but no luck so far.

    Thank you for any help you might be able to offer.

    #604827

    Hola Enfold Support,
    I too am trying to add a transparent button to layerslider and when using the short code or the div tags nothing appears. Is there a setting in layerslider that turns on or off the avia button short code?

    Lastly, I also need the button to be responsive just like the layerslider is.

    Thanks!

    #604825

    In reply to: Post page

    Hey MarcoEsse!

    We are going to need temporary logins to see your page and provide you an accurate solution for the image at the right side. Social buttons are not Enfold’s native elements. You can simply deactivate the plugin you are using to display these buttons :)

    Regards,
    Yigit

    #604803

    Hey Daniel!

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

    div.avia-popup button.mfp-arrow:before { color: red; }

    Best regards,
    Yigit

    #604710
    phillipikoo
    Participant

    I have a pricing page where I use the buttons provided in the editor for Enfold. When a user clicks this “subscribe” button, he is led to a checkout page. I’m currently using WP Full Stripe but I’m dissatisfied with it so I’m considering switching over the Memberful. However, Memberful implements the link through the use of a shortcode via the WordPress editor as shown here: https://memberful.com/help/integrate/services/wordpress/add-buy-link/

    So my question is, can I use a shortcode in the URL field in the editor for the button? If not, any advice on how I can get this to work?

    repking
    Participant

    I need a header that I don’t see as an option in the Enfold header options and need some guidance. I need to create a large header area (500px) with a video background that has the logo, buttons, social icons and search bar on top of it, along with the menu at the bottom of the area. I put the design of the header I’m trying to recreate in the private area so you see what I’m trying to mimic. This seems more advanced that what is out of the box for Enfold based on other sites I’ve built with it, so wanted to get your opinion if this is possible to do and if so, how i would go about doing it in the best way.

    Any insight and help would be appreciated.

    #604513

    Hello,

    Probably I not made myself clear.

    1 – The mobile menu is enabled by default of ENFOLD for smartphones (browser width below 768px). So I do not understand the need for a plugin to be activated on a device that is not a smartphone like a computer ?

    2 – I just would like to activate it into another button or even a link.

    Thanks

    #604266

    In reply to: Centering columns

    Hi jomtones!

    Thank you for using Enfold.

    I checked the site and the columns with buttons are already center aligned. Is that correct?

    Regards,
    Ismael

    #604196

    Topic: Header button format

    in forum Enfold
    mcraig77
    Participant

    Ahoy –

    I followed the directions here to add a widget to the header. http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/

    I was hoping to get some help formatting it,

    How can I make it so it is under the phone number and centered in the header – for both normal and shrunk?

    #604120
    flyworxatl
    Participant

    Hello,

    I am trying to create a custom button in the enfold theme to be able to lunch a type form pop-up. Type form provides a button through an embed code but it does not match our design. In the above the fold section on our home page (http://www.flyworxinspections.com), you will see a transparent button i have created called “typeform” and want to use to lunch a typeform popup and below it you will see type form generated button. How do i tie those together?

    Any suggestions?

    Thank You
    Roman

    #603942
    toma01
    Participant

    Hi!
    Just upgraded Enfold theme from 3.4.7 to 3.5.1. After the update, the mobile search button/icon is gone. Any tips on how to solve tis issue? This os the code that was working before the upgrade:
    @media only screen and (max-width: 767px) {
    .main_menu .avia-menu, #header_main_alternate {
    display: block !important;
    }
    .av-main-nav > li { display: none; }
    li#menu-item-search {
    display: block!important;
    margin-top: -86px;
    right: -25px;
    }}

    BR, Torbjörn

    #603895

    Hi!

    This is a 3rd party plugin issue and normally we do not support 3rd party issues but we are more than happy to help you resolve this since it is a quick one for us and you don’t have to go to different support forums.

    The below css is causing the issue

    .gf_browser_ie.gform_wrapper .gform_footer input.button {
        padding: .188em;
    }

    If you have added this please remove it to fix the issue if you have not added it please add the below css in Enfold > General Styling > Quick CSS

    
    /* IE Form Button Fix*/
    .gf_browser_ie.gform_wrapper .gform_footer input.button {
        padding: auto!important;
    }
    

    Regards,
    Vinay

    #603879

    Hi MulderMind!

    Please remove the CSS and use the below shortcode for the button in the caption area

    
    [av_button label='Click me' link='manually,http://' link_target='' size='small' position='left' icon_select='yes' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' custom_class='']

    To View the shortcodes please enable debug mode for the advance layout builder elements http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Best regards,
    Vinay

    #603856

    Hey!

    An alternative method would be to apply the following (HTML part):

    The CSS would be this instead:

    .wpcf7-form, .wpcf7-response-output{
      clear:both;
    }
    
    .wpcf7-form-control-wrap {
      display: block !important
    }
    
    .wpcf7-form p br{display:none;}
    .wpcf7-form label {display:block; visibility: visible; position: relative; }
    .wpcf7-form label, .modified_width:before{display:block; visibility: visible; position: relative; margin-bottom: 7px; font-weight: 600;}
    
    .wpcf7-form p{ position: relative; clear:both; float:left; width:100%;}
    .wpcf7-form p.hidden{position: absolute; width:0px; left:0; top:0; }
    .wpcf7-form .form_element_half{width:49.5%; float:left; margin-left:1%; clear:none;}
    .wpcf7-form .form_element_third{width:32.6%; float:left; margin-left:1%; clear:none;}
    .wpcf7-form .form_element_two_third{width:66.4%; float:left; margin-left:1%; clear:none;}
    .wpcf7-form .form_element_fourth{width:24.2%; float:left; margin-left:1%; clear:none;}
    .wpcf7-form .form_element_three_fourth{width:74.8%; float:left; margin-left:1%; clear:none;}
    
    .wpcf7-form .first_form{clear:both;margin-left:0;}
    
    #top .wpcf7-form .wpcf7-text, #top .wpcf7-form .wpcf7-select, #top .wpcf7-form .wpcf7-textarea{
      width:100%;
      margin-bottom:0;
      display:inline;
      min-width:50px;
      padding:13px;
      border-radius: 2px;
    }
    
    #top .wpcf7-form .wpcf7-select{
     -webkit-appearance: none;
     border-radius:0px;
     background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);
     background-position: center right;
     background-repeat: no-repeat;
     border-radius: 2px;
    }
    
    .wpcf7-form .button {
      margin: 0;
      padding: 16px 20px;
      border-radius: 2px;
      border-bottom-width: 1px;
      border-bottom-style: solid;
      font-weight: normal;
      font-size: 12px;
      min-width: 142px;
      outline: none;
    }
    
    .wpcf7-form p input, .wpcf7-form p textarea, .wpcf7-form p select{
      -webkit-transition: all 0.3s ease-in-out;
      -moz-transition:  all 0.3s ease-in-out;
      transition:     all 0.3s ease-in-out;
    }

    Cheers!
    Josue

    #603721

    Hi!

    I clicked on “@Baud” and then on “@Hillary Rettig”, then I used browser back button and it takes me back to “@Baud” anchor. So it seems to work totally fine for me.

    Which browser and OS are you using? did you check on another computer as well?

    We recommend to update to Enfold v3.5.1.

    Best regards,
    Andy

    #603703

    Hey jaimemerz!

    Please refer to this post – http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/

    Regards,
    Yigit

    #603657

    In reply to: Button styling

    Hi vossenm!

    You can turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your button and give it a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .your-custom-class a.avia-button {
        background: #7db9e8;
        background: -moz-linear-gradient(top, #7db9e8 0%, #2989d8 50%, #1e5799 100%);
        background: -webkit-linear-gradient(top, #7db9e8 0%,#2989d8 50%,#1e5799 100%);
        background: linear-gradient(to bottom, #7db9e8 0%,#2989d8 50%,#1e5799 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=0 );
    }

    You can generate gradients here – http://www.colorzilla.com/gradient-editor/ :)

    Best regards,
    Yigit

    #603404

    Hi Yigit,

    what I’m looking for is the shortcodes which are NOT found in the Insert Theme Shortcode List. in ALB or in standard editor.
    i.e. what are the shortcodes for those hr-elements http://kriesi.at/themes/enfold/shortcodes/hr/
    If those elements cannot be inserted from ALB/or the button, the debug mode will not be able to expose them because they are not there – right?

    Thank you
    Tom

Viewing 30 results - 7,411 through 7,440 (of 11,220 total)