-
AuthorSearch Results
-
July 4, 2016 at 5:34 am #656380
In reply to: search field not typable
Hi,
Try the following CSS code instead. The first code is for the search result possibilities that appear below and the second is to change the color for the text color in the search field:
.header_color .ajax_search_excerpt { color: #ffffff; } #top .header_color input[type='text'] { color: #000000; }Best regards,
JordanJuly 4, 2016 at 4:12 am #656372In reply to: Hellobar and Sticky Sub-menu conflict
Hi,
Thank you for the info. Please try this in the Quick CSS field:
#hellobar-pusher { margin-top: -50px; margin-bottom: 20px; }And this code in the functions.php file:
// custom script function add_custom_script(){ ?> <script> (function($){ function g() { var scrolled = $('.header-scrolled').length; if( scrolled == 1 ) { $('#hellobar-pusher').css('display', 'none'); } else { $('#hellobar-pusher').css('display', 'block'); } } $(window).scroll(function() { g(); }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');Best regards,
IsmaelJuly 4, 2016 at 3:40 am #656369In reply to: Two, hopefully, simple header questions
Hi,
I have one more problem where empty cells on the attached page show – {{content-8}} (scroll towards the bottom of the page to see the tables)
I think it might be because I am using H Tags in some of the other cells?Is this the thread? https://kriesi.at/support/topic/weird-problem-with-empty-cells/
If yes, we will close this one and continue on the other thread. Please create a test page so that we can see the issue.
Best regards,
IsmaelJuly 4, 2016 at 2:54 am #656359Topic: Google maps widget works locally but not on server
in forum Enfoldscotthco
ParticipantHi Guys:
I’m running WP 4.5.3. I was running Enfold 3.5.4, just updated to 3.6.1 and am having the same problem in the latest version. The google maps ALB media element works fine on my local development box, even when I hit it from outside my local network. However when I hit the same page on the live site, it does not. With Enfold 354, my Firefox showed the following Javascript error: This page was unable to display a Google Maps element. Please contact the site administrator. If you are the administrator of this site, please check the JavaScript console or check the following page for troubleshooting: http://g.co/mapsJSApiErrors. However upon checking the javascript console, there was nothing. I tried the page mentioned, but since nothing showed in the console, there was nothing to lookup. Now under Enfold 361, I get nothing but a gray box with a “!” icon in the middle in Firefox desktop. My Firefox mobile shows, “Oops! Something went wrong. This page didn’t load Google Maps correctly. See the Javascript console for technical details.” Once again, nothing in the JS console.
If you need to see the page, I’ll put the URL in the private content area below.
Any suggestions???
Thanks!
July 4, 2016 at 12:48 am #656353Topic: Add text in top bar
in forum Enfoldguillaume14
ParticipantHi,
I use the phone/extra-info option to display some text in the top var (left aligned). I need to add another text sentence in the top but right aligned: how can i do that please ?When the site is displayed on a a smartphone i would like a carriage return after the phone info so each text sentence can be displayed on a separate line.
Thanks a lot in advance
Guillaume
July 3, 2016 at 11:53 pm #656340In reply to: custom avia css
Hi,
Some of the css rules does not make sense. I assume you are trying to place the search box next to the search icon as seen in the below screenshot.
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.avia-search-tooltip { margin-top:-66px!important; border-radius: 0px; box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0); border-width: 0px; border-style: solid; }Best regards,
VinayJuly 3, 2016 at 8:39 pm #656319Topic: Page is loading at bottom.
in forum Enfoldrmavila
ParticipantHello, I have a VFP Pro Form plugin on my page. When I reload it, it loads at the bottom where the form is. Can some one help me fix this> When I remove the form, it loads at the top again. Thank you so much.
July 3, 2016 at 7:54 pm #656309Topic: Is Enfold usable for major companies?
in forum EnfoldSpecial K
ParticipantHi Support Team,
I want to create a enfold website for my boss company. Its a major company with over 40 offices whitin one country. As you understand its really big. Now I’m wondering if Enfold is good enough to use for major companies. I was wondering about the following: can it handle a lot of trafic? Is it safe enought or is it difficult to hack, is the template fast enough (we have a top position in Google and we would like to remain to have it…of course we need to keep having a goog SEO).
I’m asking you this because I’ve invited some companies to discus a new website. And I suggested to use Enfold, so that they dont have to build a new template, which will safe my boss a lot of money, and I can do most of the building myself. But the webdesign companies wherent that possitive about enfold. They told me it has a lag of safety (easy to hack) and not fast enough, and cant handle a lot of trafic so it will crash a lot. This could be their strategy to scare me off…but I need to know for sure that Enfold is good enough. Myself I dont see any difference between enfold and the template of the webdesign companies…My opinion is that enfold is much better as it has more functionalities…I’m very happy to use enfold for my own customers as a freelancer. it always work perfect.
Could you please give your honest opinioin about using enfold for major companies?
Thanks in advance.
SpecialK
July 3, 2016 at 6:43 pm #656294In reply to: Remove "All" options from magazine shortcode.
Hey Basilis,
Hiding of Link with
{display: none}won’t solve the problem.On initial page load “All” will be active and Related content area “av-magazine-group” will be displayed. When I will click on “Breaking News” — It will be active and related contet area “av-magazine-group” will be displayed (visible).
I want to remove “All” link as well as it’s content block (Div). And “Breaking News” should be active along with it’s proper filtered content.
Let me know If you want more information.
Currently it’s binding click event from “shortcode.js”
$.fn.aviaMagazine = function( options ) { console.log(this.length); if(!this.length) return; return this.each(function() { var _self = {}; _self.magazine = $(this), _self.sort_buttons = _self.magazine.find('.av-magazine-sort a'); _self.container = _self.magazine.find('.av-magazine-group'); _self.sort_bar = _self.magazine.find('.av-magazine-top-bar'); _self.sort_buttons.on('click', function(e){ e.preventDefault(); methods.switchMag(this, _self); } ); }); }-
This reply was modified 9 years, 8 months ago by
ybema.
July 3, 2016 at 6:12 pm #656289In reply to: custom avia css
I’m just trying to change the search popup, the size and all, but the changes i’ve made in the style.css of my enflod-child them are not working :
/*SearchTool*/
.avia-search-tooltip{
position: absolute;
z-index: 9999999;
padding:0;
width: 300px;
top: 85% !important;
margin-left: -120px;
border-radius: 0px;
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
border-width:0px;
border-style: solid;
}July 3, 2016 at 3:27 pm #656264evette
Participanthi, the Demo imported is Flat Business.
On Mobile view, how to make the Logo to be on the cover image, just as in the desktop view (instead of in its own layer)
Thanks

