Viewing 30 results - 4,921 through 4,950 (of 18,734 total)
  • Author
    Search Results
  • #1124210

    In reply to: Footer menu links cut

    I applied this to quick css

    #socket .sub_menu_socket li a {
    font-family: Gilroy-Bold;
    font-size: 16pt;
    font-weight: normal;
    font-style: normal;
    }

    Hi,

    I don’t understand what you mean. Maybe it will work at onother site: http://www.ictredactie.nl (same problem as above).

    In my child theme (/public_html/ictredactie.nl/wp-content/themes/enfold-child) i put a CSS code for the footer.(font-size 12px). When i enable merge and compress all theme CSS files and merge and compress all theme javascript files, my CSS didn’t work anymore. The font size is much bigger.

    Can you help me? What am i doing wrong?

    #1123887

    In reply to: Mega menu problem

    Hi,

    Thanks for the clarification, please try this CSS to target the actual links in the mega menu:

    .avia_mega_div .sub-menu li a .avia-menu-text {
      font-size:10px !important;
    }

    Best regards,
    Rikard

    #1123868

    Hi,

    Thank you for the update.

    The Screen Options > Heading Font Size values override the flexible size option, so you should not define those values if you want to retain the flexible sizing.

    Best regards,
    Ismael

    #1123829

    Hi,

    Thank you for the update.

    You can use this css code to adjust the size of the indicator or the plus icon.

    .html_av-submenu-hidden li a .av-submenu-indicator {
        font-size: 30px;
    }
    

    Please don’t forget to toggle the Performance > File Compression settings if it’s enabled.

    Best regards,
    Ismael

    #1123474

    In reply to: Mega menu problem

    Hey marketingnr1,

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

    .avia_mega_div .mega_menu_title {
      font-size:10px !important;
    }

    Best regards,
    Rikard

    #1123408

    Hi,

    Thank you for using Enfold.

    – How did you end up with that URL (form-maker/preview/page/1/), or where did you get it?

    – You can use this css code to decrease the font size of the menu items and the space between them.

    @media only screen and (max-width: 1300px) {
        #top #header .av-main-nav > li > a {
            font-size: 13px;
            padding: 0 10px;
        }
    }

    Best regards,
    Ismael

    #1123385

    Hi,

    Thank you for the update.

    You have to set or specify the font size for each screen sizes in the element’s Screen Options > Heading Font Size. Those options are not set in the staging version.

    Best regards,
    Ismael

    #1123340

    Hi,

    Add this to quick css:

    .avia-testimonial-content p strong{
    font-size:24px!important;
    }

    Best regards,
    Jordan Shannon

    #1123181

    Topic: Mega menu problem

    in forum Enfold
    marketingnr1
    Participant

    How to adjust the font size for a mega menu item?

    #1123085

    Hey Jak73,

    In your WordPress Dashboard, go to Enfold > Advanced Styling.
    Then click ‘Select an element to customize’ then choose h1 (do this on h2 and h3 as well), then click Edit Element button.
    You should be able to change the font size and font weight.
    Hope this helps.

    Best regards,
    Nikko

    #1123051

    Dear Victoria
    1. I tried to use css you gave me, but it doesn’t work. I delete the div code in the beginning, then it works fine.
    .main_color .button.single_add_to_cart_button {
    color: aqua;
    background-color: navy;
    border: green 1px solid;
    border-radius: 11px;
    font-size: 15px;
    }

    2. You told me to use filters or modify templates. I try to find some docs

    But it’s not enough. would you give me more detail docs teach why to do it?

    Best regards.
    Thomas

    • This reply was modified 6 years, 8 months ago by thomasvr4.
    #1123026

    Hey LesleyJean,

    Please try this CSS instead:

    h1.script-font-susan {
      font-family: ‘Dancing Script’ !important;
      font-size: 65px !important;
      color: #41bfbb !important;
    }

    Also make sure that you clear the old CSS and JS files under Enfold->Performance before checking the results.

    Best regards,
    Rikard

    #1122996

    Follow-up question…slightly related as it’s part of the same element… I know how to make it so that I can update the element name to reflect things like specific products, but it only does so after the page is saved/updated and the editor page refreshes. Is there a way you know of to make it update the title in the “editor_element” when you hit the save button in the editor modal?

    As an example…the element “Modern Product”. I put it where I want, edit it to select a specific product, hit save in the modal and it closes. At this point, the title in the layout editor will still say “Modern Product”. Once I update the page or save the draft, the title will have changed to the name of the product.

    I have tried taking a queue from the Special Heading element and including “data-update_with=” in there, but it didn’t work. So I’m assuming that I am missing something in the setup. I just can’t figure out what that is.

    Sorry for all the questions. Just trying to better myself on this so I can make these custom elements better….especially the woocommerce ones. When it comes to products, some people might have a lot of products and having the title update when the edit modal is saved can really help with organizing so one can know what the element represents without having to hit “save draft” or “update” a lot.

    Here is what I currently have.

    function editor_element($params)
    			{
    				
    				$params['args'] = shortcode_atts(array('link' => '', 'new_title' => '', 'tagline' => '', 'newbadge' => '', 'sale' => '', 'sale_bg' => '', 'newprod' => '', 'newprod_font' => '', 'newprod_bg' => '#588737', 'extratag' => '', 'extra_bg' => '', 'img_size' => 'shop_catalog','heading_size' => '30', 'prefix' => '', 'suffix' => '', 'overlay' => '0.6', 'overlay_start' => '10', 'overlay_end' => '50'
    				
    				
    				), $params['args'], $this->config['shortcode']);
    				
    				$templateNAME  	= $this->update_template("name", "{{name}}");
    				global $product;
    				$link = isset( $params['args']['link'] ) ? $params['args']['link'] : '';
    				$product = wc_get_product( $link );
    				$prod_title = $product->post->post_title;
    				
    				$params['innerHtml'] = "<img src='".$this->config['icon']."' title='".$this->config['name']."' />";
    				if ($link) {$params['innerHtml'].= "<div class='avia-element-label'>".$prod_title."</div>";}
    				else {$params['innerHtml'].= "<div class='avia-element-label'>".$this->config['name']."</div>";}
    				return $params;
    			}
    • This reply was modified 6 years, 8 months ago by Kahil.
    #1122983

    Hi,

    The color of the heading and the sub heading in the Special Heading element should be exactly the same because they both inherit the inline style of the parent container.

    This is an actual markup of a special heading.

    
    <div class="av-special-heading av-special-heading-h3 custom-color-heading blockquote modern-quote avia-builder-el-0  el_before_av_heading  avia-builder-el-first" style="padding-bottom:10px; color:#7bb0e7;">
    <h3 class="av-special-heading-tag " itemprop="headline">Hello</h3>
    <div class="av-subheading av-subheading_below av_custom_color " style="font-size:15px;">
    
    Test Test
    
    </div>
    <div class="special-heading-border">
    <div class="special-heading-inner-border" style="border-color:#7bb0e7"></div>
    </div>
    </div>
    

    And this is the css that sets the heading and the sub heading to inherit the color #7bb0e7 of the parent container as shown in the markup above.

    #top #wrap_all .custom-color-heading .av-special-heading-tag, #top .custom-color-heading a, #top .custom-color-heading strong, #top .custom-color-heading .special_amp {
        color: inherit;
    }
    

    Where can we see the issue? Please provide a link to a page with a special heading element.

    Best regards,
    Ismael

    #1122941

    Hi @Victoria,

    Thank you but it didn’t work.

    As I document in my entries above, this is a feature in your current Avia Builder. When you use the ADD/EDIT GALLERY feature in your Masonry Gallery, you can see the caption or add a caption. This caption DOES NOT display in the Lightbox. This perfectly documents how it was once working correctly, before someone changed it. Has this been noted and is there a plan to fix it? Is there a function.php patch?

    Here is the CSS that governs this:
    div .mfp-title {
    line-height: 1.4em;
    font-size: 13px;
    }

    Here is the section:
    <div class=”mfp-bottom-bar”>
    <div class=”mfp-title”>This is the title</div>
    <div class=”mfp-counter”>1 / 5</div>
    </div>

    Thanks

    #1122911

    Of course!!

    I have even

    This seems to be missing after av-special-heading-tag: av-small-font-size-overwrite av-small-font-size-27 av-mini-font-size-overwrite av-mini-font-size-27

    Compared with the Chrome console.

    Even copy pasted on the Chrome console and that fixed it.

    I disabled minification of CSS and Javascript (even though the staging environment is not cached) to help find what may be missing and from where…

    Let me know if I can help in any way…

    Thank you!!

    Havi

    #1122886

    Hi Gaëlle,

    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

    
    @media only screen and (max-width:767px){
        #top .template-page .entry-content-wrapper h1,
         #top .template-page .entry-content-wrapper h2 {
            text-transform: none;
            font-size: 14px;
        }
        #top #wrap_all .all_colors h1 {
            font-size: 18px;
        }
    }
    
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1122867

    Hi Thomas,

    You can play with following css:

    
    div .main_color .button.single_add_to_cart_button {
        color: aqua;
        background-color: navy;
        border: green 1px solid;
        border-radius: 11px;
        font-size: 15px;
    }
    

    To add another button you will need to use filters or modify templates.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1122851
    LesleyJean
    Participant

    Hi there!
    I’ve been going round and round on this one for a week now and am hoping you can help me out. I’m trying to apply a custom class to my H1 tags for select headlines to make them in a script font. Here’s what I’ve done so far…

    Added the following code to Functions File:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Dancing Script’] = ‘Dancing Script:400,700’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Dancing Script’] = ‘Dancing Script:400,700’;
    return $fonts;
    }

    Added this to my General Styling CSS:
    .script-font-susan h1 {
    font-family: ‘Dancing Script’ !important;
    font-size: 65px !important;
    color: #41bfbb !important;
    }

    And tried applying the font to the text blocks on a page like this:
    <h1 class=”script-font-susan”>Hi, I’m Susan.</h1>

    I have some general settings lined up for my H1’s in the Advanced Layout Editor section, but don’t specify font aside from “Default”.

    Any ideas on what I’m missing here and why this font won’t show OR suggestions on a better alternative? Thanks in advance for the support!

    ~L

    #1122847

    Hi,

    I’m seeing the bold fonts as a slighty bigger size. Have you tried clearing your cache a few times over?

    Best regards,
    Jordan Shannon

    #1122817

    Topic: Mega Menu Styling

    in forum Enfold
    marketingnr1
    Participant

    Hello Support Team,

    I need some help with my mega menu. How do I reduce the space between the rows and collum or, the padding of every menu item?
    Aswell, how to adjust font sizes for the mega menu items, their columns and rows?

    Thank you very much in advance!
    Kind regards

    #1122767

    Hi Victoria,

    There were no modifications made to the code since the earlier releases. And this is standard code. Can you please show me where the custom code is coming from? (I shared all the CSS with you earlier. and here are a couple of screenshots showing you the Enfold CSS options chosen.

    Heading Size Default Flexible

    The choice of font size

    Thank you.

    Havi

    #1122763
    toddbarden
    Participant

    Hi,
    Is there a way I can add to the custom css so and ‘Bold’ wording in a testimonial is a slightly bigger font size? Ive tried the below but it didnt seem to work.

    Many thanks
    Todd

    .avia-testimonial-content p {
    font-size: 17px;
    }
    .avia-testimonial-content strong, {
    font-size: 20px !important;
    }

    #1122719
    BlutVampir
    Participant

    As the Grit Element is all the time Fullwidth and cannot be changed to Content Width, I did edit and create a new Element, which has same functionallity, but has the content width (not destroying pages with sidebars).

    As others look for it and no solution is provided, here is mine.

    create new file and add it in childtheme:

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

    create folder shortcode in childtheme and add file there (name is not important):

    <?php
    /**
     * Grid Row
     * 
     * Shortcode which adds multiple Grid Rows below each other to create advanced grid layouts. Cells can be styled individually
     */
    
     // Don't load directly
    if ( !defined('ABSPATH') ) { die('-1'); }
    
    if ( !class_exists( 'avia_sc_grid_row_nofullwidth' ) )
    {
    	
    	class avia_sc_grid_row_nofullwidth extends aviaShortcodeTemplate{
    
    			static $count = 0;
    			
    
    			/**
    			 * Create the config array for the shortcode grid row
    			 */
    			function shortcode_insert_button()
    			{
    				$this->config['type']				=	'layout';		
    				$this->config['self_closing']		=	'no';
    				$this->config['contains_text']		=	'no';
    				$this->config['layout_children']	=	array(  
    															'av_cell_one_full', 
    															'av_cell_one_half', 
    															'av_cell_one_third', 
    															'av_cell_one_fourth', 
    															'av_cell_one_fifth', 
    															'av_cell_two_third', 
    															'av_cell_three_fourth', 
    															'av_cell_two_fifth', 
    															'av_cell_three_fifth', 
    															'av_cell_four_fifth'
    														);
    				
    				
    				$this->config['name']		= __('Grid Row (Content Width)', 'avia_framework' );
    				$this->config['icon']		= AviaBuilder::$path['imagesURL']."sc-layout_row.png";
    				$this->config['tab']		= __('Layout Elements', 'avia_framework' );
    				$this->config['order']		= 15;
    				$this->config['shortcode'] 	= 'av_layout_grit';
    				$this->config['html_renderer'] 	= false;
    				$this->config['tinyMCE'] 	= array('disable' => "true");
    				$this->config['tooltip'] 	= __('Add multiple Grid Rows below each other to create advanced grid layouts. Cells can be styled individually', 'avia_framework' );
    				$this->config['drag-level'] = 1;
    				$this->config['drop-level'] = 100;
    				$this->config['disabling_allowed'] = false;
    
    			}
    			
    			function extra_assets()
    			{
    				//load css
    				wp_enqueue_style( 'avia-module-gridrow' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/grid_row/grid_row.css' , array('avia-layout'), false );
    			}
    
    			/**
    			 * 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)
    			{
    				
    				/*
    				$params['content'] = trim($params['content']);
    				if(empty($params['content'])) $params['content'] = "[av_cell_one_half first][/av_cell_one_half] [av_cell_one_half][/av_cell_one_half]";
    */
    
    			
    				extract($params);
    				
    				$name = $this->config['shortcode'];
    				$data['shortcodehandler'] 	= $this->config['shortcode'];
        			$data['modal_title'] 		= $this->config['name'];
        			$data['modal_ajax_hook'] 	= $this->config['shortcode'];
    				$data['dragdrop-level'] 	= $this->config['drag-level'];
    				$data['allowed-shortcodes']	= $this->config['shortcode'];
    				
    				if(!empty($this->config['modal_on_load']))
        			{
        				$data['modal_on_load'] 	= $this->config['modal_on_load'];
        			}
    
        			$dataString  = AviaHelper::create_data_string($data);
    				
    				
    				if($content)
    				{
    					$final_content = $this->builder->do_shortcode_backend($content);
    					$text_area = ShortcodeHelper::create_shortcode_by_array($name, $content, $args);
    				}
    				else
    				{
    					$cell = new avia_sc_cell_one_half($this->builder);
    					$params = array('content' => "", 'args' => array(), 'data'=>'');
    					$final_content  = "";
    					$final_content .= $cell->editor_element($params);
    					$final_content .= $cell->editor_element($params);
    					$text_area = ShortcodeHelper::create_shortcode_by_array($name, '[av_cell_one_half][/av_cell_one_half] [av_cell_one_half][/av_cell_one_half]', $args);
    				
    				}
    				
    				$title_id = !empty($args['id']) ? ": ".ucfirst($args['id']) : "";
    				$hidden_el_active = !empty($args['av_element_hidden_in_editor']) ? "av-layout-element-closed" : "";
    				
    				
    
    				$output  = "<div class='avia_layout_row {$hidden_el_active} avia_layout_section avia_pop_class avia-no-visual-updates ".$name." av_drag' ".$dataString.">";
    				$output .= "    <a class='avia-add-cell avia-add'  href='#add-cell' title='".__('Add Cell','avia_framework' )."'>".__('Add Cell','avia_framework' )."</a>";
        				$output .= "    <a class='avia-set-cell-size avia-add'  href='#set-size' title='".__('Set Cell Size','avia_framework' )."'>".__('Set Cell Size','avia_framework' )."</a>";
    
    				$output .= "    <div class='avia_sorthandle menu-item-handle'>";
    				$output .= "        <span class='avia-element-title'>".$this->config['name']."<span class='avia-element-title-id'>".$title_id."</span></span>";
    				$output .= "        <a class='avia-delete'  href='#delete' title='".__('Delete Row','avia_framework' )."'>x</a>";
    				$output .= "        <a class='avia-toggle-visibility'  href='#toggle' title='".__('Show/Hide Section','avia_framework' )."'></a>";
    
    				if(!empty($this->config['popup_editor']))
        			{
        				$output .= "    <a class='avia-edit-element'  href='#edit-element' title='".__('Edit Row','avia_framework' )."'>".__('edit','avia_framework' )."</a>";
        			}
    				$output .= "<a class='avia-save-element'  href='#save-element' title='".__('Save Element as Template','avia_framework' )."'>+</a>";
    				$output .= "        <a class='avia-clone'  href='#clone' title='".__('Clone Row','avia_framework' )."' >".__('Clone Row','avia_framework' )."</a></div>";
        								$output .= "    <div class='avia_inner_shortcode avia_connect_sort av_drop' data-dragdrop-level='".$this->config['drop-level']."'>";
    				$output .= "<textarea data-name='text-shortcode' cols='20' rows='4'>".$text_area."</textarea>";
    				$output .= $final_content;
    				
    				$output .= "</div>";
    				
    				$output .= "<a class='avia-layout-element-hidden' href='#'>".__('Grid Row content hidden. Click here to show it','avia_framework')."</a>";
    				
    				$output .= "</div>";
    
    				return $output;
    			}
    
    			/**
    			 * 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()
    			{
    			    global  $avia_config;
    				
    		
    				$this->elements = array(
    					array(
    						"type" 	=> "tab_container", 'nodescription' => true
    					),
    					
    					array(
    						"type" 	=> "tab",
    						"name"  => __("Content" , 'avia_framework'),
    						'nodescription' => true
    					),
    					array(
    						"name" 	=> __("Grid Borders",'avia_framework' ),
    						"id" 	=> "border",
    						"desc"  => __("Choose if your layout grid should display any border",'avia_framework' ),
    						"type" 	=> "select",
    						"std" 	=> "",
    						"subtype" => array(	__('No Borders' , 'avia_framework' ) =>'',
    									__('Borders on top and bottom' , 'avia_framework' ) =>'av-border-top-bottom',
    									__('Borders between cells' , 'avia_framework' ) =>'av-border-cells',
    									__('Borders on top and bottom and between cells' , 'avia_framework' ) =>'av-border-top-bottom av-border-cells',
    									)
    				    ),
    				    
    				    
    				    array(	
    							"name" 	=> __("Custom minimum height", 'avia_framework' ),
    							"desc" 	=> __("Do you want to use a custom or predefined minimum height?", 'avia_framework' ),
    							"id" 	=> "min_height_percent",
    							"type" 	=> "select",
    							"std" 	=> "",
    							"subtype" => array(	
    												__( 'At least 100&percnt; of Browser Window height', 'avia_framework' )	=> '100',
    												__( 'At least 75&percnt; of Browser Window height', 'avia_framework' )	=> '75',
    												__( 'At least 50&percnt; of Browser Window height', 'avia_framework' )	=> '50',
    												__( 'At least 25&percnt; of Browser Window height', 'avia_framework' )	=> '25',
    												__( 'Custom height in &percnt; based on browser windows height', 'avia_framework' )	=> 'percent',
    												__( 'Custom height in pixel', 'avia_framework' )						=> '',
    											)
    						),
    					
    					array(	
    							'name' 	=> __( 'Section minimum custom height in &percnt;', 'avia_framework' ),
    							'desc' 	=> __( 'Define a minimum height for the gridrow in &percnt; based on the browser windows height', 'avia_framework' ),
    							'id' 	=> 'min_height_pc',
    							'required'	=> array( 'min_height_percent', 'equals', 'percent' ),
    							'std' 	=> '25',
    							'type' 	=> 'select',
    							'subtype' => AviaHtmlHelper::number_array( 1, 99, 1 )
    						),
    				    
    				    
    				    array(	
    							"name" 	=> __("Minimum height", 'avia_framework' ),
    							"desc" 	=> __("Set the minimum height of all the cells in pixel. eg:400px", 'avia_framework' ),
    							"id" 	=> "min_height",
    							"required"=> array('min_height_percent','equals',''),
    							"type" 	=> "input",
    							"std" 	=> "0",
    						),
    				    
    					
    			        array(
    						"name" 	=> __("Section Colors",'avia_framework' ),
    						"id" 	=> "color",
    						"desc"  => __("The section will use the color scheme you select. Color schemes are defined on your styling page",'avia_framework' ) .
    						           '<br/><a target="_blank" href="'.admin_url('admin.php?page=avia#goto_styling').'">'.__("(Show Styling Page)",'avia_framework' )."</a>",
    						"type" 	=> "select",
    						"std" 	=> "main_color",
    						"subtype" =>  array_flip($avia_config['color_sets'])
    				    ),
    				    
    				    
    				    array(
    						"name" 	=> __("Mobile Behaviour",'avia_framework' ),
    						"id" 	=> "mobile",
    						"desc"  => __("Choose how the cells inside the grid should behave on mobile devices and small screens",'avia_framework' ),
    						"type" 	=> "select",
    						"std" 	=> "av-flex-cells",
    						"subtype" => array(	__('Default: Each cell is displayed on its own' , 'avia_framework' ) =>'av-flex-cells',
    											__('Cells appear beside each other, just like on large screens' , 'avia_framework' ) =>'av-fixed-cells',
    									)
    				    ),
    				    
    				    array(	"name" 	=> __("For Developers: Section ID", 'avia_framework' ),
    							"desc" 	=> __("Apply a custom ID Attribute to the section, so you can apply a unique style via CSS. This option is also helpful if you want to use anchor links to scroll to a sections when a link is clicked", 'avia_framework' )."<br/><br/>".
    									   __("Use with caution and make sure to only use allowed characters. No special characters can be used.", 'avia_framework' ),
    				            "id" 	=> "id",
    				            "type" 	=> "input",
    				            "std" => ""),
    				            
    				    array(	"id" 	=> "av_element_hidden_in_editor",
    				            "type" 	=> "hidden",
    				            "std" => "0"),
    				    
    				    array(
    						"type" 	=> "close_div",
    						'nodescription' => true
    					),
    					
    				array(
    									"type" 	=> "tab",
    									"name"	=> __("Screen Options",'avia_framework' ),
    									'nodescription' => true
    								),
    								
    								array(
    							"name" 	=> __("Mobile Breaking Point",'avia_framework' ),
    							"desc" 	=> __("Set the screen width when cells in this row should switch to full width", 'avia_framework' ),
    							"type" 	=> "heading",
    							"description_class" => "av-builder-note av-neutral",
    							),
    							
    							
    						array(	
    						"name" 	=> __("Fullwidth Break Point", 'avia_framework' ),
    						"desc" 	=> __("The cells in this row will switch to fullwidth at this screen width ", 'avia_framework' ),
    						"id" 	=> "mobile_breaking",
    						"type" 	=> "select",
    						"std" 	=> "",
    						"subtype" => array(	
    								__('On mobile devices (at a screen width of 767px or lower)','avia_framework' ) =>'',
    								__('On tablets (at a screen width of 989px or lower)',  'avia_framework' ) =>'av-break-at-tablet',
    									)
    					),	
    					
    							
    					
    								array(
    								"name" 	=> __("Element Visibility",'avia_framework' ),
    								"desc" 	=> __("Set the visibility for this element, based on the device screensize.", 'avia_framework' ),
    								"type" 	=> "heading",
    								"description_class" => "av-builder-note av-neutral",
    								),
    							
    								array(	
    										"desc" 	=> __("Hide on large screens (wider than 990px - eg: Desktop)", 'avia_framework'),
    										"id" 	=> "av-desktop-hide",
    										"std" 	=> "",
    										"container_class" => 'av-multi-checkbox',
    										"type" 	=> "checkbox"),
    								
    								array(	
    									
    										"desc" 	=> __("Hide on medium sized screens (between 768px and 989px - eg: Tablet Landscape)", 'avia_framework'),
    										"id" 	=> "av-medium-hide",
    										"std" 	=> "",
    										"container_class" => 'av-multi-checkbox',
    										"type" 	=> "checkbox"),
    										
    								array(	
    									
    										"desc" 	=> __("Hide on small screens (between 480px and 767px - eg: Tablet Portrait)", 'avia_framework'),
    										"id" 	=> "av-small-hide",
    										"std" 	=> "",
    										"container_class" => 'av-multi-checkbox',
    										"type" 	=> "checkbox"),
    										
    								array(	
    									
    										"desc" 	=> __("Hide on very small screens (smaller than 479px - eg: Smartphone Portrait)", 'avia_framework'),
    										"id" 	=> "av-mini-hide",
    										"std" 	=> "",
    										"container_class" => 'av-multi-checkbox',
    										"type" 	=> "checkbox"),
    	
    								
    							array(
    									"type" 	=> "close_div",
    									'nodescription' => true
    								),	
    								
    								
    						
    						
    					array(
    						"type" 	=> "close_div",
    						'nodescription' => true
    					),		
    					
    					
    					
    				array(
    						"type" 	=> "close_div",
    						'nodescription' => true
    					),
    				    
                    );
    			}
    
    			/**
    			 * 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 = "")
    			{
    				extract(AviaHelper::av_mobile_sizes($atts)); //return $av_font_classes, $av_title_font_classes and $av_display_classes 
    								
    			    $atts = shortcode_atts( array(
    											'color'					=> 'main_color',
    											'border'				=> '',
    											'min_height'			=> '0',
    											'min_height_percent'	=> '',
    											'min_height_pc'			=> 25,
    											'mobile'				=> 'av-flex-cells',
    											'mobile_breaking'		=> '',
    											'id'					=> ''
    				
    										), $atts, $this->config['shortcode'] );
    				
    				if( 'percent' == $atts['min_height_percent'] )
    				{
    					$atts['min_height_percent'] = $atts['min_height_pc'];
    				}
    				
    				extract( $atts );
    				
    				$output = '';
    				$params = array();
    				
    				$params['class'] = "av-layout-grid-container entry-content-wrapper {$color} {$mobile} {$mobile_breaking} {$av_display_classes} {$border} {$meta['el_class']}";
    				$params['open_structure'] = false; 
    				$params['custom_markup'] = $meta['custom_markup'];
    				$params['data'] = '';
    				
    				if( $min_height_percent != '' )
    				{
    					$params['class'] .= " av-cell-min-height av-cell-min-height-{$min_height_percent}";
    					$params['data'] .= " data-av_minimum_height_pc='{$min_height_percent}'";
    				}
    				
    				//we dont need a closing structure if the element is the first one or if a previous fullwidth element was displayed before
    				if(isset($meta['index']) && $meta['index'] == 0) $params['close'] = false;
    				if(!empty($meta['siblings']['prev']['tag']) && in_array($meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section )) $params['close'] = false;
    				
    				if(isset($meta['index']) && $meta['index'] > 0) $params['class'] .= " submenu-not-first";
    				
    				
    				
    				avia_sc_cell::$attr = $atts;
    				//$output .=  avia_new_section($params);
    				$output .=  "<div style='clear:both'></div><div class='nocontentwidth'>";
    				$output .=  ShortcodeHelper::avia_remove_autop($content,true) ;
    				//$output .= avia_section_after_element_content( $meta , 'after_submenu_' . avia_sc_grid_row_nofullwidth::$count, false);
    				$output .=  "</div>
    				<style>.nocontentwidth .flex_cell.avia-builder-el-first { padding-left: 0px; } .nocontentwidth .flex_cell.avia-builder-el-last { padding-right: 0px; }</style>
    				<div style='clear:both'></div>";
    				// added to fix https://kriesi.at/support/topic/footer-disseapearing/#post-427764
    				avia_sc_section::$close_overlay = "";
    				
    				
    				return $output;
    			}
    	}
    }

    The new element is visible in the Layout Section of the Visual Builder.

    #1122588

    Hi,
    Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .special_amp {
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit !important;
    }

    Then clear your browser cache and check. If this doesn’t work for your please try adding !important; to each line of code like the last line.

    Best regards,
    Mike

    #1122574

    Hi, Victoria
    I want to change the add to cart button style
    1. background color
    2. text size, font style
    3. Add another button near the add to cart button

    url : http://netfood.ygr-wp.com/product/green-blouse/

    Best regards.
    Thomas

    #1122368
    Micha66
    Participant

    How can i change the title text in a new post with html? I want to make some breaks <br /> and different font sizes, because i like that in Masonry if the title is a little bit different with font-sizes and <br />

    • This topic was modified 6 years, 8 months ago by Micha66.
    #1122311

    In reply to: On he

    Hi,

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

    #top .av-logo-container .social_bookmarks li a {
        font-size: 20px;
    }

    Best regards,
    Rikard

    #1122134

    In reply to: Changing the top bar

    ” <ul class=”contact”><li class=”phone”><span class=”in1″>[av_font_icon icon='ue854' font='entypo-fontello' size='20px'][/av_font_icon]</span> <li class=”mail”><span class=”in1″>(Email address hidden if logged out) “>[av_font_icon icon='ue805' font='entypo-fontello' size='20px'][/av_font_icon]</span> ”

    Hi Mike,

    Thanks for the code it worked perfectly! May I know how can I display the phone number and email following the icon on screen instead of just Icon? Also is it possible to display the number and email without the underline? Please check the link below to undertand what I meant.

    Here is an example (https://dcc-eu.com/), thanks for the helpful solution!

    • This reply was modified 6 years, 8 months ago by jl_tan.
Viewing 30 results - 4,921 through 4,950 (of 18,734 total)