Viewing 30 results - 991 through 1,020 (of 2,320 total)
  • Author
    Search Results
  • #869575
    tonydobrevski
    Participant

    Hi,

    I am using an image with hotspots and I also have tooltips. How can I make the tooltip remain visible after I hovered with the mouse over the hotspot and then move the mouse to the tooltip (so that the user can copy information from the tooltip for example). And after removing the mouse from the tooltip, the tooltip should hide again. Is this possible?

    Thank you in advance!
    Best,
    Anton

    #869218

    Hmm I actually didn’t know about that field. However I am not talking about an excerpt, I would just like fill posts to appear in a single view. Is this not possible if I am sing the layout builder?

    Excerpts are something, but I cannot recreate the entire blog post in excerpts can I? That doesn’t seem right.

    Example: http://agreeordie.com/blog/
    When making my blog page I am using the widget called Blog Posts with the “Blog Content Length” set to “Full Content.” The tooltip says “Blog Content length Should the full entry be displayed or just a small excerpt?” I am specifically selecting full entry.

    #868535

    Hi,

    Try using this css code instead:

    #top > .avia-tooltip, 
    #top > .avia-tooltip .avia-arrow {
        background-color: #189e00;
    }

    just make sure > isn’t changed to &_gt_; (without the _). Hope this helps :)

    Best regards,
    Nikko

    #868225
    This reply has been marked as private.
    #868221

    Hi,

    Apologies, I’m not seeing the other tooltips as black. The ones further down on the same page are being viewed as white. Let me know if this is still causing an issue for you.

    Best regards,
    Jordan Shannon

    #868021
    This reply has been marked as private.
    #867641

    Thank you, but sadly that changed the background for all the tooltips in the site. The rest of the site and further down the homepage had white backgrounds for tool tips, but just the one on the initial lading page slider image was black, and its just that one black one I want to change. without changing the background on all the white one s on the rest of the site.

    #867530

    Hey katielherpiniere,

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

    #top .avia-tooltip, 
    .avia-tooltip .avia-arrow {
        background-color: blue;
    }

    Just change the color. Hope this helps :)

    Best regards,
    Nikko

    #867510
    katielherpiniere
    Participant

    Hello,

    I can’t seem to find where I change the background colour of the landing page tooltip “Watch our promo Video” on Enfold-Startup template from black to another colour?

    #866264

    In reply to: Sidebar Settings

    Hi Lena,

    I am seeing the tooltip text on hover, is this what you needed or do you need a different solution?

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

    #864634

    Hey bobfurgo,

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

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

    Best regards,
    Rikard

    #864622

    In reply to: Breaks in Tooltips

    Hey seykom,

    Just add this custom CSS code at Enfold Theme Options > General Styling > Quick CSS

    
    .avia-tooltip strong {
    display: block !important;
    }
    

    Best regards,
    John Torvik

    #863849

    Topic: Breaks in Tooltips

    in forum Enfold
    seykom
    Participant

    Hi,

    the text in my tooltips breaks very unhandsome. I already tried via <br>, but that didn´t work. So what can I do?

    #863846

    Topic: Fixing tooltips

    in forum Enfold
    seykom
    Participant

    Hi,

    I put hotspots on a map with adresses of several offices of a company.
    I activated mouseover to show them. But I would also give people the chance to copy the adresses from the tooltips – but that´s impossible because of mouseover.

    So how can I enable people copy the adresses from the tooltips but keeping mouseover effect?

    Thanks!

    #863811
    maryenvato
    Participant

    Hi,
    in my website, i have a problem with duplicated content that ending wirh “/?s=”.

    Seems a problem generated from search query, but i don’t know how to fix it: <a href="?s=" data-avia-search-tooltip="
    Can you help me please?

    Looking forward hearing from you.
    Best regards
    M.

    #862532

    Hi team,
    i found myselve the solution:
    1 .Just copy below mentioned code and paste it in a new file :

    <?php
    /**
    * Product quantity inputs
    *
    * @author WooThemes
    * @package WooCommerce/Templates
    * @version 2.4.7
    */

    if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly

    global $product;

    $defaults = array(
    ‘max_value’ => apply_filters( ‘woocommerce_quantity_input_max’, ”, $product ),
    ‘min_value’ => apply_filters( ‘woocommerce_quantity_input_min’, ”, $product ),
    ‘step’ => apply_filters( ‘woocommerce_quantity_input_step’, ‘1’, $product ),
    );

    if ( ! empty( $defaults[‘min_value’] ) )
    $min = $defaults[‘min_value’];
    else $min = 1;

    if ( ! empty( $defaults[‘max_value’] ) )
    $max = $defaults[‘max_value’];
    else $max = 10;

    if ( ! empty( $defaults[‘step’] ) )
    $step = $defaults[‘step’];
    else $step = 1;

    ?>
    <div class=”quantity_select”>
    <select name=”<?php echo esc_attr( $input_name ); ?>” title=”<?php _ex( ‘Qty’, ‘Product quantity input tooltip’, ‘woocommerce’ ) ?>” class=”qty”>
    <?php
    for ( $count = $min; $count <= $max; $count = $count+$step ) {
    if ( $count == $input_value )
    $selected = ‘ selected’;
    else $selected = ”;
    echo ‘<option value=”‘ . $count . ‘”‘ . $selected . ‘>’ . $count . ‘</option>’;
    }
    ?>
    </select>
    </div>

    2. Save that file and name it “quantity-input.php”

    3. Paste this file in your woocommerce folder “yourthemefolder/woocommerce/global/quantity-input.php”

    4. Its done.

    Works great! ;-)

    Alexander

    • This reply was modified 8 years, 4 months ago by alexandernoe.
    #862499
    leplusweb
    Participant

    Hello,

    on the Google Maps shortcode, there is a way to close the last (or all open) tooltip ? So that there is only one tooltip open at a time.

    I think there’s a JQuery code to do this ?

    Thx for your help.

    Regards

    #858169

    Hi,

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

    .avia-search-tooltip {
        opacity: 1!important;
    }
    

    That seems like a plugin conflict

    Best regards,
    Yigit

    #856319

    In reply to: Text on hover

    Hi,

    Thank you for the update.

    Just add the “data-avia-icon-tooltip” to the image. Example:

    <img src="IMAGE URL HERE" data-avia-icon-tooltip="This is the Caption" >
    

    Best regards,
    Ismael

    #852790

    Hi,

    If you want to append the search icon on every menu groups, please add this filter in the functions.php file.

    add_action( 'after_setup_theme', 'after_setup_theme_append_search', 100 );
    function after_setup_theme_append_search() {
    	remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    	remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    	add_filter( 'wp_nav_menu_items', 'avia_append_search_nav_mod', 9997, 2 );
    	add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav_mod', 9997, 2 );
    }
    
    function avia_append_search_nav_mod( $items, $args )
    {
    	if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
    	if(avia_get_option('header_position',  'header_top') != "header_top") return $items;
    
    	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 menu-item-avia-special">
    			<a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
    				 </li>';
    
    	return $items;
    }

    Best regards,
    Ismael

    I am experiencing the same, or similar problem, with the Avia page builder in Enfold.

    WordPress version 4.8.1
    Enfold version 4.1.2
    PHP version 7.0

    Symptom:
    Open existing web page that contains existing text boxes. The webpage looks fine initially when viewed live or in preview mode. Try to edit the text block in Enfold Advanced Layout Editor and nothing shows up in the edit box or in the new preview panel to the right. Editing the same using the default editor also shows nothing (i.e. no text or html is visible). Note that I can create a new text box on the same problem webpage, then save it, then edit it as expected — that works fine. It seems to be something related to saving the webpage and then revisiting it to edit it a day or more later. The problem occurs only on some of the text boxes on the page. These are “normal” text boxes, no links or fancy formatting.

    Attempts at fixing this:
    I deactivated all my plugins and the problem remains.
    Reloaded the page and problem remains.
    Flushed browser cache (Shift + refresh in Chrome) and problem remains.
    Tried different versions of PHP, problem remains…
    Contacted my hosting service and they see no access restrictions or problems on their end of things…

    Read many posts on the Kries support forums about the same problem, occurring for what seems like many years, and implemented suggested fixes, …, problem remains…

    The stack trace is:
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:4 POST https://inlightofnature.com/wp-admin/admin-ajax.php 403 (Forbidden)
    send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:4
    ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:4
    fetch_ajax_content @ avia-modal.js?ver=0.9.5:165
    create_html @ avia-modal.js?ver=0.9.5:146
    set_up @ avia-modal.js?ver=0.9.5:46
    $.AviaModal @ avia-modal.js?ver=0.9.5:35
    (anonymous) @ avia-builder.js?ver=0.9.5:254
    dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:3
    r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:3

    Added the code top functions.php child and now every menu item open in a new window.

    This is what it looks like with the added code.
    —–

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(‘span.mega_menu_title a ‘).attr(‘target’,’_blank’);
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_custom_tooltip’);

    }
    ?>

    #843189
    shreinmedia
    Participant

    I have two websites where I’d like to hide the tooltip across the entire site.

    http://missionchurch.wpengine.com/about/ (hosted on WPengine) (image element)
    http://www.bluefoxbranding.com/case-studies/agape-co/ (masonry gallery)

    I have used:

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

    But that hasn’t worked… as you can see.

    Anything additional that I can do?

    The tooltip is showing up in Mac Chrome & Mac Safari

    #842215

    Hi,

    I added the following to functions.php:

    function remove_custom_tooltip(){
    ?>
    <script>
    /* The first line waits until the page has finished to load and is ready to manipulate */
    jQuery(document).ready(function(){
        /* remove the 'title' attribute of all <img /> tags */
        jQuery("img").removeAttr("data-avia-tooltip");
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_custom_tooltip');

    It works, please test.

    Best regards,
    Jordan Shannon

    #841771

    I now added the following code and it looks good:

    .av-share-box {
    margin-bottom: 20px;
    }

    Hopefully this is the right code.

    By the way: is there any possibility to change the English text in the tooltip of the share buttons?

    Hi comcept-bks,

    I was able to login today.
    Here is the code you can put in your funtions.php

    
    add_action('wp_footer', 'ava_new_custom_script');
    function ava_new_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$(window).load(function() {
    		jQuery(".slide-entry.av_one_seventh").each(function() {
    			var el = jQuery(this);
    			el.append("<span class='custom-caption'>" + el.attr("data-avia-tooltip") + "</span>");
                            el.attr("data-avia-tooltip", "");
    		});
    	});
    })(jQuery);
    </script>
    <?php
    }
    

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

    
    .custom-caption {
       width: 100%;
        color: #000;
        font-size: 16px;
        text-transform: uppercase;
        text-align: center;
        display: inline-block;
    }
    

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

    #840493

    Hi,

    Please add this to functions.php

    // remove tooltip
    add_action('wp_footer', 'ava_remove_tooltip');
    function ava_remove_tooltip(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('#top #wrap_all .avia-gallery .avia-gallery-thumb a img').each(function() {
    		$(this).removeAttr('data-avia-tooltip');
    	});
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Jordan Shannon

    #840004
    JenToronto
    Participant

    I’ve got a custom element in the Avia Layout Builder that I’m needing to add link text to.
    Meaning that every time a link is added, I’d like “Know More” text to display under the description.
    Can anyone give me a hand?
    Thanks!!
    The current code for the custom block is:

    <?php
    
    /**
     * Slider
     * Shortcode that allows to slide some content
     */
    if (!class_exists('avia_sc_offerings_blocks')) {
    
        class avia_sc_offerings_blocks extends aviaShortcodeTemplate {
    
            /**
             * Create the config array for the shortcode button
             */
            function shortcode_insert_button() {
                $this->config['name'] = __('Offerings Block', 'avia_framework');
                $this->config['tab'] = __('Custom Blocks', 'avia_framework');
                $this->config['icon'] = AviaBuilder::$path['imagesURL'] . "sc-contentslider.png";
                $this->config['order'] = 83;
                $this->config['target'] = 'avia-target-insert';
                $this->config['shortcode'] = 'av_offerings_block';
                $this->config['shortcode_nested'] = array('avia_offerings_block');
                $this->config['tooltip'] = __('Display a content slider element', 'avia_framework');
            }
    
            /**
             * 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(
                        "type" => "tab_container", 'nodescription' => true
                    ),
                    array(
                        "type" => "tab",
                        "name" => __("Content", 'avia_framework'),
                        'nodescription' => true
                    ),
                    array(
                        "name" => __("Add/Edit Blocks", 'avia_framework'),
                        "desc" => __("Here you can add, remove and edit the blocks you want to display.", 'avia_framework'),
                        "type" => "modal_group",
                        "id" => "content",
                        "modal_title" => __("Edit Form Element", 'avia_framework'),
                        "std" => array(
                            array('title' => __('Block 1', 'avia_framework'), 'tags' => '')
                        ),
                        'subelements' => array(
                            array(
                                "name" => __("Block Title", 'avia_framework'),
                                "desc" => __("Enter the block title here (Better keep it short)", 'avia_framework'),
                                "id" => "title",
                                "std" => "Block Title",
                                "type" => "input"),
                            array(
                                "name" => __("Title Link?", 'avia_framework'),
                                "desc" => __("Where should your title link to?", 'avia_framework'),
                                "id" => "link",
                                "type" => "linkpicker",
                                "fetchTMPL" => true,
                                "std" => "",
                                "subtype" => array(
                                    __('No Link', 'avia_framework') => '',
                                    __('Set Manually', 'avia_framework') => 'manually',
                                    __('Single Entry', 'avia_framework') => 'single',
                                    __('Taxonomy Overview Page', 'avia_framework') => 'taxonomy',
                                ),
                                "std" => ""),
                            array(
                                "name" => __("Open in new window", 'avia_framework'),
                                "desc" => __("Do you want to open the link in a new window", 'avia_framework'),
                                "id" => "linktarget",
                                "required" => array('link', 'not', ''),
                                "type" => "select",
                                "std" => "",
                                "subtype" => AviaHtmlHelper::linking_options()),
                            array(
                                "name" 	=> __("Description",'avia_framework' ),
                                "desc" 	=> __("Enter description",'avia_framework' ),
                                "id" 	=> "content",
                                "type" 	=> "textarea",
                                "std" 	=> ""
                                ),
                            array(
                                "name" => __("Choose Image", 'avia_framework'),
                                "desc" => __("Either upload a new, or choose an existing image from your media library", 'avia_framework'),
                                "id" => "src",
                                "type" => "image",
                                "title" => __("Insert Image", 'avia_framework'),
                                "button" => __("Insert", 'avia_framework'),
                                "std" => AviaBuilder::$path['imagesURL'] . "placeholder.jpg"),
                        )
                    ),
                    array(
                        "name" => __("Heading", 'avia_framework'),
                        "desc" => __("Do you want to display a heading above the images?", 'avia_framework'),
                        "id" => "heading",
                        "type" => "input",
                        "std" => "",
                    ),
                    array(
                        "name" => __("CSS ID", 'avia_framework'),
                        "desc" => __("Custom ID for the block container", 'avia_framework'),
                        "id" => "css_id",
                        "type" => "input",
                        "std" => "",
                    ),
                    array(
                        "name" => __("CSS Class", 'avia_framework'),
                        "desc" => __("Custom Class for the block container", 'avia_framework'),
                        "id" => "css_class",
                        "type" => "input",
                        "std" => "",
                    ),
                    array(
                        "type" => "close_div",
                        'nodescription' => true
                    ),
                    array(
                        "type" => "tab",
                        "name" => __("Colors", 'avia_framework'),
                        'nodescription' => true
                    ),
                    array(
                        "name" => __("Font Colors", 'avia_framework'),
                        "desc" => __("Either use the themes default colors or apply some custom ones", 'avia_framework'),
                        "id" => "font_color",
                        "type" => "select",
                        "std" => "",
                        "subtype" => array(__('Default', 'avia_framework') => '',
                            __('Define Custom Colors', 'avia_framework') => 'custom'),
                    ),
                    array(
                        "name" => __("Custom Font Color", 'avia_framework'),
                        "desc" => __("Select a custom font color. Leave empty to use the default", 'avia_framework'),
                        "id" => "color",
                        "type" => "colorpicker",
                        "std" => "",
                        "container_class" => 'av_half av_half_first',
                        "required" => array('font_color', 'equals', 'custom')
                    ),
                    array(
                        "type" => "close_div",
                        'nodescription' => true
                    ),
                    array(
                        "type" => "close_div",
                        'nodescription' => true
                    ),
                );
            }
    
            /**
             * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas
             * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container
             * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className
             *
             *
             * @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_element($params) {
                $heading = "";
                $template = $this->update_template("heading", " - <strong>{{heading}}</strong>");
                if (!empty($params['args']['heading']))
                    $heading = "- <strong>" . $params['args']['heading'] . "</strong>";
    
                $params['innerHtml'] = "<img src='" . $this->config['icon'] . "' title='" . $this->config['name'] . "' />";
                $params['innerHtml'].= "<div class='avia-element-label'>" . $this->config['name'] . "</div>";
                $params['innerHtml'].= "<div class='avia-element-label' {$template}>" . $heading . "</div>";
                return $params;
            }
    
            /**
             * 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}}");
    
                $params['innerHtml'] = "";
                $params['innerHtml'] .= "<div class='avia_title_container' {$template}>" . $params['args']['title'] . "</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(
                    'type' => 'slider',
                    'autoplay' => 'false',
                    'animation' => 'fade',
                    'interval' => 5,
                    'navigation' => 'arrows',
                    'heading' => '',
                    'columns' => 3,
                    "css_id" => "",
                    "css_class" => "",
                    'handle' => $shortcodename,
                    'content' => ShortcodeHelper::shortcode2array($content, 1),
                    'class' => $meta['el_class'],
                    'custom_markup' => $meta['custom_markup'],
                    'font_color' => '',
                    'color' => '',
                    'styling' => ''
                        ), $atts, $this->config['shortcode']);
    
                if ($atts['font_color'] == "custom") {
                    $atts['class'] .= " av_inherit_color";
                    $atts['styling'] .=!empty($atts['color']) ? " color:" . $atts['color'] . "; " : "";
                    if ($atts['styling'])
                        $atts['styling'] = " style='" . $atts['styling'] . "'";
                }
    
                $slider = new avia_offerings_block($atts);
                return $slider->html();
            }
    
        }
    
    }
    
    if (!class_exists('avia_offerings_block')) {
    
        class avia_offerings_block {
    
            static $slider = 0;     //slider count for the current page
            protected $config;      //base config set on initialization
    
            function __construct($config) {
                global $avia_config;
                $output = "";
    
                $this->config = array_merge(array(
                    'type' => 'grid',
                    'autoplay' => 'false',
                    'animation' => 'fade',
                    'handle' => '',
                    'heading' => '',
                    'navigation' => 'arrows',
                    'columns' => 3,
                    'interval' => 5,
                    'class' => "",
                    'custom_markup' => "",
                    'css_id' => "",
                    'css_class' => "",
                    'content' => array(),
                    'styling' => ""
                        ), $config);
            }
    
            public function html() {
                $output = "";
                $counter = 0;
                avia_offerings_block::$slider++;
                if (empty($this->config['content']))
                    return $output;
    
                //$html .= empty($this->subslides) ? $this->default_slide() : $this->advanced_slide();
    
                extract($this->config);
    
                $columns = 3;
                $extraClass = 'first';
                $slide_loop_count = 1;
                $loop_counter = 1;
                $total = $columns % 2 ? "odd" : "even";
                $heading = !empty($this->config['heading']) ? '<h2>' . $this->config['heading'] . '</h2>' : "&nbsp;";
                $slide_count = count($content);
                $grid = 'av_one_fifth';
    
                $data = AviaHelper::create_data_string(array('autoplay' => $autoplay, 'interval' => $interval, 'animation' => $animation, 'show_slide_delay' => 30));
    
                $id = 'id="'.$css_id.'"';
                $thumb_fallback = "";
                $output .= "<div  {$id} class='{$css_class} col-centered offerings custom-block' {$styling}>";
    
                $heading_class = '';
                if ($navigation == 'no')
                    $heading_class .= ' no-content-slider-navigation ';
                if ($heading == '&nbsp;')
                    $heading_class .= ' no-content-slider-heading ';
    
                $output .= "<div class='avia-smallarrow-slider-heading $heading_class'>";
                $output .= "<div class='new-special-heading'>" . $heading . "</div>";
                $output .= "</div>";
    
                $output .= "<div class='avia-content-slider-inner'>";
    
                foreach ($content as $key => $value) {
                    $link = $linktarget = "";
    
                    extract($value['attr']);
    
                    $link = aviaHelper::get_url($link);
                    $blank = (strpos($linktarget, '_blank') !== false || $linktarget == 'yes') ? ' target="_blank" ' : "";
                    $blank .= strpos($linktarget, 'nofollow') !== false ? ' rel="nofollow" ' : "";
    
                    $parity = $loop_counter % 2 ? 'odd' : 'even';
                    $last = $slide_count == $slide_loop_count ? " post-entry-last " : "";
                    $post_class = "post-entry slide-entry-overview slide-loop-{$slide_loop_count} slide-parity-{$parity} {$last}";
    
                    if ($loop_counter == 1)
                        $output .= "<div class='block-entry-wrap col-centered'>";
    
                    $markup = avia_markup_helper(array('context' => 'entry', 'echo' => false, 'custom_markup' => $custom_markup));
                    $output .= "<section class='flex_column av_one_third col-centered {$post_class} {$grid} {$extraClass}' $markup>";
    
                    $markup = avia_markup_helper(array('context' => 'entry_title', 'echo' => false, 'custom_markup' => $custom_markup));
                    if(!empty($src)){
                        $img = "<img src='".$src."' alt='" . esc_attr($title) . "'  />";
                    } else {
                        $img = "<img src='".AviaBuilder::$path['imagesURL'] . "placeholder.jpg"."' alt='" . esc_attr($title) . "'  />";
                    }
                    if(!empty($link)){
                        $output .= "<a href='{$link}' $blank title='" . esc_attr($title) . "'>"."<div class='avia_image_container'>{$img}</div>"."</a>";
                    } else {
                        $output .= "<div class='avia_image_container'>{$img}</div>";
                    }
                    $output .=!empty($title) ? "<h3 class='slide-entry-title entry-title' $markup>" : '';
                    $output .= (!empty($link) && !empty($title)) ? "<a href='{$link}' $blank title='" . esc_attr($title) . "'>" . $title . "</a>" : $title;
                    $output .=!empty($title) ? '</h3>' : '';
    
                    $markup = avia_markup_helper(array('context' => 'entry_content', 'echo' => false, 'custom_markup' => $custom_markup));
                    $output .=!empty($value['content']) ? "<div class='slide-entry-excerpt entry-content' $markup>" . ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($value['content'])) . "</div>" : "";
    
                    $output .= '</section>';
    
                    $loop_counter ++;
                    $slide_loop_count ++;
                    $extraClass = "";
    
                    if ($loop_counter > $columns) {
                        $loop_counter = 1;
                        $extraClass = 'first';
                    }
    
                    if ($loop_counter == 1 || !empty($last)) {
                        $output .="</div>";
                    }
                }
    
                $output .= "</div>";
    
                $output .= "</div>";
    
                return $output;
            }
        }
    
    }

    Thanks!

    comcept-bks
    Participant

    Hi, i want to use the Partner/Logo Element because i need 7 collums.
    I want a picture and under the picture the text in max. two rows.

    I tried it to solve it with css, but it doesn’t work.

    Can you help to write the right css?

    #838572

    Hi,

    Can you try to use this instead:

    .avia-tooltip .inner_tooltip p {
        font-size: 15px;
    }

    or

    .avia-tooltip .inner_tooltip p {
        font-size: 15px !important;
    }

    Hope this helps :)

    Best regards,
    Nikko

Viewing 30 results - 991 through 1,020 (of 2,320 total)