July 3, 2016 at 1:03 pm #656249In reply to: How to make a mega manu with post images?
Hey Mahran2016,
We would be glad to help you with this customization, but at the moment there is no easy way to do this by using a small custom code snippet, so I am afraid its out of the scope of our support.
But please feel free to request such feature at our feature request system: https://kriesi.at/support/enfold-feature-requests/
As an alternate solution
Go to Appearance > Menu and click on the “Screen options” on top right and select post if it is now selected.
Now you can add post to wordpress menu. If that does not help please use a plugin like
https://wordpress.org/plugins/wr-megamenu/
https://wordpress.org/plugins/megamenu/
Best regards,
VinayJuly 3, 2016 at 9:35 am #656231In reply to: Plugin Suggestion for website visitors
Hi,
Glad we could help, please let us know if you should need any more help on the topic.
Regards,
RikardJuly 3, 2016 at 8:29 am #656226In reply to: search field not typable
i’ve put this in quick css :
#top #s {
color:#666666 !important;
}
1. i recogn this is the way to do it, or is there even a more direct way in basic options itself? (in one of the options , i mean)
2. when go typing there’s displaying some possibilities below the search field. now, these possibilties are white text on light blue background, how to change this font color as well?-
This reply was modified 9 years, 8 months ago by
yampieters.
July 3, 2016 at 8:13 am #656224In reply to: Horizontal submenu not showing on smart phones
Hi Ismael,
Great! Thanks for that. The CSS code for the tables worked a treat. The logo image however doesn’t seem to be scaling. Any thoughts what I could do to make this scale on various devices so it’s not overlapping across the top menu.
Kind regards,
Steffen
July 3, 2016 at 7:54 am #656222Topic: Improved Include Page
in forum Enfoldslinder
ParticipantHey Kriesi Team!
Loving the theme and had a quick question. I am looking to install a plugin called Improved Include Page and I wanted to make sure that it won’t break the enfold theme. Before creating this thread, I did some research, but I am not sure if it was resolved (and my Germain isn’t too hot). I found this post in your forum:
https://kriesi.at/support/topic/improved-include-page/Can you let me know if it was corrected and if it’s okay for me to install the plugin?
Thanks in advance!
Steve
July 3, 2016 at 7:42 am #656220In reply to: News Menu Sub Page
Hi,
Glad we could help, please let us know if you should need any more help on the topic.
Regards,
RikardJuly 3, 2016 at 7:41 am #656219In reply to: Search Box Formatting
Hi,
Please try this instead:
#top #s { color:black !important; }Best regards,
RikardJuly 3, 2016 at 4:38 am #656197In reply to: Header Shopping Cart Icon always show on MOBILE
Hey kilimats,
Thank you for using Enfold.
That is the default behaviour of the cart icon on mobile view. If you want to hide it on initial load, please follow the instructions here: https://kriesi.at/support/topic/trouble-with-cart-icon-on-mobile/#post-631242
Best regards,
IsmaelJuly 3, 2016 at 4:36 am #656196In reply to: content collapsing
Hi,
It’s because of the css modifications that you added in the Quick CSS field:
@media only screen and (max-width: 767px) { .avia-section { max-height: 450px !important; padding-top: 25px; } }All color sections will have a maximum height of 450px.
Best regards,
IsmaelJuly 3, 2016 at 4:31 am #656194In reply to: Full screen video slider- video gets cropped
Hi,
I’m sorry but setting it to “stretch” will force the video to overflow outside container in order to keep its aspect ratio. Please add this code to the Quick CSS field to move the video upwards:
.mejs-mediaelement { top: -5%; }Best regards,
IsmaelJuly 3, 2016 at 3:58 am #656186Hey seolotsen,
Thank for using Enfold.
The full width sub menu is meant to be use as an extra or supporting menu. Adding that many top level items will definitely not work because there are limited space in the container. Did you try adding sub menus? Try to group the menu items by category.
Best regards,
IsmaelJuly 3, 2016 at 3:48 am #656183Hi,
Another user provided a solution in an older thread. You might want to check this out: https://kriesi.at/support/topic/woocommerce-2-6-problem-urgent/#post-650142
Best regards,
IsmaelJuly 3, 2016 at 1:44 am #656180Topic: Changing layout on ipad mini to smartphone/ mobile settings
in forum Enfoldsentinelchicken
ParticipantHello,
My website homepage has a large scrolling image with a section of text to the right.
http://www.kingsmeadfield.org.ukThis displays fine on the desktop and converts nicely on the mobile.
However, on the ipad mini the layout looks very odd because the images are so small compared with the text. There just isn’t enough width to make this layout work. Is it possible to force this media size to default to the mobile layout? It already has a mobile menu as I’ve set that for smartphones and tablets.
Whilst I can control various elements in css for certain media sizes, the page uses your layout grids so I’m not sure how to go about repositioning those.
Any help you can give me is much appreciated.
Many thanks,
Yvonne.July 3, 2016 at 1:28 am #656179Topic: Layerslider is messed up
in forum EnfoldZak
ParticipantHello enfold team,
Layerslider has been a royal pain in the butt. As you can see on my page sunpowertt the slider is about the size I want it to be however the caption is far out of the image on the top right and so much white space on top.
Right now the settings show slider width 2200 and height 1550. Changing these numbers seem to give random results. I cannot get it exactly the size I want to.
How can I fix this?
Thanks in advance.
July 3, 2016 at 12:46 am #656174Hi Ismael-
I updated from the previous version, however I think there was a line of code added to the functions.php file due to sliders disappearing after the previous Enfold update. I unfortunately don’t remember what the line of code was though…
I renamed the CSS file and regenerated a new CSS file, and that has fixed the header and footer. However, the custom phone number at the top has disappeared and the Enfold General Styling menu is still messed up.
-
This reply was modified 9 years, 8 months ago by
a3brown4.
July 2, 2016 at 9:34 pm #656157In reply to: Dual Site-wide persistent navigation.
Is there a way that I could perhaps get the “full width sub menu” to show up on other pages easily?
I saw this https://kriesi.at/support/topic/full-width-submenu-on-archive-pages/#post-610474 but I don’t know where this code would be placed, nor if it would show up on blog pages and product pages and tag and category pages..
ENB..//
July 2, 2016 at 8:44 pm #656149In reply to: WPML language switcher centered on sidebar logo menu
Hey!
Please provide us a link of your web site, and we will give the code.
BTW, bumping the topics, drives them to the bottom of the list, not on the top.Thanks a lot
Cheers!
BasilisJuly 2, 2016 at 8:42 pm #656147In reply to: Stack to adding magnific popup
Hey judinash!
It can not be only that code.
You must be needing something else. Have you used that before with enfold?
On which topci we have shared?Thanks a lot
Cheers!
BasilisJuly 2, 2016 at 5:52 pm #656129In reply to: Add new Element to ALB
hello,
i have create a Titeloben.php in shortcodes folder in my child-theme. I attached the php file. What must i change so that the shortcode is working and its a new element. this is the content:
<?php /** * COLUMNS * Shortcode which creates columns for better content separation */ // Don't load directly if ( !defined('ABSPATH') ) { die('-1'); } if ( !class_exists( 'avia_sc_titeloben' ) ) { class avia_sc_titeloben extends aviaShortcodeTemplate{ static $section_count = 0; static $add_to_closing = ""; static $close_overlay = ""; /** * Create the config array for the shortcode button */ function shortcode_insert_button() { $this->config['name'] = __('TitelOben', 'avia_framework' ); $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-titeloben.png"; $this->config['tab'] = __('Layout Elements', 'avia_framework' ); $this->config['order'] = 20; $this->config['shortcode'] = 'titeloben'; $this->config['html_renderer'] = false; $this->config['tinyMCE'] = array('disable' => "true"); $this->config['tooltip'] = __('Creates a section with unique background image and colors', 'avia_framework' ); $this->config['drag-level'] = 1; $this->config['drop-level'] = 1; } /** * 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) { 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); $output = "<div class='avia_layout_section avia_pop_class avia-no-visual-updates ".$name." av_drag' ".$dataString.">"; $output .= " <div class='avia_sorthandle menu-item-handle'>"; $output .= " <span class='avia-element-title'>".$this->config['name']."</span>"; //$output .= " <a class='avia-new-target' href='#new-target' title='".__('Move Section','avia_framework' )."'>+</a>"; $output .= " <a class='avia-delete' href='#delete' title='".__('Delete Section','avia_framework' )."'>x</a>"; if(!empty($this->config['popup_editor'])) { $output .= " <a class='avia-edit-element' href='#edit-element' title='".__('Edit Section','avia_framework' )."'>edit</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 Section','avia_framework' )."' >".__('Clone Section','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'>".ShortcodeHelper::create_shortcode_by_array($name, $content, $args)."</textarea>"; if($content) { $content = $this->builder->do_shortcode_backend($content); } $output .= $content; $output .= "</div></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" => __("Section Layout",'avia_framework' ), 'nodescription' => true ), array( "name" => __("Section Minimum Height",'avia_framework' ), "id" => "min_height", "desc" => __("Define a minimum height for the section. Content within the section will be centered vertically within the section",'avia_framework' ), "type" => "select", "std" => "", "subtype" => array( __('No minimum height, use content within section to define Section height','avia_framework' ) =>'', __('At least 100% of Browser Window height','avia_framework' )=>'100', __('At least 75% of Browser Window height','avia_framework' ) =>'75', __('At least 50% of Browser Window height','avia_framework' ) =>'50', __('At least 25% of Browser Window height','avia_framework' ) =>'25', __('Custom height in pixel','avia_framework' ) =>'custom', ) ), array( "name" => __("Section custom height", 'avia_framework' ), "desc" => __("Define a minimum height for the section. Use a pixel value. eg: 500px", 'avia_framework' ) , "id" => "min_height_px", "required"=> array('min_height','equals','custom'), "std" => "500px", "type" => "input"), array( "name" => __("Section Padding",'avia_framework' ), "id" => "padding", "desc" => __("Define the sections top and bottom padding",'avia_framework' ), "type" => "select", "std" => "default", "subtype" => array( __('No Padding','avia_framework' ) =>'no-padding', __('Small Padding','avia_framework' ) =>'small', __('Default Padding','avia_framework' ) =>'default', __('Large Padding','avia_framework' ) =>'large', __('Huge Padding','avia_framework' ) =>'huge', ) ), /* array( "name" => __("Section Top Border Styling",'avia_framework' ), "id" => "shadow", "desc" => __("Chose a border styling for the top of your section",'avia_framework' ), "type" => "select", "std" => "no-shadow", "subtype" => array( __('Display simple top border','avia_framework' ) =>'no-shadow', __('Display a small styling shadow at the top of the section','avia_framework' ) =>'shadow', __('No border styling','avia_framework' ) =>'no-border-styling', ) ), array( "name" => __("Section Bottom Border Styling",'avia_framework' ), "id" => "bottom_border", "desc" => __("Chose a border styling for the bottom of your section",'avia_framework' ), "type" => "select", "std" => "no-border-styling", "subtype" => array( __('No border styling','avia_framework' ) =>'no-border-styling', __('Display a small arrow that points down to the next section','avia_framework' ) =>'border-extra-arrow-down', ) ), array( "name" => __("Display a scroll down arrow", 'avia_framework' ), "desc" => __("Check if you want to show a button at the bottom of the section that takes the user to the next section by scrolling down", 'avia_framework' ) , "id" => "scroll_down", "std" => "", "type" => "checkbox"), */ 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( "type" => "close_div", 'nodescription' => true ), array( "type" => "tab", "name" => __("Section Background" , 'avia_framework'), 'nodescription' => true ), /* 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" => __("Custom Background Color", 'avia_framework' ), "desc" => __("Select a custom background color for your Section here. Leave empty if you want to use the background color of the color scheme defined above", 'avia_framework' ), "id" => "custom_bg", "type" => "colorpicker", "std" => "", ), array( "name" => __("Custom Background Image",'avia_framework' ), "desc" => __("Either upload a new, or choose an existing image from your media library. Leave empty if you want to use the background image of the color scheme defined above",'avia_framework' ), "id" => "src", "type" => "image", "title" => __("Insert Image",'avia_framework' ), "button" => __("Insert",'avia_framework' ), "std" => ""), array( "name" => __("Custom Logo",'avia_framework' ), "desc" => __("Either upload a new, or choose an existing image from your media library. Leave empty if you want to use the background image of the color scheme defined above",'avia_framework' ), "id" => "srclogo", "type" => "image", "title" => __("Insert Image",'avia_framework' ), "button" => __("Insert",'avia_framework' ), "std" => ""), array( "name" => __("Background Attachment",'avia_framework' ), "desc" => __("Background can either scroll with the page, be fixed or scroll with a parallax motion", 'avia_framework' ), "id" => "attach", "type" => "select", "std" => "scroll", "required" => array('src','not',''), "subtype" => array( __('Parallax','avia_framework' ) =>'parallax' ) ), array( "name" => __("Background Image Position",'avia_framework' ), "id" => "position", "type" => "select", "std" => "top left", "required" => array('src','not',''), "subtype" => array( __('Top Left','avia_framework' ) =>'top left', __('Top Center','avia_framework' ) =>'top center', __('Top Right','avia_framework' ) =>'top right', __('Bottom Left','avia_framework' ) =>'bottom left', __('Bottom Center','avia_framework' ) =>'bottom center', __('Bottom Right','avia_framework' ) =>'bottom right', __('Center Left','avia_framework' ) =>'center left', __('Center Center','avia_framework' ) =>'center center', __('Center Right','avia_framework' ) =>'center right' ) ), /* array( "name" => __("Background Repeat",'avia_framework' ), "id" => "repeat", "type" => "select", "std" => "no-repeat", "required" => array('src','not',''), "subtype" => array( __('No Repeat','avia_framework' ) =>'no-repeat', __('Repeat','avia_framework' ) =>'repeat', __('Tile Horizontally','avia_framework' ) =>'repeat-x', __('Tile Vertically','avia_framework' ) =>'repeat-y', __('Stretch to fit (stretches image to cover the element)','avia_framework' ) =>'stretch', __('Scale to fit (scales image so the whole image is always visible)','avia_framework' ) =>'contain' ) ), */ array( "name" => __("Background Video", 'avia_framework' ), "desc" => __('You can also place a video as background for your section. Enter the URL to the Video. Currently supported are Youtube, Vimeo and direct linking of web-video files (mp4, webm, ogv)', 'avia_framework' ) .'<br/><br/>'. __('Working examples Youtube & Vimeo:', 'avia_framework' ).'<br/> <strong>http://vimeo.com/1084537</strong><br/> <strong>http://www.youtube.com/watch?v=5guMumPFBag</strong><br/><br/>', "id" => "video", "std" => "", "type" => "input"), array( "name" => __("Video Aspect Ratio", 'avia_framework' ), "desc" => __("In order to calculate the correct height and width for the video slide you need to enter a aspect ratio (width:height). usually: 16:9 or 4:3.", 'avia_framework' )."<br/>".__("If left empty 16:9 will be used", 'avia_framework' ) , "id" => "video_ratio", "required"=> array('video','not',''), "std" => "16:9", "type" => "input"), array( "name" => __("Hide video on Mobile Devices?", 'avia_framework' ), "desc" => __("You can chose to hide the video entirely on Mobile devices and instead display the Section Background image", 'avia_framework' )."<br/><small>".__("Most mobile devices can't autoplay videos to prevent bandwidth problems for the user", 'avia_framework' ) ."</small>" , "id" => "video_mobile_disabled", "required"=> array('video','not',''), "std" => "", "type" => "checkbox"), array( "type" => "close_div", 'nodescription' => true ), array( "type" => "tab", "name" => __("Section Background Overlay" , 'avia_framework'), 'nodescription' => true ), array( "name" => __("Enable Overlay?", 'avia_framework' ), "desc" => __("Check if you want to display a transparent color and/or pattern overlay above your section background image/video", 'avia_framework' ), "id" => "overlay_enable", "std" => "", "type" => "checkbox"), array( "name" => __("Overlay Opacity",'avia_framework' ), "desc" => __("Set the opacity of your overlay: 0.1 is barely visible, 1.0 is opaque ", 'avia_framework' ), "id" => "overlay_opacity", "type" => "select", "std" => "0.5", "required" => array('overlay_enable','not',''), "subtype" => array( __('0.1','avia_framework' )=>'0.1', __('0.2','avia_framework' )=>'0.2', __('0.3','avia_framework' )=>'0.3', __('0.4','avia_framework' )=>'0.4', __('0.5','avia_framework' )=>'0.5', __('0.6','avia_framework' )=>'0.6', __('0.7','avia_framework' )=>'0.7', __('0.8','avia_framework' )=>'0.8', __('0.9','avia_framework' )=>'0.9', __('1.0','avia_framework' )=>'1', ) ), array( "name" => __("Overlay Color", 'avia_framework' ), "desc" => __("Select a custom color for your overlay here. Leave empty if you want no color overlay", 'avia_framework' ), "id" => "overlay_color", "type" => "colorpicker", "required" => array('overlay_enable','not',''), "std" => "", ), array( "required" => array('overlay_enable','not',''), "id" => "overlay_pattern", "name" => __("Background Image", 'avia_framework'), "desc" => __("Select an existing or upload a new background image", 'avia_framework'), "type" => "select", "subtype" => array(__('No Background Image', 'avia_framework')=>'',__('Upload custom image', 'avia_framework')=>'custom'), "std" => "", "folder" => "images/background-images/", "folderlabel" => "", "group" => "Select predefined pattern", "exclude" => array('fullsize-', 'gradient') ), array( "name" => __("Custom Pattern",'avia_framework' ), "desc" => __("Upload your own seamless pattern",'avia_framework' ), "id" => "overlay_custom_pattern", "type" => "image", "fetch" => "url", "secondary_img"=>true, "required" => array('overlay_pattern','equals','custom'), "title" => __("Insert Pattern",'avia_framework' ), "button" => __("Insert",'avia_framework' ), "std" => ""), 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 = "") { global $avia_config; avia_sc_titeloben::$section_count ++; $atts = shortcode_atts(array( 'src' => '', 'position' => 'top left', 'repeat' => 'no-repeat', 'attach' => 'scroll', 'color' => 'main_color', 'custom_bg' => '', 'padding'=>'default' , 'shadow'=>'shadow', 'id'=>'', 'min_height' => '', 'min_height_px' => '', 'video' => '', 'video_ratio'=>'16:9', 'video_mobile_disabled'=>'', 'custom_markup' => '', 'attachment' => '', 'attachment_size' => '', 'bottom_border' => '', 'overlay_enable' => '', 'overlay_opacity' => '', 'overlay_color' => '', 'overlay_pattern' => '', 'overlay_custom_pattern' => '', 'scroll_down' => '' ), $atts, $this->config['shortcode']); extract($atts); $output = ""; $class = "avia-section ".$color." avia-section-".$padding." avia-".$shadow; $background = ""; $params['id'] = !empty($id) ? AviaHelper::save_string($id,'-') :"av_section_".avia_sc_titeloben::$section_count; $params['custom_markup'] = $meta['custom_markup']; $params['attach'] = ""; if(!empty($attachment) && !empty($attachment_size)) { $attachment_entry = get_post( $attachment ); if(!empty($attachment_entry)) { if(!empty($attachment_size)) { $src = wp_get_attachment_image_src($attachment_entry->ID, $attachment_size); $src = !empty($src[0]) ? $src[0] : ""; } } } else { $attachment = false; } if($custom_bg != "") { $background .= "background-color: {$custom_bg}; "; } /*set background image*/ if($src != "") { if($repeat == 'stretch') { $background .= "background-repeat: no-repeat; "; $class .= " avia-full-stretch"; } else if($repeat == "contain") { $background .= "background-repeat: no-repeat; "; $class .= " avia-full-contain"; } else { $background .= "background-repeat: {$repeat}; "; } $background .= "background-image: url({$src}); "; $background .= $attach == 'parallax' ? "background-attachment: scroll; " : "background-attachment: {$attach}; "; $background .= "background-position: {$position}; "; if($attach == 'parallax') { $attachment_class = ""; if($repeat == 'stretch' || $repeat == 'no-repeat' ){ $attachment_class .= " avia-full-stretch"; } if($repeat == 'contain' ){ $attachment_class .= " avia-full-contain"; } $class .= " av-parallax-section"; $speed = apply_filters('avf_parallax_speed', "0.3", $params['id']); $params['attach'] .= "<div class='av-parallax' data-avia-parallax-ratio='{$speed}' >"; $params['attach'] .= "<div class='av-parallax-inner {$color} {$attachment_class}' style = '{$background}' >"; $params['attach'] .= "</div>"; $params['attach'] .= "</div>"; $background = ""; } $params['data'] = "data-section-bg-repeat='{$repeat}'"; } else { $attach = "scroll"; } if($custom_bg != "") { $background .= "background-color: {$custom_bg}; "; } if($background) $background = "style = '{$background}'"; /*check/create overlay*/ $overlay = ""; $pre_wrap = "<div class='av-section-color-overlay-wrap'>" ; if(!empty($overlay_enable)) { $overlay_src = ""; $overlay = "opacity: {$overlay_opacity}; "; if(!empty($overlay_color)) $overlay .= "background-color: {$overlay_color}; "; if(!empty($overlay_pattern)) { if($overlay_pattern == "custom") { $overlay_src = $overlay_custom_pattern; } else { $overlay_src = str_replace('{{AVIA_BASE_URL}}', AVIA_BASE_URL, $overlay_pattern); } } if(!empty($overlay_src)) $overlay .= "background-image: url({$overlay_src}); background-repeat: repeat;"; $overlay = "<div class='av-section-color-overlay' style='{$overlay}'></div>"; $class .= " av-section-color-overlay-active"; $params['attach'] .= $pre_wrap . $overlay; } if(!empty($scroll_down)) { if(!$overlay) { $params['attach'] .= $pre_wrap; } $params['attach'] .= "<a href='#next-section' title='' class='scroll-down-link' ". av_icon_string( 'scrolldown' ). "></a>"; } $class .= " avia-bg-style-".$attach; $params['class'] = $class." ".$meta['el_class']; $params['bg'] = $background; $params['min_height'] = $min_height; $params['min_height_px'] = $min_height_px; $params['video'] = $video; $params['video_ratio'] = $video_ratio; $params['video_mobile_disabled'] = $video_mobile_disabled; if(isset($meta['index'])) { if($meta['index'] == 0) { $params['main_container'] = true; } if($meta['index'] == 0 || (isset($meta['siblings']['prev']['tag']) && in_array($meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section ))) { $params['close'] = false; } } $avia_config['layout_container'] = "section"; $output .= avia_new_section($params); $output .= ShortcodeHelper::avia_remove_autop($content,true) ; /*set extra arrow element*/ if(strpos($bottom_border, 'border-extra') !== false) { $backgroundEl = ""; $backgroundElColor = !empty($custom_bg) ? $custom_bg : $avia_config['backend_colors']['color_set'][$color]['bg']; if($backgroundElColor) $backgroundEl = " style='background-color:{$backgroundElColor};' "; avia_sc_titeloben::$add_to_closing = "<div class='av-extra-border-element {$bottom_border}'><div class='av-extra-border-outer'><div class='av-extra-border-inner' {$backgroundEl}></div></div></div>"; } else { avia_sc_titeloben::$add_to_closing = ""; } //next section needs an extra closing tag if overlay with wrapper was added: if($overlay || !empty($scroll_down)) { avia_sc_titeloben::$close_overlay = "</div>"; } else { avia_sc_titeloben::$close_overlay = ""; } //if the next tag is a section dont create a new section from this shortcode if(!empty($meta['siblings']['next']['tag']) && in_array($meta['siblings']['next']['tag'], AviaBuilder::$full_el)) { $skipSecond = true; } //if there is no next element dont create a new section. if we got a sidebar always create a next section at the bottom if(empty($meta['siblings']['next']['tag']) && !avia_has_sidebar()) { $skipSecond = true; } if(empty($skipSecond)) { $new_params['id'] = "after_section_".( avia_sc_titeloben::$section_count ); $output .= avia_new_section($new_params); } unset($avia_config['layout_container']); return $output; } } } if(!function_exists('avia_new_section')) { function avia_new_section($params = array()) { global $avia_section_markup, $avia_config; $defaults = array( 'class'=>'main_color', 'bg'=>'', 'close'=>true, 'open'=>true, 'open_structure' => true, 'open_color_wrap' => true, 'data'=>'', "style"=>'', 'id' => "", 'main_container' => false, 'min_height' => '', 'min_height_px' => '', 'video' => '', 'video_ratio' => '16:9', 'video_mobile_disabled' => '', 'attach' => "", 'before_new' => "", 'custom_markup' => '' ); $defaults = array_merge($defaults, $params); extract($defaults); $post_class = ""; $output = ""; $bg_slider = ""; $container_style = ""; if($id) $id = "id='{$id}'"; //close old content structure. only necessary when previous element was a section. other fullwidth elements dont need this if($close) { $cm = avia_section_close_markup(); $output .= "</div></div>{$cm}</div>".avia_sc_titeloben::$add_to_closing.avia_sc_titeloben::$close_overlay."</div>"; } //start new if($open) { if(function_exists('avia_get_the_id')) $post_class = "post-entry-".avia_get_the_id(); if($open_color_wrap) { if(!empty($min_height)) { $class .= " av-minimum-height av-minimum-height-".$min_height; if($min_height == 'custom' && $min_height_px != "") { $min_height_px = (int)$min_height_px; $container_style = "style='height:{$min_height_px}px'"; } } if(!empty($video)) { $slide = array( 'shortcode' => 'av_slideshow', 'content' => '', 'attr' => array( 'id'=>'', 'video'=>$video , 'slide_type' => 'video', 'video_mute' => true, 'video_loop' => true, 'video_ratio' => $video_ratio, 'video_controls' => 'disabled', 'video_section_bg' => true, 'video_format'=> '', 'video_mobile' =>'', 'video_mobile_disabled'=> $video_mobile_disabled ) ); $bg_slider = new avia_slideshow( array('content' => array($slide) ) ); $bg_slider->set_extra_class('av-section-video-bg'); $class .= " av-section-with-video-bg"; $class .= !empty($video_mobile_disabled) ? " av-section-mobile-video-disabled" : ""; $data .= " data-section-video-ratio='{$video_ratio}'"; } $output .= $before_new; if($class == "main_color") $class .= " av_default_container_wrap"; $output .= "<div {$id} class='{$class} container_wrap ".avia_layout_class( 'main' , false )."' {$bg} {$data} {$style}>"; $output .= !empty($bg_slider) ? $bg_slider->html() : ""; $output .= $attach; $output .= apply_filters('avf_section_container_add','',$defaults); } //this applies only for sections. other fullwidth elements dont need the container for centering if($open_structure) { if(!empty($main_container)) { $markup = 'main '.avia_markup_helper(array('context' =>'content','echo'=>false, 'custom_markup'=>$custom_markup)); $avia_section_markup = 'main'; } else { $markup = "div"; } $output .= "<div class='container' {$container_style}>"; $output .= "<{$markup} class='template-page content ".avia_layout_class( 'content' , false )." units'>"; $output .= "<div class='post-entry post-entry-type-page {$post_class}'>"; $output .= "<div class='entry-content-wrapper clearfix'>"; } } return $output; } } if(!function_exists('avia_section_close_markup')) { function avia_section_close_markup() { global $avia_section_markup, $avia_config; if(!empty($avia_section_markup)) { $avia_section_markup = false; $close_markup = "</main><!-- close content main element -->"; } else { $close_markup = "</div><!-- close content main div -->"; } return $close_markup; } } if(!function_exists('avia_section_after_element_content')) { function avia_section_after_element_content($meta, $second_id = "", $skipSecond = false, $extra = "") { $output = "</div>"; //close section $output .= $extra; //if the next tag is a section dont create a new section from this shortcode if(!empty($meta['siblings']['next']['tag']) && in_array($meta['siblings']['next']['tag'], AviaBuilder::$full_el )){ $skipSecond = true; } //if there is no next element dont create a new section. if(empty($meta['siblings']['next']['tag'])) { $skipSecond = true; } if(empty($skipSecond)) { $output .= avia_new_section(array('close'=>false, 'id' => $second_id)); } return $output; } } -
This reply was modified 9 years, 8 months ago by
-
AuthorSearch Results
-
Search Results
-
Hi Guys:
I’m running WP 4.5.3. I was running Enfold 3.5.4, just updated to 3.6.1 and am having the same problem in the latest version. The google maps ALB media element works fine on my local development box, even when I hit it from outside my local network. However when I hit the same page on the live site, it does not. With Enfold 354, my Firefox showed the following Javascript error: This page was unable to display a Google Maps element. Please contact the site administrator. If you are the administrator of this site, please check the JavaScript console or check the following page for troubleshooting: http://g.co/mapsJSApiErrors. However upon checking the javascript console, there was nothing. I tried the page mentioned, but since nothing showed in the console, there was nothing to lookup. Now under Enfold 361, I get nothing but a gray box with a “!” icon in the middle in Firefox desktop. My Firefox mobile shows, “Oops! Something went wrong. This page didn’t load Google Maps correctly. See the Javascript console for technical details.” Once again, nothing in the JS console.
If you need to see the page, I’ll put the URL in the private content area below.
Any suggestions???
Thanks!
Topic: Add text in top bar
Hi,
I use the phone/extra-info option to display some text in the top var (left aligned). I need to add another text sentence in the top but right aligned: how can i do that please ?When the site is displayed on a a smartphone i would like a carriage return after the phone info so each text sentence can be displayed on a separate line.
Thanks a lot in advance
Guillaume
Topic: Page is loading at bottom.
Hello, I have a VFP Pro Form plugin on my page. When I reload it, it loads at the bottom where the form is. Can some one help me fix this> When I remove the form, it loads at the top again. Thank you so much.
Hi Support Team,
I want to create a enfold website for my boss company. Its a major company with over 40 offices whitin one country. As you understand its really big. Now I’m wondering if Enfold is good enough to use for major companies. I was wondering about the following: can it handle a lot of trafic? Is it safe enought or is it difficult to hack, is the template fast enough (we have a top position in Google and we would like to remain to have it…of course we need to keep having a goog SEO).
I’m asking you this because I’ve invited some companies to discus a new website. And I suggested to use Enfold, so that they dont have to build a new template, which will safe my boss a lot of money, and I can do most of the building myself. But the webdesign companies wherent that possitive about enfold. They told me it has a lag of safety (easy to hack) and not fast enough, and cant handle a lot of trafic so it will crash a lot. This could be their strategy to scare me off…but I need to know for sure that Enfold is good enough. Myself I dont see any difference between enfold and the template of the webdesign companies…My opinion is that enfold is much better as it has more functionalities…I’m very happy to use enfold for my own customers as a freelancer. it always work perfect.
Could you please give your honest opinioin about using enfold for major companies?
Thanks in advance.
SpecialK
hi, the Demo imported is Flat Business.
On Mobile view, how to make the Logo to be on the cover image, just as in the desktop view (instead of in its own layer)
Thanks


Topic: Improved Include Page
Hey Kriesi Team!
Loving the theme and had a quick question. I am looking to install a plugin called Improved Include Page and I wanted to make sure that it won’t break the enfold theme. Before creating this thread, I did some research, but I am not sure if it was resolved (and my Germain isn’t too hot). I found this post in your forum:
https://kriesi.at/support/topic/improved-include-page/Can you let me know if it was corrected and if it’s okay for me to install the plugin?
Thanks in advance!
Steve
Hello,
My website homepage has a large scrolling image with a section of text to the right.
http://www.kingsmeadfield.org.ukThis displays fine on the desktop and converts nicely on the mobile.
However, on the ipad mini the layout looks very odd because the images are so small compared with the text. There just isn’t enough width to make this layout work. Is it possible to force this media size to default to the mobile layout? It already has a mobile menu as I’ve set that for smartphones and tablets.
Whilst I can control various elements in css for certain media sizes, the page uses your layout grids so I’m not sure how to go about repositioning those.
Any help you can give me is much appreciated.
Many thanks,
Yvonne.Topic: Layerslider is messed up

