Viewing 30 results - 1,111 through 1,140 (of 2,320 total)
  • Author
    Search Results
  • #773517

    Hi tdproperty,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .avia-tooltip {
        min-width: 100px;
        width: auto;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #773359
    digitalprint2222
    Participant

    Hi,
    we need to give some proper descriptions to the images in your galleries.
    Therefore we need to find a way to make your tooltips handle HTML.

    At least we need to use <br> and <ul> and <li> to get these description formated properly:

    https://drive.google.com/open?id=0BzF3a9LXV99JNW52TWlPVnRXd28

    How can this be done?

    Regards Martin

    Hi YongyanLi,

    Here is the code you can put this in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 767px) {  
    #menu-item-shop .cart_dropdown_link {
    	padding: 0 24px;
    }
    
    #menu-item-shop #menu-item-search {
    	width: 0px;
    }
    
    #menu-item-shop #menu-item-search  .avia-search-tooltip.avia-tt {
    	left: -16px !important;
    }
    #menu-item-shop {
        min-width: 110px;
    }
    }
    

    This will move the search from below the menu, but in general it’s not a good solution. Your logo is text, there is no need to have it as an image. It would be more flexible, better for SEO if you had it as text.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #773040
    RA-press17
    Participant

    Hi,
    I’d like to create a gallery and want to position the avia tooltip not above the thumbnails but in the center of the pictures.
    How could this be achieved?

    Thanks in advance and best wishes

    #772934

    Works like a charm!

    Used those css codes to fix it:

    .header_color .avia-tt {
        left: 50% !important;
    }
    .avia-search-tooltip .avia-arrow-wrap {
        left: 20px;
    }
    #772868

    In reply to: stroke searchbox

    Hi,

    Try adding this code in Quick CSS:

    #header_main .avia-search-tooltip {
        box-shadow: none !important;
    }
    
    #top #searchform>div {
        margin: 0;
    }
    
    #top #header_main #s {
        border: 1px solid #e1e1e1 !important;
    }

    Let us know if this helps :)

    Best regards,
    Nikko

    #772268

    Hi,

    Thank you for the update. Please add this code in the functions.php file:

    /**
     * Add search toggle on left sidebar header layout
     */
    add_filter( 'wp_nav_menu_items', 'avia_append_search_side_nav', 10, 2 );
    function avia_append_search_side_nav( $items, $args )
    {
    	if (is_object($args) && $args->theme_location == 'avia')
    	{
    		global $avia_config;
    		ob_start();
    		get_search_form();
    		$form =  htmlspecialchars(ob_get_clean()) ;
    
    		$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">
    						<a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
    				   </li>';
    	}
    	return $items;
    }

    You should see the search icon below the menu items. Please use the Quick CSS field to move the position of the icon.

    Best regards,
    Ismael

    #771880

    There is a critical bug in your theme.

    You have a search icon in site header with a link: <a href=”?s=” data-avia-search-tooltip=…

    “?s=” link is an issue, Google tries to follow this link and produces many Soft 404 error codes.

    Please rewrite it so there is no search parameter in href attribute.

    And actually, the original WordPress form uses <form> with input field for “s” parameter, which is a correct design.

    Hired Developer
    Guest

    Hello,

    There is a critical bug in your theme.

    You have a search icon in site header with a link: <a href=”?s=” data-avia-search-tooltip=…

    “?s=” link is an issue, Google tries to hollow this link and produces many Soft 404 error codes.

    Please rewrite it so there is no search parameter in href attribute.

    And actually, the original WordPress form uses <form> with input field for “s” parameter, which is a correct design.

    Best regards,

    #771840
    melissaek13
    Participant

    I’m trying to turn OFF the tooltips for my portfolio page thumbnails. I’ve tried using this code, but it doesn’t work:

    .avia-tooltip {
    display: none;
    }

    You can see when you hover over the thumbnails on this page, the tooltip still displays:

    #770980

    Hi Andy,
    When I checked the problem (tootip animation not working in firefox) just now, I noticed that suddenly everything works fine. My guess is, that there was a firefox update or something? Before, the tooltips where blinking uncontrollably when animation was turned on. It seems fine for now.

    #770340

    Hey snitt,

    Here is the code you can put this in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .avia-tooltip {
        min-width: 220px;
        word-wrap:break-word;
        font-size: 0.7em;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #769853
    Andre
    Guest

    Hello,
    I have two questions:
    Gallery question
    Can a gallery display text (a caption) underneath the pictures (I watched a demo video where the captions show as tooltips on hover but I want them to be visible all the time)

    Responsive grid
    Can I make the display of, for instance, a gallery grid, such that it goes from showing 6 columns on a large desktop, 4 on an iPad landscape, to 2 on an iPad portrait, to 1 on a mobile phone ?

    Thanks

    #768033
    swissfilm
    Participant

    Tooltips animate in and then disappearing again. They show if animation in turned off.
    So far i noticed this issue only in Firefox.

    • This topic was modified 8 years, 11 months ago by swissfilm.
    gugler
    Participant

    Hi,

    we are currently experiencing problems with the Google Maps content element on a clients website. With Advanced Custom Fields installed and activated there is no way of adding multiple lines in the marker tooltip textarea, nothing happens when pressing the enter key. When I deactivate the plugin everything works fine. There are no JavaScript errors whatsoever. I didn’t experience the problem in any other fields, this seems to be the only place where this happens.

    Thanks in advance for your help.

    Florian

    #765851

    hello

    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/textblock.php

    i have replace to

    function shortcode_insert_button()
    {
    $this->config[‘name’] = __(‘Text Block’, ‘avia_framework’ );
    $this->config[‘tab’] = __(‘Content Elements’, ‘avia_framework’ );
    $this->config[‘icon’] = AviaBuilder::$path[‘imagesURL’].”sc-text_block.png”;
    $this->config[‘order’] = 100;
    $this->config[‘target’] = ‘avia-target-insert’;
    $this->config[‘shortcode’] = ‘av_textblock’;
    $this->config[‘tinyMCE’] = array(‘disable’ => true);
    $this->config[‘tooltip’] = __(‘Creates a simple text block’, ‘avia_framework’ );
    // $this->config[‘preview’] = “large”;
    }

    it’s not work

    Element Preview still in there.

    #764129

    Hi,

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

    #top .avia-tooltip {
        width: 220px;
    }

    Just adjust the width as you see fit, the default it 140px. HOpe this helps.

    Best regards,
    Nikko

    #763744

    Mmmm, ok, I get that but I only use the tooltip in one place on the entire site so in theory all the styling could be there, right? That’s why I’m a bit confused because it doesn’t work there, but that’s ok, no bid deal to have an extra class :)

    #763742

    Hi,

    Because otherwise the style would apply to all instances of  

    .avia-tooltip p

    Best regards,
    Jordan Shannon

    #763736

    I’m curious as to why I need a unique class to make the text styled as I wish as opposed to just using this –

    .page-id-514 .avia-tooltip p {
    all styling in here instead
    }

    I like to understand :)

    #763419

    Hey webWahine,
    I added the following to quick css:

    .ttDescr{
    text-align:center !important;
    letter-spacing:1px;
    word-spacing:0px;
    font-weight:bold;
    font-size: 14px !important;
    }
    
    .page-id-514 .avia-tooltip p{
    text-align:center !important;
    margin:0 auto !important;
    line-height:15px;
    }

    Let me know if this is what you needed.

    Best regards,
    Jordan Shannon

    #762326

    In reply to: Social Share button

    Hey Stéphane,

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

    .avia-related-tooltip {
      display:none !important;
    }

    Best regards,
    Rikard

    #762243
    webWahine
    Participant

    Hello

    My page is below, in the private area. I have looked at lots of posts and tried the css below. I have added the class ttDescr to just the first hotspot, which is the top left. Its supposed to be centered text, not justified, and it should also have a tight line height and be bold but for some reason these are not being applied. Please advise and thanks in advance!

    .av-hotspot-container .av-image-hotspot_inner {
    	text-align: center;	
    }
    
    /* hotspot tooltip hover */
    
    .avia-tooltip .avia-arrow {
    	display: none;
    }
    
    .avia-tooltip {
    	/* dk grey */
    	background: rgba(51, 51, 51, 1) !important;
    	border: solid 1px #fff !important;
    }
    
    /* custom class to style text */
    
    .ttDescr {
    	font-size: 14px !important;
    	line-height: 14px !important;
    	color: #fff !important;
    	font-style: normal;
    	font-weight: bold;
    	text-align: center !important;	
    }
    
    #761362

    Hi,
    Ok got it fixed. Below the code. This is a quick fix and might not be the most straightforward one.

    Create a file in your child template folder/shortcodes/tabs.php

    <?php
    if ( !class_exists( 'avia_sc_tab' ) )
    {
        class avia_sc_tab extends aviaShortcodeTemplate
        {
            static $tab_id = 1;
            static $counter = 1;
            static $initial = 1;
    
            /**
             * Create the config array for the shortcode button
             */
            function shortcode_insert_button()
            {
                $this->config['name']		= __('Tabs', 'avia_framework' );
                $this->config['tab']		= __('Content Elements', 'avia_framework' );
                $this->config['icon']		= AviaBuilder::$path['imagesURL']."sc-tabs.png";
                $this->config['order']		= 75;
                $this->config['target']		= 'avia-target-insert';
                $this->config['shortcode'] 	= 'av_tab_container';
                $this->config['shortcode_nested'] = array('av_tab');
                $this->config['tooltip'] 	= __('Creates a tabbed content area', 'avia_framework' );
            }
    
            function extra_assets()
            {
                if(is_admin())
                {
                    $ver = AviaBuilder::VERSION;
                    wp_enqueue_script('avia_tab_toggle_js' , AviaBuilder::$path['assetsURL'].'js/avia-tab-toggle.js' , array('avia_modal_js'), $ver, TRUE );
                }
            }
    
            /**
             * Popup Elements
             *
             * If this function is defined in a child class the element automatically gets an edit button, that, when pressed
             * opens a modal window that allows to edit the element properties
             *
             * @return void
             */
            function popup_elements()
            {
                $this->elements = array(
    
                    array(
                        "name" 	=> __("Tab Position", 'avia_framework' ),
                        "desc" 	=> __("Where should the tabs be displayed", 'avia_framework' ),
                        "id" 	=> "position",
                        "type" 	=> "select",
                        "std" 	=> "top_tab",
                        'container_class' =>"avia-element-fullwidth",
                        "target"  => array('#aviaTBcontent-form-container', 'class'),
                        "subtype" => array( __('Display tabs at the top', 'avia_framework' ) =>'top_tab',
                            __("Display Tabs on the left", 'avia_framework' ) => 'sidebar_tab sidebar_tab_left',
                            __("Display Tabs on the right", 'avia_framework' ) => 'sidebar_tab sidebar_tab_right')
                    ),
    
                    array(
                        "name" 	=> __("Boxed Tabs", 'avia_framework' ),
                        "desc" 	=> __("Do you want to display a border around your tabs or without border", 'avia_framework' ),
                        "id" 	=> "boxed",
                        "type" 	=> "select",
                        "std" 	=> "no",
                        "required" => array('position','contains','sidebar_tab'),
                        "subtype" => array(
                            __('With border',  'avia_framework' ) =>'border_tabs',
                            __('Without border',  'avia_framework' ) =>'noborder_tabs')),
    
                    array(
                        "name" => __("Add/Edit Tabs", 'avia_framework' ),
                        "desc" => __("Here you can add, remove and edit the Tabs you want to display.", 'avia_framework' ),
                        "type" 			=> "modal_group",
                        "id" 			=> "content",
                        'container_class' =>"avia-element-fullwidth avia-tab-container",
                        "modal_title" 	=> __("Edit Form Element", 'avia_framework' ),
                        "std"			=> array(
    
                            array('title'=>__('Tab 1', 'avia_framework' )),
                            array('title'=>__('Tab 2', 'avia_framework' )),
    
                        ),
    
                        'subelements' 	=> array(
    
                            array(
                                "name" 	=> __("Tab Title", 'avia_framework' ),
                                "desc" 	=> __("Enter the tab title here (Better keep it short)", 'avia_framework' ) ,
                                "id" 	=> "title",
                                "std" 	=> "Tab Title",
                                "type" 	=> "input"),
    
    						array(
                                "name" 	=> __("Tab Symbol", 'avia_framework' ),
                                "desc" 	=> __("Should an icon or image be displayed at the top of the tab title?", 'avia_framework' ),
                                "id" 	=> "icon_select",
                                "type" 	=> "select",
                                "std" 	=> "no",
                                "subtype" => array(
                                    __('No icon or image',  'avia_framework' ) =>'no',
                                    __('Display icon',  'avia_framework' ) =>'icon_top',
                                    __('Display image',  'avia_framework' ) =>'image_top')),
    
                            array(
                                "name" 	=> __("Tab Icon",'avia_framework' ),
                                "desc" 	=> __("Select an icon for your tab title below",'avia_framework' ),
                                "id" 	=> "icon",
                                "type" 	=> "iconfont",
                                "std" 	=> "",
                                "required" => array('icon_select','equals','icon_top')
                            ),
                            
                            array(
    									"name" 	=> __("Tab Image",'avia_framework' ),
    									"desc" 	=> __("Either upload a new, or choose an existing image from your media library",'avia_framework' ),
    									"id" 	=> "tab_image",
    									"type" 	=> "image",
    									"fetch" => "id",
    									"secondary_img" => true,
    									"force_id_fetch"=> true,
    									"title" =>  __("Insert Image",'avia_framework' ),
    									"button" => __("Insert",'avia_framework' ),
    									"required" => array('icon_select','equals','image_top'),
    									"std" 	=> ""),
    					
    						
    						array(
                                "name" 	=> __("Tab Image Style", 'avia_framework' ),
                                "id" 	=> "tab_image_style",
                                "type" 	=> "select",
                                "std" 	=> "",
    							"required" => array('icon_select','equals','image_top'),
                                "subtype" => array(
                                    __('No special style',  'avia_framework' ) =>'',
                                    __('Rounded Borders',  'avia_framework' ) =>'av-tab-image-rounded',
                                    __('Circle',  'avia_framework' ) =>'av-tab-image-circle',
                                   )),
    						
    						
    					array(
    							"type" 	=> "close_div",
    							'nodescription' => true
    						), 
    
                            array(
                                "name" 	=> __("Tab Content", 'avia_framework' ),
                                "desc" 	=> __("Enter some content here", 'avia_framework' ) ,
                                "id" 	=> "content",
                                "type" 	=> "tiny_mce",
                                "std" 	=> __("Tab Content goes here", 'avia_framework' ),
                            ),
    
                        )
                    ),
    
                    array(
                        "name" 	=> __("Initial Open", 'avia_framework' ),
                        "desc" 	=> __("Enter the Number of the Tab that should be open initially.", 'avia_framework' ),
                        "id" 	=> "initial",
                        "std" 	=> "1",
                        "type" 	=> "input"),
    
                );
    
                if(current_theme_supports('avia_template_builder_custom_tab_toogle_id'))
                {
                    $this->elements[2]['subelements'][] = array(
                        "name" 	=> __("For Developers: Custom Tab ID",'avia_framework' ),
                        "desc" 	=> __("Insert a custom ID for the element here. Make sure to only use allowed characters.",'avia_framework' ),
                        "id" 	=> "custom_id",
                        "type" 	=> "input",
                        "std" 	=> "");
                }
    
            }
    
            /**
             * Editor Sub Element - this function defines the visual appearance of an element that is displayed within a modal window and on click opens its own modal window
             * Works in the same way as Editor Element
             * @param array $params this array holds the default values for $content and $args.
             * @return $params the return array usually holds an innerHtml key that holds item specific markup.
             */
            function editor_sub_element($params)
            {
                $template = $this->update_template("title", "{{title}}");
                $content  = $this->update_template("content", "{{content}}");
    
    			extract(av_backend_icon($params)); // creates $font and $display_char if the icon was passed as param "icon" and the font as "font" 
                
    			
                $params['innerHtml']  = "";
                $params['innerHtml'] .= "<div class='avia_title_container'>";
                /*$params['innerHtml'] .= "	<span ".$this->class_by_arguments('icon_select' ,$params['args']).">";
    			$params['innerHtml'] .= "		<span ".$this->class_by_arguments('font' ,$font).">";
                $params['innerHtml'] .= "			<span data-update_with='icon_fakeArg' class='avia_tab_icon' >{$display_char}</span>";
                $params['innerHtml'] .= "		</span>";
                $params['innerHtml'] .= "	</span>";*/
                $params['innerHtml'] .= "	<span class='avia_title_container_inner' {$template} >".$params['args']['title']."</span>";
                $params['innerHtml'] .= "</div>";
    
                $params['innerHtml'] .= "<div class='avia_content_container' {$content}>".stripcslashes( $params['content'] )."</div>";
    
                return $params;
            }
    
            /**
             * Frontend Shortcode Handler
             *
             * @param array $atts array of attributes
             * @param string $content text within enclosing form of shortcode element
             * @param string $shortcodename the shortcode found, when == callback name
             * @return string $output returns the modified html string
             */
            function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "")
            {
                $atts =  shortcode_atts(array('initial' => '1', 'position' => 'top_tab', 'boxed'=>'border_tabs'), $atts, $this->config['shortcode']);
                extract($atts);
    
                $boxed   = $position != "top_tab" ? $boxed : "";
                $output  = '<div class="tabcontainer  '.$position.' '.$boxed.' '.$meta['el_class'].'">'."\n";
                $counter = 1;
    
                avia_sc_tab::$counter = 1;
                avia_sc_tab::$initial = $initial;
    
                $output .= ShortcodeHelper::avia_remove_autop($content, true);
    
                $output .= '</div>'."\n";
    
                return $output;
            }
    
            function av_tab($atts, $content = "", $shortcodename = "")
            {
                
                $output = $titleClass  = $contentClass = $icon = "";
                $tab_atts = shortcode_atts(array('title' => '', 'icon_select'=>'no', 'icon' =>"", 'custom_id' =>'', 'font' =>'', 'custom_markup' => '','tab_image' =>"",'tab_image_style' =>""), $atts, 'av_tab');
                
    				$display_char 	= av_icon($tab_atts['icon'], $tab_atts['font']);
    				$icon			= "";
    				$image 			= "";
    
                if(is_numeric(avia_sc_tab::$initial) && avia_sc_tab::$counter == avia_sc_tab::$initial)
                {
                    $titleClass   = "active_tab";
                    $contentClass = "active_tab_content";
                }
    
                if(empty($tab_atts['title']))
                {
                    $tab_atts['title'] = avia_sc_toggle::$counter;
                }
    
                /*if($tab_atts['icon_select'] == "yes")
                {
                    $icon = "<span class='tab_icon' {$display_char}></span>";
                }*/
    			if($tab_atts['icon_select'] == "icon_top")
    	            {
    	                //avia_sc_tab_section::$tab_icons[ avia_sc_tab_section::$tab ] = "<span class='av-tab-section-icon' {$display_char}></span>";
    	            $myccicon ="<span class='av-tab-section-icon maxwwicon' {$display_char}></span>";
    				}
    	            
    	            if($tab_atts['icon_select'] == "image_top")
    	            {
    	            	if(!empty($tab_atts['tab_image']))
    	            	{
    	            		$src = wp_get_attachment_image_src($tab_atts['tab_image'], 'square');
    	            		
    	            		if(!empty($src[0])){
    	            	    	$myccimage = "<img class='av-tab-section-image' src='".$src[0]."' alt='' title='' />";
    						}
    					}
    				}
    
                if(empty($tab_atts['custom_id']))
                {
                    $tab_atts['custom_id'] = 'tab-id-'.avia_sc_tab::$tab_id++;
                }
    
                $markup_tab = avia_markup_helper(array('context' => 'entry','echo'=>false, 'custom_markup'=>$tab_atts['custom_markup']));
                $markup_title = avia_markup_helper(array('context' => 'entry_title','echo'=>false, 'custom_markup'=>$tab_atts['custom_markup']));
                $markup_text = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'custom_markup'=>$tab_atts['custom_markup']));
    
                $output .= '<section class="av_tab_section" '.$markup_tab.'>';
                $output .= '    <div data-fake-id="#'.$tab_atts['custom_id'].'" class="tab '.$titleClass.'" '.$markup_title.'>'.$myccimage.$myccicon.$tab_atts['title'].'</div>'."\n";
                $output .= '    <div id="'.$tab_atts['custom_id'].'-container" class="tab_content '.$contentClass.'">'."\n";
                $output .= '        <div class="tab_inner_content invers-color" '.$markup_text.'>'."\n";
    			$output .= ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($content))."\n";
                $output .= '        </div>'."\n";
                $output .= '    </div>'."\n";
                $output .= '</section>'."\n";
    
                avia_sc_tab::$counter ++;
    
                return $output;
            }
    	}
    }
    ?>

    Then call this file in your child functions.php

    add_filter( 'avia_load_shortcodes', 'mmx_modify_shortcodes', 15, 1 );
    function mmx_modify_shortcodes( $paths ){
    	$template_url = get_stylesheet_directory();
    	array_unshift( $paths, $template_url.'/shortcodes/');
    	return $paths;
    }
    

    Any remarks or tips are welcome.
    Thanks

    #759983

    Hi royaltask,

    get_stylesheet_directory_uri() will give you the css folder in child theme and if it is not your intended folder, you should use get_template_directory_uri() instead.

    function wp_change_avia-tooltip() {
        wp_dequeue_script( ‘avia-tooltip’ );
        wp_enqueue_script( ‘avia-tooltip-child’, get_template_directory_uri().’/js/avia-tooltip.js’, array(‘jquery’), 2, true );
    }
    add_action( ‘wp_print_scripts’, ‘wp_change_avia-tooltip’, 100 );

    Let me know if this helps.

    Best regards,
    Victoria

    • This reply was modified 8 years, 11 months ago by Victoria.
    #758033

    Is this code correct. I want to place avia-tooltip.js in my child theme folder /js/avia-tooltip.js

    function wp_change_avia-tooltip() {
       wp_dequeue_script( 'avia-tooltip' );
       wp_enqueue_script( 'avia-tooltip-child', get_stylesheet_directory_uri().'/js/avia-tooltip.js', array('jquery'), 2, true );
    }
    add_action( 'wp_print_scripts', 'wp_change_avia-tooltip', 100 );
    #757349

    In reply to: SEO optimizations

    Hey jorlafer,

    You should be able to find it in wp-content\themes\enfold\functions-enfold.php line 284:

    <a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>

    However this is used by wordpress when searching.

    As for pagination you can find it in wp-content\themes\enfold\framework\php\function-set-avia-frontend.php, previous (line 854):

    $output .= ($paged > 1 && $showitems < $pages)? "<a href='".$method($prev)."'>‹</a>":"";

    and next (line 865):

    $output .= ($paged < $pages && $showitems < $pages) ? "<a href='".$method($next)."'>›</a>" :"";

    Hope this helps.

    Best regards,
    Nikko

    #756840

    My goal is to make a the clicked avia-tooltip permanent visible.

    #756542
    royaltask
    Participant

    I am using avia-tooltips for the hotspots. I know how to trigger a javascript function if clicking on a hotspot. I do not know how to make the clicked one avia-tooltip permanent visible with javascript and CSS. I am thankful for your help.

    • This topic was modified 8 years, 11 months ago by royaltask.
    #756533

    Is it possible to add this changes in my child theme? Where to place avia-tooltip.js in child theme?

Viewing 30 results - 1,111 through 1,140 (of 2,320 total)