Viewing 30 results - 6,211 through 6,240 (of 18,739 total)
  • Author
    Search Results
  • #1012865

    Hey Eefke,

    Add this to quick css:

    .flex_column.av_three_fifth{
    padding-left:20px!important;
    padding-right:20px!important;
    font-size:14px;
    }

    Best regards,
    Jordan Shannon

    #1012852
    Marie-Claude
    Participant

    Hello, I want to change the size of my title and subtitle in a slider full page, I found this code on your documentation :

    /* Easy slider title */
    .av_slideshow_full .avia-caption-title {
    /*Your style here */
    }

    /* Easy slider caption content */
    .av_slideshow_full .avia-caption-content p {
    /*Your style here */
    }

    I formulated my CSS code like that but it does not work :

    .av_slideshow_full .avia-caption-title {
    font-size: 50px !important;
    }

    .av_slideshow_full .avia-caption-content p {
    font-size: 50px !important;
    }

    … where is my error?

    Thank you :-)

    #1012765

    In reply to: enfold update

    hi Again,

    Enfold has updated but I have lost a banner that was on the left hand side of the header bar. the custom CSS to display it is still there but the banner is not displaying. The CSS is

    .phone-info { font-size: 22px; }

    #header .widget {
    left: 75%;
    padding-top: 40px;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    z-index: 999;
    }

    Can you tell me why this banner is not working?

    Thank you

    James

    #1012750

    Hey SarritaNovomni,

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

    .home .slide-entry-title a {
      font-size:24px !important;
    }

    Best regards,
    Rikard

    #1012721

    Hi,

    Ja ich habe in die child theme functions.php (Link im Private Content) folgenden Code hinzugefügt:

    
    
    add_action('ava_after_body_opening_tag','avia_add_header_phone_number', 10, 1);
    function avia_add_header_phone_number()
    {
    	$style = 'style="position:absolute;right:10%;top:30px;z-index:9999;font-size:10px;"';
    	echo '
    <div class="av_phone_header" '.$style.'><a href="tel:+49123457908766" style="color:#333;">Tel: +49 (0) 23457908766</a> | ';
    	echo '<a href="mailto: (Email address hidden if logged out) " style="color:#333;">E-Mail:  (Email address hidden if logged out) </a></div>
    ';
    }
    

    Ersetze dort die Nummern ( 49123457908766 bzw +49 (0) 23457908766) und die E-Mailadresse (Email address hidden if logged out) .

    Natürlich kannst Du auch den Farbwert anpassen (#333) und durch abändern der Werte right:10% sowie top:30px die Position verändern.

    LG,
    Peter

    #1012605

    Hey specialosis,

    Thank you for using Enfold.

    This css code should decrease the font size of the title and caption on mobile view.

    @media only screen and (max-width: 479px) {
    .responsive #top .slideshow_caption .avia-caption-content {
        font-size: 11px !important;
    }
    
    .responsive #top .slideshow_caption h2 {
        font-size: 16px !important;
    }
    }

    You can also hide that particular slider and replace it with a full screen slider on mobile view.

    Best regards,
    Ismael

    #1012604

    Hey edwinbaes,

    Thank you for using Enfold.

    You can use these css codes to adjust the title and excerpt.

    .av-masonry-entry .av-masonry-entry-title {
        line-height: 1.5em;
        margin: 0;
        font-size: 24px;
    }
    
    .av-masonry-entry .av-masonry-entry-title + .av-masonry-entry-content {
        font-size: 16px;
        line-height: 1.4em;
    }

    Best regards,
    Ismael

    #1012428
    specialosis
    Participant

    Good day,
    I actually wanted to raise an issue with easy slider not being responsive
    As i had made use of it by adding an image and added a few capture text sadly i found it was not well responsive to mobile because the text found in the image we not printed all out;
    As i expected it would likely decrease the text font as the image would be displayed on a mobile cell
    I have added the few of the links in the private content field;
    you would see how the text becomes unresponsive with the slider when using inspect found on google chrome and reduce website size gradually
    thank you
    Hope to hear from you soon and if possible is there a code or some thing i can do to make it all responsive .
    I do not wish to reduce my text length

    #1012332

    Is about the body text under: “Default content font size” -> General Styling. Mine is 18px.
    But i want to display 18px on Desktop and 16px – Mobile.

    #1012310

    Hi,

    No, long words won’t overflow outside the container because the “word-wrap” property is set to “break-word”. They will break onto the next line when necessary. You can adjust the “font-size” value in the css code above if you want to change the text size.

    Best regards,
    Ismael

    #1012238
    vpaun
    Participant

    Hi,
    I’d like to use font-size 18px on Desktop, and 14px on Mobile. I know is an option in “Advanced Layout Editor”, but I can’t edit post by post manually, I have 300 post published.
    Any CSS code for that pls?
    Thank you!

    #1012188

    and because i’m a lazy guy i have this in my functions.php of my child-theme:

    // beim Contact Form Element eine Erklärung des Asterisk "*" setzen.
    function add_declaration() { 
    ?>
    <script>
    (function($){
      $('form:not(#searchform) input[type="submit"]').before('<p style="text-align:right; text-decoration: overline; font-size:13px">Die mit <span style="font-size: 15px" class="required">*</span> gekenntzeichneten Felder sind Pflichtfelder.</p>')
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_declaration');

    looks this way : https://webers-testseite.de/kontakt/
    and Asterisk has alway the right color – same as the other asterisks

    #1012182
    abhisheik
    Participant

    Hi Guys,

    I am trying to hide the date time from the Latest portfolio widget. As mentioned in various posts I tried the follwoing code in Quick CSS

    .news-time {
      display: none;
    }

    However nothing changes.
    My complete Quick CSS Code is as follows.

    #top .title_container .container {
    padding-top: 0;
    padding-bottom: 0px;
    min-height: 30px;
    }
    .title_container .main-title a {
        font-size: 30px !important;
    }
    span.breadcrumb-title {  display: none; }
    
    td {
      line-height: 13px;
      padding: 2px 2px;
    }
    tr th:first-child, tr td:first-child {
    width: 70px;
    align: left;
    }
    .content {
    padding-top: 5px;
    padding-bottom: 0px;
    }
    body .column-top-margin{
    margin-top: 5px;
    }
    
    .breadcrumb-trail * { color: white!important; }
    .title_container {
        background-color: black!important;
        border: none!important;
    }
    .news-time {
      display: none;
    }
    

    Can you please suggest

    #1012002

    Hi,

    Add just the code to this:

    .pricing-table li.avia-pricing-row {
    font-size: 24px;
    font-weight:bold;
    text-transform:uppercase;
    }

    Best regards,
    Jordan Shannon

    #1011987

    Hi again

    Ok, I fixed the color in Edge I think. The relevant CSS code was

    /* change menu button to white on blue*/
    #menu-item-5955 a span.avia-menu-text{
    background-color:#315b7c !important;
    color:#fff !important;
    }
    this worked in Chrome, not in Edge. button was grey. I changed the #ffff to #ffffff and button in chrome and edge was grey. I changed the hex code to white as in color:white !important; and it works.

    Only issue left now is that the default menu font ,Open Sans, not being used in used in when Free Trial sub-menu switches to burger menu when desktop is small. Somehow becomes serif (looks like Times Roman and wrong size). On Android it is fine.

    Please help with that.

    Thanks

    #1011912

    Hey Jak73,

    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

    
    .pricing-table li.avia-pricing-row {
        font-size: 24px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1011894

    Hi Ismael,

    I put the code in. It helps…now all the words show because they’re smaller font. How can I adjust the font size from the code you posted? As of now, no words are wrapping because they are not that long. But if the words are long enough, they will wrap?

    I see there is a footer now via mobile after I put your code in, the menu display looks off center. How can I fix this or not have the footer be shown at all in mobile?

    Picture: https://imgur.com/ED4eC4g

    #1011893

    Hi Günter

    Thanks for your fast answer.

    I were able to add an arrow beside the language switcher with the following code (added to the custom CSS section):

    .wpml-ls-current-language > a:after {
        content: "\25bc";
        font-size: 10px;
    }
    

    Regarding the border: Your code works but the square should be less bigger than on the picture https://www.dropbox.com/s/e7d3sj3dabdigt1/Screenshot_Webpage_Mainmenu.png?dl=0

    Is that possible?

    Best regards
    AleschJ

    • This reply was modified 7 years, 6 months ago by AleschJ.
    #1011865
    Jak73
    Participant

    Hi,
    i would like to change the font size of the pricing table with css. Could not find a solution for that.
    How can i do that?
    Thanks!

    Screenshot: http://www.bilder-upload.eu/show.php?file=3cdcbd-1537364481.jpg

    #1011686

    Hey Wisith,

    Thank you for using Enfold.

    You can change how words break and wrap onto the next line, and you can also adjust the font size.

    @media only screen and (max-width: 767px) {
    #top #wrap_all .all_colors h1, #top #wrap_all .all_colors h2, #top #wrap_all .all_colors h3, #top #wrap_all .all_colors h4, #top #wrap_all .all_colors h5, #top #wrap_all .all_colors h6 {
        word-wrap: break-word;
        font-size: 1em;
    }
    }

    Best regards,
    Ismael

    #1011662

    Hey Daan88,

    Please use this code for the gallery.php:

    
    <?php
    /**
     * Gallery
     * 
     * Shortcode that allows to create a gallery based on images selected from the media library
     */
    if ( ! defined( 'ABSPATH' ) ) {  exit;  }    // Exit if accessed directly
    
    if ( !class_exists( 'avia_sc_gallery' ) )
    {
    	class avia_sc_gallery extends aviaShortcodeTemplate
    	{
    			static $gallery = 0;
    			var $extra_style = "";
    			var $non_ajax_style = "";
    
    			/**
    			 * Create the config array for the shortcode button
    			 */
    			function shortcode_insert_button()
    			{
    				$this->config['self_closing']	=	'yes';
    
    				$this->config['name']			= __('Gallery', 'avia_framework' );
    				$this->config['tab']			= __('Media Elements', 'avia_framework' );
    				$this->config['icon']			= AviaBuilder::$path['imagesURL']."sc-gallery.png";
    				$this->config['order']			= 6;
    				$this->config['target']			= 'avia-target-insert';
    				$this->config['shortcode'] 		= 'av_gallery';
    				$this->config['modal_data']     = array('modal_class' => 'mediumscreen');
    				$this->config['tooltip']        = __('Creates a custom gallery', 'avia_framework' );
    				$this->config['preview'] 		= 1;
    				$this->config['disabling_allowed'] = 'manually'; //only allowed manually since the default [gallery shortcode] is also affected
    			}
    
    			function extra_assets()
    			{
    				//load css
    				wp_enqueue_style( 'avia-module-gallery' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/gallery/gallery.css' , array('avia-layout'), false );
    
    				wp_enqueue_script( 'avia-module-gallery' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/gallery/gallery.js' , array('avia-shortcodes'), false, 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(
    						"type" 	=> "tab_container", 'nodescription' => true
    					),
    
    					array(
    						"type" 	=> "tab",
    						"name"  => __("Content" , 'avia_framework'),
    						'nodescription' => true
    					),
    
    					array(
    							"name" 	=> __("Edit Gallery",'avia_framework' ),
    							"desc" 	=> __("Create a new Gallery by selecting existing or uploading new images",'avia_framework' ),
    							"id" 	=> "ids",
    							"type" 	=> "gallery",
    							"title" => __("Add/Edit Gallery",'avia_framework' ),
    							"button" => __("Insert Images",'avia_framework' ),
    							"std" 	=> ""),
    
    					array(
    							"name" 	=> __("Gallery Style", 'avia_framework' ),
    							"desc" 	=> __("Choose the layout of your Gallery", 'avia_framework' ),
    							"id" 	=> "style",
    							"type" 	=> "select",
    							"std" 	=> "thumbnails",
    							"subtype" => array(
    												__('Small Thumbnails',  'avia_framework' ) =>'thumbnails',
    												__('Big image with thumbnails below', 'avia_framework' ) =>'big_thumb',
    												__('Big image only, other images can be accessed via lightbox', 'avia_framework' ) =>'big_thumb lightbox_gallery',
    												)
    							),
    
    					array(
    							"name" 	=> __("Gallery Big Preview Image Size", 'avia_framework' ),
    							"desc" 	=> __("Choose image size for the Big Preview Image", 'avia_framework' ),
    							"id" 	=> "preview_size",
    							"type" 	=> "select",
    							"std" 	=> "portfolio",
    							"required" 	=> array('style','contains','big_thumb'),
    							"subtype" =>  AviaHelper::get_registered_image_sizes(array('logo'))
    							),
    
    					array(
    							"name" 	=> __("Force same size for all big preview images?", 'avia_framework' ),
    							"desc" 	=> __("Depending on the size you selected above, preview images might differ in size. Should the theme force them to display at exactly the same size?", 'avia_framework' ),
    							"id" 	=> "crop_big_preview_thumbnail",
    							"type" 	=> "select",
    							"std" 	=> "yes",
    							"required" 	=> array('style','equals','big_thumb'),
    							"subtype" =>  array(__('Yes, force same size on all Big Preview images, even if they use a different aspect ratio', 'avia_framework') => 'avia-gallery-big-crop-thumb', __('No, do not force the same size', 'avia_framework') => 'avia-gallery-big-no-crop-thumb')),
    
    					array(
                            "name" 	=> __("Gallery Preview Image Size", 'avia_framework' ),
                            "desc" 	=> __("Choose image size for the small preview thumbnails", 'avia_framework' ),
                            "id" 	=> "thumb_size",
                            "type" 	=> "select",
                            "std" 	=> "portfolio",
    							"required" 	=> array('style','not','big_thumb lightbox_gallery'),
                            "subtype" =>  AviaHelper::get_registered_image_sizes(array('logo'))
                        ),
    
    					array(
    							"name" 	=> __("Thumbnail Columns", 'avia_framework' ),
    							"desc" 	=> __("Choose the column count of your Gallery", 'avia_framework' ),
    							"id" 	=> "columns",
    							"type" 	=> "select",
    							"std" 	=> "5",
    							"required" 	=> array('style','not','big_thumb lightbox_gallery'),
    							"subtype" => AviaHtmlHelper::number_array(1,12,1)
    							),
    
    					array(
    	                        "name" 	=> __("Use Lighbox", 'avia_framework' ),
    	                        "desc" 	=> __("Do you want to activate the lightbox", 'avia_framework' ),
    	                        "id" 	=> "imagelink",
    	                        "type" 	=> "select",
    	                        "std" 	=> "5",
    							"required" 	=> array('style','not','big_thumb lightbox_gallery'),
    	                        "subtype" => array(
    	                            __('Yes',  'avia_framework' ) =>'lightbox',
    	                            __('No, open the images in the browser window', 'avia_framework' ) =>'aviaopeninbrowser noLightbox',
    	                            __('No, open the images in a new browser window/tab', 'avia_framework' ) =>'aviaopeninbrowser aviablank noLightbox',
    	                            __('No, don\'t add a link to the images at all', 'avia_framework' ) =>'avianolink noLightbox')
    	                    	),
    
    	                    array(
    		                        "name" 	=> __("Thumbnail fade in effect", 'avia_framework' ),
    		                        "desc" 	=> __("You can set when the gallery thumbnail animation starts", 'avia_framework' ),
    		                        "id" 	=> "lazyload",
    		                        "type" 	=> "select",
    		                        "std" 	=> "avia_lazyload",
    							"required" 	=> array('style','not','big_thumb lightbox_gallery'),
    		                        "subtype" => array(
    		                            __('Show the animation when user scrolls to the gallery',  'avia_framework' ) =>'avia_lazyload',
    		                            __('Activate animation on page load (might be preferable on large galleries)', 'avia_framework' ) =>'deactivate_avia_lazyload')
    		                    ),
    
    							array(
    									"type" 	=> "close_div",
    									'nodescription' => true
    								),	
    
    		                	array(
    									"type" 	=> "tab",
    									"name"	=> __("Screen Options",'avia_framework' ),
    									'nodescription' => true
    								),
    
    								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
    						),	
    
    						);
    
    			}
    
    			/**
    			 * 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['innerHtml'] = "<img src='".$this->config['icon']."' title='".$this->config['name']."' />";
    				$params['innerHtml'].= "
    <div class='avia-element-label'>".$this->config['name']."</div>
    ";
    				$params['content'] 	 = NULL; //remove to allow content elements
    				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 = "")
    			{
    
    	        	extract(AviaHelper::av_mobile_sizes($atts)); //return $av_font_classes, $av_title_font_classes and $av_display_classes 
    
    				$output  = "";
    				$first   = true;
    
    				if(empty($atts['columns']) && isset($atts['ids']))
    				{
    					$atts['columns'] = count(explode(",", $atts['ids']));
    					if($atts['columns'] > 10) { $atts['columns'] = 10; }
    				}
    
    				extract(shortcode_atts(array(
    				'order'      	=> 'ASC',
    				'thumb_size' 	=> 'thumbnail',
    				'size' 			=> '',
    				'lightbox_size' => 'large',
    				'preview_size'	=> 'portfolio',
    				'ids'    	 	=> '',
    				'ajax_request'	=> false,
    				'imagelink'     => 'lightbox',
    				'style'			=> 'thumbnails',
    				'columns'		=> 5,
                    'lazyload'      => 'avia_lazyload',
                    'crop_big_preview_thumbnail' => 'avia-gallery-big-crop-thumb'
    				), $atts, $this->config['shortcode']));
    
    				$attachments = get_posts(array(
    				'include' => $ids,
    				'post_status' => 'inherit',
    				'post_type' => 'attachment',
    				'post_mime_type' => 'image',
    				'order' => $order,
    				'orderby' => 'post__in')
    				);
    
    				//compatibility mode for default wp galleries
    				if(!empty($size)) $thumb_size = $size;
    
    				if('big_thumb lightbox_gallery' == $style)
    				{
    					$imagelink = 'lightbox';
    					$lazyload  = 'deactivate_avia_lazyload';
    					$meta['el_class'] .= " av-hide-gallery-thumbs";
    				}
    
    				if(!empty($attachments) && is_array($attachments))
    				{
    					self::$gallery++;
    					$thumb_width = round(100 / $columns, 4);
    
                        $markup = avia_markup_helper(array('context' => 'image','echo'=>false, 'custom_markup'=>$meta['custom_markup']));
    					$output .= "
    <div class='avia-gallery {$av_display_classes} avia-gallery-".self::$gallery." ".$lazyload." avia_animate_when_visible ".$meta['el_class']."' $markup>";
    					$thumbs = "";
    					$counter = 0;
    
    					foreach($attachments as $attachment)
    					{
    						$link	 =  apply_filters('avf_avia_builder_gallery_image_link', wp_get_attachment_image_src($attachment->ID, $lightbox_size), $attachment, $atts, $meta);
    						$custom_link_class = !empty($link['custom_link_class']) ? $link['custom_link_class'] : '';
    						$class	 = $counter++ % $columns ? "class='$imagelink $custom_link_class'" : "class='first_thumb $imagelink $custom_link_class'";
    						$img  	 = wp_get_attachment_image_src($attachment->ID, $thumb_size);
    						$prev	 = wp_get_attachment_image_src($attachment->ID, $preview_size);
    
    						$caption = trim($attachment->post_excerpt) ? wptexturize($attachment->post_excerpt) : "";
    						$tooltip = $caption ? "data-avia-tooltip='".$caption."'" : "";
    
                            $alt = get_post_meta($attachment->ID, '_wp_attachment_image_alt', true);
                            $alt = !empty($alt) ? esc_attr($alt) : '';
                            $title = trim($attachment->post_title) ? esc_attr($attachment->post_title) : "";
                            $description = trim($attachment->post_content) ? esc_attr($attachment->post_content) : esc_attr(trim($attachment->post_excerpt));
    
                            $markup_url = avia_markup_helper(array('context' => 'image_url','echo'=>false, 'id'=>$attachment->ID, 'custom_markup'=>$meta['custom_markup']));
    
    						if( strpos($style, "big_thumb") !== false && $first)
    						{
    							$big_thumb = "<a class='avia-gallery-big fakeLightbox $imagelink $crop_big_preview_thumbnail $custom_link_class' href='".$link[0]."'  data-onclick='1' title='".$description."' ><span class='avia-gallery-big-inner' $markup_url>";
    							$big_thumb .= "	<img width='".$prev[1]."' height='".$prev[2]."' src='".$prev[0]."' title='".$title."' alt='".$alt."' />";
    			   if($caption) $big_thumb .= "	<span class='avia-gallery-caption'>{$caption}</span>";
    							$big_thumb .= "</span></a>";
    						}
    
    						$thumbs .= " <a href='".$link[0]."' data-rel='gallery-".self::$gallery."' data-prev-img='".$prev[0]."' {$class} data-onclick='{$counter}' title='".$description."' $markup_url><img {$tooltip} src='".$img[0]."' width='".$img[1]."' height='".$img[2]."'  title='".$title."' alt='".$alt."' /></a>";
    
    						$first = false;
    					}
    
    					$output .= "
    <div class='avia-gallery-thumb'>{$thumbs}</div>
    {$big_thumb}";
    					$output .= "</div>
    ";
    
    					$selector = !empty($atts['ajax_request']) ? ".ajax_slide" : "";
    
    					//generate thumb width based on columns
    					$this->extra_style .= "<style type='text/css'>";
    					$this->extra_style .= "#top #wrap_all {$selector} .avia-gallery-".self::$gallery." .avia-gallery-thumb a{width:{$thumb_width}%;}";
    					$this->extra_style .= "</style>";
    
    					if(!empty($this->extra_style))
    					{
    
    						if(!empty($atts['ajax_request']) || !empty($_POST['avia_request']))
    						{
    							$output .= $this->extra_style;
    							$this->extra_style = "";
    						}
    						else
    						{
    							$this->non_ajax_style = $this->extra_style;
    							add_action('wp_footer', array($this, 'print_extra_style'));
    						}
    					}
    
    				}
    
    				return $output;
    			}
    
    			function print_extra_style()
    			{
    				echo $this->non_ajax_style;
    			}
    
    	}
    }
    
    

    and add this code to the quick css field:

    
    #top div .avia-gallery .avia-gallery-big {
        width: 100%;
    }
    

    Best regards,
    Peter

    #1011569

    Hi,
    I found that you must add the font-weight with Font Awesome 5 Free.
    First add this code to the end of your functions.php file in Appearance > Editor:

    		function Font_Awesome_5(){
    			?>
    			<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
    			<?php
    			}
    			add_action('wp_head', 'Font_Awesome_5');

    Then format your css like this:

    a.frontpagelink:after {
        text-align: center;
        content: "\f105"; 
        font-family: "Font Awesome 5 Free"; 
        font-size: 18px;
        font-weight: 900;
        color: #fff;
        margin-left: 12px;
        display: inline-block;
    }

    Best regards,
    Mike

    #1011374

    Hi,

    I’ve have a similar issue. In my functions.php I have:

    function avia_add_fontawesome(){
    ?>
    <script src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
    <?php
    }
    add_action('wp_head', 'avia_add_fontawesome');

    In my custom CSS:
    a.frontpagelink:after { text-align: center;
    content: “\f105″;
    font-family: FontAwesome!important;
    font-size: 18px;
    color: #ffffff;
    margin-left:12px;
    display: inline-block;
    }`
    And in my code: <a class=”frontpagelink” etc.
    For some reason the required Font Awesome “angle-right” doesn’t show up. (see screendump)

    What is going wrong here?

    Best regards,

    Steven

    #1011346

    Hey lrdh,

    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

    
    #top #header .av-main-nav > li > a {
        font-size: 24px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1011312

    Hi poppenhaeger,

    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 (min-width: 768px) and (max-width: 1024px) {
      .av-image-caption-overlay-center {
        font-size: 13px !important;
      }
    }
    @media only screen and (min-width: 1440px) {
       .av-image-caption-overlay-center {
        font-size: 22px !important;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1011294

    I think I found the solution.

    The Mailchimp form uses some of its own selectors (e. g. font-weight, font-size, font-family etc.) on certain elements.
    The font-weight of the placeholder seemed to be the problem as it looked way bolder than the rest.
    Instead, the font-weight was displaying right but the font-family differed causing the placeholder to look like it had a different font-weight.

    To style the Mailchimp form according to your website style, use as follows and fill in your values where “inherit” doesn’t work.

    .avia-mailchimp-form label {
         font-weight: inherit !important;
         font-size: inherit !important;
    }
    
    .avia-mailchimp-form input {
         font-family: Quicksand !important;
         font-size: inherit !important;
    }
    
    .avia-mailchimp-form ::placeholder {
         font-family: Quicksand !important;
    }

    PS: Is it possible to change my avatar in this support forum? I couldn’t find any place to do so.

    #1011286
    lrdh
    Participant

    Where can I change the size of the font in the Main Navigation ?
    I try in advance style, but nothing change

    #1011199
    mrpacogp
    Participant

    Hi, i`m trying to get this working on enfold, but isn´t showing nothing if i use condition for language:

    function enfold_customization_add_to_header() {
    	 if(get_locale() == 'en_en') { 
    	echo do_shortcode("[av_button label='Book' link='manually,https://mydomain.com/test/' link_target='' size='large'  icon_select='no' icon='ue800' font='entypo-fontello' font-size='0.1em' custom_class='bookbtn']");
    	} 
    	if(get_locale() == 'es_es') {
    	echo do_shortcode("[av_button label='Reservar' link='manually,https://mydomain.com/test/' link_target='' size='large'  icon_select='no' icon='ue800' font='entypo-fontello' font-size='0.1em' custom_class='bookbtn']");
    	} 
    }

    I was trying with es_es en_gb en only, etc…

    Well, i`m sorry, its working if i use es_ES like this, but, this is a bit hard to configure it for any locale.
    I`m using WPML translate, can i check if im using in url /en/ or /es/ ?

    • This topic was modified 7 years, 7 months ago by mrpacogp.
    #1011194
    poppenhaeger
    Participant

    Hi there,
    I am looking for a way to optimize the font size for the text in picture overlays.
    In my case, the appear to be to small on larger screens and too big on smaller screen (e.g. tablet, smartphone).

    Is there a solution for this?
    Thanks!

    #1011136

    In reply to: Layer slider

    Hi

    Thanks for coming back to me I have tried the first code but unfortunately, the columns are still covering the layer slider.

    With regard to the second code is this in addition to the code I have put in the Quick CSS i.e.

    @media only screen and (max-width: 479px) {
    #layerslider_10 .ls-wrapper.ls-bg-outer, #layerslider_10,
    #layerslider_10 .ls-wrapper.ls-bg-wrap img {
    height: 200px !important;
    }
    #layerslider_10 .ls-wrapper.ls-in-out img {
    width: 135px !important;
    height: 50px !important;
    }
    #layerslider_10 .ls-wrapper.ls-in-out h1 {
    font-size: 14px !important;
    margin-left: -60px !important;
    }
    }

    Also, do I put it in the Quick CSS or elsewhere I am a little of unsure. Sorry for so many questions. I’m also using a child theme.

    Thanks

    • This reply was modified 7 years, 7 months ago by info224.
Viewing 30 results - 6,211 through 6,240 (of 18,739 total)