Viewing 30 results - 85,741 through 85,770 (of 142,832 total)
  • Author
    Search Results
  • markkus2
    Participant

    Hello, i tried to turn on the custom css support for all ALB elements and since then when i try to save/actualize a page in the backend, the page always will show a blank page afterwards (by the way, it saved itself but just leave a blank page, reloading doesn’t help).
    I also deleted the css ALB code again from the function.php (enfold and child), restarted the server and the computer, but nothing has helped.
    I guess i hasn’t forgotten any code … or added:

    enfold-child (functions.php):
    <?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.
    */

    /*m_code Adding Google Font*/

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Merienda’] = ‘Merienda’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Source Sans Pro’] = ‘Source Sans Pro:400,600,800’;
    return $fonts;
    }

    ?>

    enfold-child (functions.php):

    <?php
    if ( !defined(‘ABSPATH’) ){ die(); }

    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’);

    /*
    * add support for improved backend styling
    */

    add_theme_support(‘avia_improved_backend_style’);

    /*
    * 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();
    }

    /*
    function that changes the icon of the theme update tab
    */

    if(!function_exists(‘avia_theme_update_filter’))
    {
    function avia_theme_update_filter( $data )
    {
    if(current_theme_supports(‘avia_improved_backend_style’))
    {
    $data[‘icon’] = (Email address hidden if logged out) ‘;
    }
    return $data;
    }

    add_filter(‘avf_update_theme_tab’, ‘avia_theme_update_filter’, 30, 1);
    }

    ##################################################################
    # 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://&#8221;, “https://&#8221;, $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’, ‘avia_framework’).’ <br/><small>(‘.__(‘Will be displayed if you selected a header layout that supports a submenu’, ‘avia_framework’).’ ‘.__(‘here’, ‘avia_framework’).’)</small>’,
    ‘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’);

    /*
    * display page titles via wordpress default output
    */
    function av_theme_slug_setup()
    {
    add_theme_support( ‘title-tag’ );
    }

    add_action( ‘after_setup_theme’, ‘av_theme_slug_setup’ );

    /*title fallback*/
    if ( ! function_exists( ‘_wp_render_title_tag’ ) )
    {
    function av_theme_slug_render_title()
    {
    echo “<title>” . avia_set_title_tag() .”</title>”;
    }
    add_action( ‘wp_head’, ‘av_theme_slug_render_title’ );
    }

    /*
    * 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’);

    #733610

    great, that worked, thank you!

    is there a way to determine the position a bit more precisely?
    something like top: 80% …?
    because right now, it’s too high up!

    #733604
    M1000000
    Participant

    Hi Guys,

    You have a nice function here – https://kriesi.at/support/topic/change-logo-per-page/ – for using a different logo on individual pages.

    Is there a way of doing this – url stem for example – for page hierarchies?

    e.g. http://www.mysite.com/section1 and anything below it (www.mysite.com/section1/page1 etc) uses one logo and http://www.mysite.com/section2 and anything below it (www.mysite.com/section2/page1 etc) uses another?

    Basically we want to use colors to differentiate sections so need different logo images for them.

    Many thanks. M

    #733596

    In reply to: customizing the header

    When looking at the header the way it is now what I need to do is add 3 more text areas to the right of the logo.

    Basically right now the header is set up with the logo is on the top left and there is a text box widget on the right. When I add additional text boxes in the header widget the text is not showing up in the header. When I add more text in the one existing text box it does not span across the header as needed.

    I need the logo on the left as it is and a total of 4 text columns or areas on the right.
    So how it currently has the logo and then phone number/free estimates – I need to add 3 additional phone number/free estimates wording in the header.

    #733583

    Vinay,

    The link is below. You need to add an item to your cart. On top there’s a button that says ‘Verder winkelen’ which is continue shopping in English. It sends you back to the product, but I would like it to go back to the shop instead. If it’s not possible, no worries!

    Kind regards

    Tom

    #733536
    fabiennedevriese
    Participant

    Hello there,

    when I open the custom_css file via ftp under the theme Enfold, the only thing I get is :

    /* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */
    /* General Custom CSS */
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */
    @media only screen and (min-width: 768px) {
    /* Add your Desktop Styles here */}
    Mobile Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */
    @media only screen and (max-width: 767px) {
    /* Add your Mobile Styles here */}

    this is not really what I was expecting. I would like to see the Enfold css file where I can find back the names/terms Enfold is using to describe something. I would like to copy a style rule from any of the css files and paste it in custom.css but I do not find the style rules of the css files. for Enfold.

    f.eg. I would like to change the background-color of one page and I have tried several things in the simple custom css :

    .body .page .page-id-38 {background-color : #cac8bc;}
    .body .projects {background-color : #cac8bc;}
    .container .projects {background-color : #cac8bc;}

    also, instead of opening a new ticket, maybe I can add my other question here :
    how do I add a font to Enfold (f.eg. the font DINBEK-Regular.ttf -> where do I upload this file ?)

    thank you for helping me out,
    Fabienne

    • This topic was modified 9 years, 2 months ago by Yigit. Reason: moved logins to private content field :)
    #733532

    Scratch the above for the newspaper image issue – I have resolved this.

    This topic can now be closed, but please do have a look at the WP Slider issue if you get a chance – it simply doesn’t work at all!

    Thanks

    Steve

    #733531

    Thanks for that – something simple that I should have picked up – sorry!

    Any suggestions for the newspaper images as above?

    Also, anything on the WP Slider not working issue? – https://kriesi.at/support/topic/layer-slider-issue-3/

    Thanks in advance!

    Steve

    #733521

    Hey web4698,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    #top #header_main > .container {
    	height: 70px!important;
        line-height: 70px!important;
    }
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 130px!important;
    }
    

    This will reduce the header size in all screens if you like to target tablets add the code inside a media query block :)

    Best regards,
    Vinay

    • This reply was modified 9 years, 2 months ago by Vinay.

    Hey!
    hey ISMAEL!!!

    But why did you do that?!
    I just erase this css code in style css
    I did it because I wanted to test if it’s the correct file server. The changes I created are not affecting the site “https://paumedeterre.fr”.

    You are wrong it affect the production website (actually and until this afternoon website is in work (hide for public).
    And you have rename for a second time the enfold file js who make disapered number under cat!!!! I redo it for second time.
    Please see in private for clear detail

    So can you fixe the “+/- button not desplay problem on all the website” before sunday?

    The quantity buttons are not displaying even before I placed the css modifications. I can’t fix it because the changes that I put into the files are not taking effect in the frontend. Is there a server cache or did you subscribe to a cdn provider?

    here you are write. It’s not because of you css modifications. This problem is THE problem because of why a opened this post.
    Another time: yes it take effet on frontend. Please see in private for clear detail

    And follow exactly this reffer:
    https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/
    Everything work find now but the buttons + and – in between the quantity field has desaepeared.
    Did you put the following code somewhere? I can’t find it in the child theme’s functions.php file.
    add_action(‘init’, function() {
    wp_dequeue_script( ‘avia-woocommerce-js’ );
    wp_enqueue_script( ‘avia-woocommerce-child-js’, get_stylesheet_directory_uri().’/js/woocommerce-mod.js’, array(‘jquery’), 2, true );
    }, 11, 1);

    Yes I did. The snippet is activated on front and backend.
    Sorry but we are a little stress because of +/- button not display

    Hi,

    I cannot see the issue in the link you provided so i’ll guess it’s because of the position relative.

    However if you like to add phone number and contact info in the header area next to main menu enable header widget area http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/

    And add the code mentioned here check https://kriesi.at/support/topic/header-32/#post-733494

    Let us know if you have any questions.

    Best regards,
    Vinay

    #733505

    Hi there!

    I want to do this, I don’t have any buttons and need to make the Fullscreen Slider clickable both on desktop and mobile.

    What should I do?

    Thanks!

    #733494

    In reply to: Header

    Hi,

    We have added the below html code to Widgets > Header

    <div class='widget-info'><a class='tel' href='tel:+44020886656666'> +44(0)20 8866 56666</a><a class='email' href= 'mailto: (Email address hidden if logged out) '>Send Email</a></div>

    And the below css to Quick CSS section under Enfold > General Styling :

    Please review the site and let us know how you like it :)

    #top .main_menu{
    margin-right:160px;
    }
    .widget-info .tel {
    display:block;
    clear:both;
    }
    #header_main .widget a {
    color:#D6011F !important;
    }
    #header_main .widget {
    clear:none!important;
    top:50%;
    transform:translateY(-50%);
    right:0;
    position:absolute;
    line-height:30px!important;
    text-align:center;
    }
    .main_menu {
        clear: none;
        position: absolute;
        z-index: 100;
        line-height: 30px;
        height: 100%;
        margin: 0;
        left: 20%;
    } 
    
    @media only screen and (max-width:989px) {
    #header_main .widget {
    right:90px;
    }}
    .widget-info .tel:before, .widget-info .email:before {
      display: inline-block;
    font-family: "dashicons"!important;
      text-decoration: none;
      speak: none;
    position:absolute;
    left: -20px;
    }
    .widget-info .email:before {
      content: "\f466";
    }
    .widget-info .tel:before {
      content: "\f525";
    }
    

    Best regards,
    Vinay

    • This reply was modified 9 years, 2 months ago by Vinay.
    #733492

    Hey Krzysztof,

    Please try the following in Quick CSS under Enfold->General Styling:

    .single-product-main-image .onsale {
        top: 40px;
    }

    Best regards,
    Rikard

    #733491
    Nathan
    Participant

    Hi

    The site I’m working on is:

    In the Enfold Theme Options>Demo Import, I have imported the: Shop Demo

    I have also installed the ShiftNav from SevenSpark (http://sevenspark.com/docs/shiftnav)

    I’m curious to learn about how to have ShiftNav be the main menu in the Shop Demo that has been imported.

    When I “click “Customize” in the WordPress toolbar at the top of the page, the options to customize the ShiftNav appear.

    When I click “ShiftNav – Toggle Bar” > “Configuration” and check the “Display Toggle Bar” box, I then click “Save and Publish”

    It says “Saved”

    Then when I click on the “X” to close out the customizing, the ShiftNav menu is NOT “Saved”?

    How can we fix this, so that ShiftNav is the primary menu in the Enfold Shop demo?

    Thank you.

    #733489

    Hi Nadea,

    Thanks for the feedback and for sharing your progress, we’ll keep the thread open for you in case you should need any further help on the topic.

    Best regards,
    Rikard

    I figure out how to align it and change the font size by using the following custom css code :

    .phone-info { font-size: 18px; }
    div.phone-info {
    position: relative;
    top: 80px;
    }

    The problem is that now there is a huge white space between the top of the page and the logo. How can I reduce it so the logo and phone number are closer to the top of the page ?

    #733477

    Hi,

    No problem, glad you got it working :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #733474
    Nathan
    Participant

    Hello,

    I have uploaded the “Shop” ENFOLD demo

    How do I remove the top blue banner and the text that says “give us a call” on the home page?

    Thank you

    #733473

    Hi,

    No problem at all, let us know if you should have any further questions on the topic or if we can close it.

    Best regards,
    Rikard

    #733471

    Hi,

    Thanks for the link. Please try the following in Quick CSS under Enfold->General Styling:

    .av-image-caption-overlay-center {
        vertical-align: top !important;
    }

    Best regards,
    Rikard

    #733456

    In reply to: Scroll disapear in IE

    Hi,

    I can’t reproduce the scroll bar issue but the sticky contact form is located below the footer on IE 8, Windows 7. Please try this css modification in the Quick CSS field:

    .avia-msie .wpcs-slide-out-div {
        line-height: 1;
        position: fixed;
        z-index: 999999999;
        height: 487px;
        top: 10%;
        right: -461px;
    }

    Or this code to completely hide it on IE.

    .avia-msie .wpcs-slide-out-div {
       display: none !important;
    }

    Best regards,
    Ismael

    #733453
    Sladestyle
    Participant

    Hi,

    I have set the height of the header background on scroll to be 75px…which it needs to be. This appears to have caused an issue when using an anchor tag and scrolling to specific sections. The section being scrolled to partially slides under the header background by around 18px.

    An example can be seen here: http://52.91.143.244/resources/ If you use the top navigation and click on any of the 3 submenu links under Resources you will see that section scrolls up a little too far. This isn’t a huge issue on this page but looking at the design files it will be an issue going forward.

    Is there anything I can do to fix this?

    Thanks,
    Slade

    #733433

    Hi,

    Where did you add the “more” (https://en.support.wordpress.com/more-tag/) tag? Please try to add the excerpt in the Excerpt metabox. If you can’t see that box, enable it by clicking Screen Options at the top right corner of the post editor.

    Best regards,
    Ismael

    #733422
    MichaelAlbany
    Participant

    I am using Enfold 3.8.4 with WordPress 4.7.1(the issue started with 4.7) on 20+ sites (I have 23 licenses) and this behavior is consistent through all that use the lightbox option. I have a test site available if we need it but the easiest place to observe the issue is here: http://www.michaelalbany.com

    Choose any gallery or just scroll down to Recent Work on the home page. Click on any image and it will popup as expected, in a lightbox. On a laptop, PC, iMac, all work perfectly. Do the same thing on an iOS based mobile device and the image disappears. When you touch the screen and scroll just a tiny bit it comes back and you can touch and drag to recenter the image. Tap the arrows for forward or back and the same behavior is repeated, image disappears and then comes back on touch & scroll.

    I have tested this on both Chrome and Safari and it is the same on both. This is only on iOS though! I have a friend with an android and that seems to work fine. I checked with a friend over 2000miles/3200km away, same behavior on her iPhone and no problems on her boyfriend’s android. This happens on both iPad and iPhones using iOS 10.2, the latest updates on browsers, OSs, Enfold, and WP.

    All are using Masonry Gallery.

    More in Private Content

    #733419

    Hi,

    The menu items are set to “buttons” so the advanced styling options are not going to take effect. Please try to modify the style in the Quick CSS field.

    #top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
        background-color: green;
        color: blue;
        border-color: red;
    }

    Adjust the values as needed.

    Best regards,
    Ismael

    Hey!

    But why did you do that?!
    I just erase this css code in style css

    I did it because I wanted to test if it’s the correct file server. The changes I created are not affecting the site “https://paumedeterre.fr&#8221;.

    So can you fixe the “+/- button not desplay problem on all the website” before sunday?

    The quantity buttons are not displaying even before I placed the css modifications. I can’t fix it because the changes that I put into the files are not taking effect in the frontend. Is there a server cache or did you subscribe to a cdn provider?

    And follow exactly this reffer:
    https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/
    Everything work find now but the buttons + and – in between the quantity field has desaepeared.

    Did you put the following code somewhere? I can’t find it in the child theme’s functions.php file.

    add_action('init', function() {
    	wp_dequeue_script( 'avia-woocommerce-js' );
    	wp_enqueue_script( 'avia-woocommerce-child-js', get_stylesheet_directory_uri().'/js/woocommerce-mod.js', array('jquery'), 2, true );
    }, 11, 1);

    Please get a fresh copy of the theme then override your installation just to make sure that none of the files are modified.

    Cheers!
    Ismael

    #733404

    Hey!

    I did the same on your site as well. Please review your website

    Regards,
    Yigit

    #733390

    Hey!

    Please refer to my post here – https://kriesi.at/support/topic/search-icon-on-mobile-devices/#post-589759

    Regards,
    Yigit

    #733374

    Hey Tony,

    Try adding this code in Quick CSS (located in Enfold > General Styling):

    #main .container_wrap_first .content {
        padding-top: 0;
    }

    Hope this helps :)

    Best regards,
    Nikko

Viewing 30 results - 85,741 through 85,770 (of 142,832 total)