-
Search Results
-
Hello.
We’re using Enfold child and when I added a read more button (code below) the size of the element gives what looks like more margin if I scroll it out of sight.
function ava_custom_script_mod(){
?>
<script>
(function($){
$(window).on(‘av-height-change’, function() {
$(‘.av-masonry-entry’).each(function() {
var more = $(this).find(‘.av-masonry-read-more’);
var cont = $(this).find(‘.av-inner-masonry-content-pos’);if( more.length == 1 ) return;
$(‘<div class=”av-masonry-read-more”>Les mer</div>’).insertAfter(cont);
});
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘ava_custom_script_mod’);Topic: Css modifications
Hi.
I would like to know if there is a possibility of inserting the css not inline. On my site the css modifications only work from the wordpress panel, they don’t work on your dashboard or even in the css file of the child theme.
My css is this
#top .logo-title {
transition: opacity 0.4s ease-out;
-moz-transition: opacity 0.4s ease-out;
-webkit-transition: opacity 0.4s ease-out;
-o-transition: opacity 0.4s ease-out;
font-size: 15px;
position: absolute;
left: 80px;
top: -7px;
opacity: 1;
white-space: nowrap;
}
#top .logo-subtitle {
top: 7px;
}
#top .subtext {
float: left;
position: relative;
}
#top .header-scrolled .logo-title {
left: 42px;
}
.excerpt {
color: #ffffff;
left: 29%;
position: absolute;
top: 12%;
font-size: 12px;
font-weight: bold;
}
@media only screen and (max-width: 1140px) {
.excerpt {
display:none;
}
}
.entry-content img {
border-radius:2px;
height:auto !important;
max-width:100%;
display:block;
box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, .4);
border: 1px solid #8a4419;
border-style: inset;
}
.entry-content strong {
font-weight: bold;
}
.main_color .template-archives .tabcontainer a, #top .main_color .tabcontainer .tab:hover, #top .main_color .tabcontainer .tab.active_tab{
color:#4ecac2!important
}
.content a {
font-weight: bold;
}
.entry-content a[target=”_blank”]:after {
font-family: ‘fontello’;
content: ” \f08e”;
}
.entry-content a {
font-weight: bold;
text-decoration: none;
}
.entry-content a:hover{background-size: 100% 2px;
background:-webkit-gradient(linear,left top,right top,from(#ff8a00),to(#e52e71));
background:linear-gradient(to right,#ff8a00,#e52e71);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
-webkit-box-decoration-break:clone;}
Thanks
Best RegardsTopic: Enfold – Upcoming fixes
Hi,
We wanted to create this thread as a channel to share the fixes that will be included in upcoming updates and known issues that are being worked on.
Current fixes for upcoming version 4.7.4.1 are as following (last update 2020-05-12)
- Feature: New alignment options ALB element “Special Heading”
- Feature: input field to add custom subject text for ALB contact form autoresponder email
- Feature: Option for transition effect speed in ALB Easy Slider, Fullwidth Easy Slider, Fullscreen Slider
- Feature: Added options for custom title and alt attribute in ALB image element
- fixed: accordion slider hides some slide item after closing the lightbox
- fixed: small typo instgram
- fixed: WC 4.0 bug grouped products and quantity button not working
- fixed: Transparent logo missing alt and title attr when attachment URL instead ID
- fixed: bbPress and custom footer page not showing correctly on some pages
- fixed: CSS bug Accordion hidden below Special Heading in Color section
- fixed: WP 5.4 Block editor breaks ALB layout in backend
- fixed: removed wrong href in div id=”av-cookie-consent-badge”
- fixed: removed wp_nonce check in reCaptcha V3 to avoid problems with caching plugins
- fixed: bug switching ALB back to Classic Editor broken layout and js errors (WP 5.4 related ?)
- fixed: CSS problem with equal height after individual height columns forming a grid
- fixed: WP 5.4 block editor using ALB – scroll bug dragging ALB elements
- fixed: added a check that $posts is an array in helper-assets.php – caused by 3rd party plugins
- fixed: shifted values in color picker (theme options page)
- fixed: type errors in message text
- Fixed: Plugin conflict calling filter display_post_states incorrectly
- added: filter avf_transparency_logo_data: modify transparency logo url, title, alt attributes
- added: class post-format-{$post_format} to article in postslider.php
- added: filter avf_attachment_copyright_text – allows to filter copyright text in ALB image element
- tweak: new option “Remove query string from static resources” in Performance->Show advanced options
- tweak: Link settings moved to content tab for all ALB button elements
- tweak: ensure function aviaFontManagementBase::get_font_list returns an array
- updated: Italian language files
- updated: Dutch language files
- added: Greek language files
- tweak: All language files have been synchronised – obsolete strings removed
In Pull Requests:
- feature: New demo importer with download of demos from external server
In Progress:
- Responsive images – adding scrset attribute to images
Fixes for released version 4.7.4:
- fixed: catalog CSS not enqueued with ALB WC product elements
- fixed: ADA compliance aria-hidden, aria-label for MOBILE Hamburger menu
- fixed: ALB seperator whitespace with icon: limit width to 45% container width for each ruler
- fixed: small typo tempalte
- fixed: CSS bug icon grid with display tooltip and mobile
- fixed: CSS ALB Gridrow – 1 column with link column not fullwidth
- fixed: CSS indent bug in nested sidebar menus (left/right sidebar, widget menus)
- fixed: Fullwidth Easy Slider issue where auto rotate stops working in Safari after a video slide
- feature: Add custom ID and CSS class to timeline milestones
- feature: Integrate Smash Balloon Instagram Feed plugin (free and pro version)
- Feature: ALB magazine element supports post-format link
- tweak: Option to disable adding timestamp to compressed css and js files
- tweak: Advanced Styling selectors more strict to override standard selectors from stylesheets and custom css
- tweak: ajax search support for WC option “Hide out of stock items from the catalog”
- tweak: use get_title instead of inconsistent use of direct access to post_title in various places
- added: title attribute to postslider link in ALB element
- added: filter avf_postslider_link_title_attr: modify title attribute for link in ALB postslider
- added: filter avf_show_option_toggles_advanced: Adds an extra select option to hide section headers in ALB
- added: filter avf_ajax_search_woocommerce_params: allows to change displaying products out_of_stock, featured and hidden
- added: filter avf_legacy_suppress_wp_filter_post_title: allows a fallback for unfiltered post_title where direct access was used previously
- removed: deprecated classes hentry and vcard (microformats.com)
- updated: French language file – equal alb options translation, “Google” services translated as “Mailchimp”
- updated: Dutch language files
- updated: German language files
- updated: Italian language files
- Extension plugin: “Shortcodes In Post Titles” https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Shortcodes%20In%20Post%20Titles
Fixes for version 4.7.3 are as following
- improved: theme options to disable ALB modal popup options toggles (revert to old ALB design)
- fixed: Blog multiauthor preview image links to author and not to post
- fixed: ADA compliance aria-hidden for social icons and social share buttons
- fixed: social share buttons added with filter no longer shown in 4.7.1.1
- fixed: CSS for reCaptcha V3, added classes for reCaptcha V2 and reCaptcha V3 to form
- fixed: ALB contact form datepicker throws js error when jQuery is loaded in footer
- fixed: ALB editor Add Cell/Set Cell Size buttons not responsive for translations
- fixed: Custom pages query to exclude hiding a page when same page object is queried
- fixed: small typo in Iconbox element
- fixed: Easy Slider caption sizes reverting back to “use default” after making custom settings
- fixed: Google vocabulary.org schema is deprecated
- fixed: Content partially cut off in Cookie modal window on mobile Safari
- added: filter avf_merged_files_unique_id: allows to remove/customize added unique id for merged files
- added: filter avf_folder_security: customize folder security from 755 on folder creation
- tweak: Column links open in new window and not in new tab for some browsers (e.g. FF)
- tweak: Developer fields missing in fullwidth sub menu element
- tweak: improved creation of avia folders and security
- tweak: schema.org markup for testimonials
- Improved GPDR:
- feature: new option Accept essential cookies on pageload, user must opt in for other cookies
- added: Cookie info message now supports starts with, ends with, contains for cookie names (filter avf_privacy_cookie_infos)
- added: description text for some essential WP, WPMLcookies
- fixed: bug with custom wildcard cookies and path not /
- fixed: bug in option allow all cookies and services on pageload
- Updated: Old Instagram icon to new one in social profiles
- Updated: background color for social yelp icon to #d32323 on hover
- updated: German language files, , de_DE GDPR translation adjustments
- updated: Italian language file
- updated: Dutch language files
- updated: French language file – equal alb options translation
Regards,
YigitP.S.: Please do not report issues here, instead start a new thread.
Hello,
If you go to http://www.lager-im-griff.de and scroll down, you will notice that every few seconds the page scrolls a bit. How can I stop that?
Topic: Grid row not 100% responsiv
Hi,
I have a grid row with 3 Media Elements and text above.
On mobile devices
– the first image is moved to the second cell
– the second image is moved to the third cell
– and the third image is moved to a second row in the third cell
the text shrank only a bit and is now partly readable (I got a quick css for the text size from one of you – see below)I also tried to insert the image into the grid cell – but than I don’t get the images at all in the mobile device preview
here is the link https://www.sbot.co.at/#bereiche
sorry I have to paste all used quick css as I don’t know which one is the right
#top .aviaccordion-preview-title-wrap {
background: transparent;
}/* Title and excerpt color */
#top .aviaccordion-excerpt,
#top .aviaccordion-preview-title h3 {
color:#ffffff;
}#top .grid-content h3{
font-size: 22px;
text-align: center;
font-family: sans-serif;
}.isotope_activated .isotope-item {
padding: 10px;
}.aviaccordion-title {
position: absolute;
bottom: 0;
}.av-image-caption-overlay-center {
display: block;
text-align: center;
position: absolute;
bottom: 20px;
}#bottom .gridrow {
border: none;
}#after_submenu_1 {
border-color:transparent !important;
}.av-image-caption-overlay-center {
width:100%;
}span.av-milestone-indicator {
display:none !important;
}#after_section_1, #after_section_2, #after_section_3, #after_section_4, #after_section_5, #after_section_6 {
border: none;
}.header-scrolled #avia-menu li a .avia-menu-text {
color:#000 !important;
}#top #header .av-main-nav > li > a .avia-menu-text {
color: #000 !important;
}
.html_header_glassy #top #header .av-main-nav > li > a .avia-menu-text {
color: #fff !important;
}
.html_header_glassy #top #header.header-scrolled .av-main-nav > li > a .avia-menu-text {
color: #000 !important;
}.av-tab-section-image {
height: 120px !important;
width: 120px !important;
margin-left: auto;
margin-right: auto;
}.av-tab-section-tab-title-container {
background-color: #ffffff;
}.av-inner-tab-title {
width: 80px !important;
font-size: 16px !important;
font-weight: bold !important;
}/* Sticky header on mobile */
@media only screen and (max-width: 767px) {
.responsive #top #main {
/* Margin top value should be equal to header height*/
margin-top: 180px;
}
.responsive #top #wrap_all #header {
position: fixed;
}
}Masonry need press “Load More” button so other posts will be loading
is there a function can make the Masonry auto Load when user scrolling down the page ?
thanks.Hello
For a One-Pager I use Sticky-Header and Anchor-Links. I works very well if I click these Links at a Computer. The page scrolls automatically to the corresponding topic. But on a tablets it doesn’t work, the corresponding topic disappears under the sticky header.Has someone an idea how I can solve this?
Thank you!
Here the Website I#m talking about: http://www.ruthbeilharz.de
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% 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 % based on browser windows height', 'avia_framework' ) => 'percent', __( 'Custom height in pixel', 'avia_framework' ) => '', ) ), array( 'name' => __( 'Section minimum custom height in %', 'avia_framework' ), 'desc' => __( 'Define a minimum height for the gridrow in % 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.
Hello
Some elements aren’t so good on mobile phone. It’s nice on a computer I would like to change some aspect of a “grid row” but only for mobile phone.It’s possible?
On the cell of a grid row, I would like to have : (look at the image)

This is what I want that CSS for mobile :
{
height: 1000px;
min-height: 1000px;
background: url(https://les-cieux.fr/wp-content/uploads/2019/06/2019-05-26-11.09.09-1-728×1030.jpeg) top center no-repeat scroll;
background-size: auto;
vertical-align: top;
padding: 30px;
}and this CSS for normal mode (Computer, Ipad …)
{
height: 1000px;
min-height: 1000px;
background: url(https://les-cieux.fr/wp-content/uploads/2019/06/2019-05-26-11.09.09-1-728×1030.jpeg) top center no-repeat scroll;
background-size: auto;
vertical-align: top;
padding: 30px;
}Hope it’s possible !
Thanks guys ! I love your theme
HI,
After importing the Visual Artist Demo everything displays correctly initially.
When I try to edit any text boxes including the testimonials box various errors occur.For example, There are two text boxes which say “Click here to add your own text”.
When I click on either of these to add my own text in the popup, the Element Preview says“It seems you are currently adding some HTML markup or other special characters. Once all HTML tags are closed the preview will be available again. If this message persists please check your input for special characters and try to remove them.”
The content window contains ALL the following text. It is tricky to delete it, but I have managed to, however, it comes back after saving and viewing the changes.
<p><p><p>[av_section min_height='100' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#6ca9d0' bottom_border_diagonal_direction='' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='' id='' color='main_color' custom_bg='' src='https://byates.com/wp-content/uploads/2015/07/sketch1a-1.jpg' attachment='212' attachment_size='full' attach='fixed' position='center center' repeat='contain' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0'][/av_section][av_section min_height='100' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#ffffff' bottom_border_diagonal_direction='border-extra-diagonal-inverse' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='#6ca9d0' id='' color='main_color' custom_bg='#6ca9d0' src='https://byates.com/wp-content/uploads/2015/07/sketch1b-1.jpg' attachment='213' attachment_size='full' attach='fixed' position='center center' repeat='contain' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0'][/av_section][av_section min_height='100' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#dd71ae' bottom_border_diagonal_direction='' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='' id='' color='main_color' custom_bg='' src='https://byates.com/wp-content/uploads/2015/07/sketch2a-1.jpg' attachment='214' attachment_size='full' attach='fixed' position='center center' repeat='contain' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0'][/av_section][av_section min_height='100' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#ffffff' bottom_border_diagonal_direction='border-extra-diagonal-inverse' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='#dd71ae' id='' color='main_color' custom_bg='#dd71ae' src='https://byates.com/wp-content/uploads/2015/07/sketch2b-1.jpg' attachment='215' attachment_size='full' attach='fixed' position='center center' repeat='contain' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0'][/av_section][av_section min_height='' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#7bc6c7' bottom_border_diagonal_direction='' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='' id='portfolio' color='main_color' custom_bg='' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0'][av_one_full first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_heading tag='h1' padding='20' heading='Do you enjoy my work? here are some other pieces I recently made' color='custom-color-heading' style='blockquote modern-quote modern-centered' custom_font='#000000' size='40' subheading_active='' subheading_size='15' custom_class='' admin_preview_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size=''][/av_heading][/av_one_full][av_one_half first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_textblock size='' font_color='' color='']<br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.<br />[/av_textblock][/av_one_half][av_one_half min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_textblock size='' font_color='' color='']<br />Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo.<br />[/av_textblock][/av_one_half][av_hr class='invisible' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello'][av_masonry_gallery ids='218,219,220,221,222,223' items='6' columns='6' paginate='none' size='fixed' orientation='' gap='large' overlay_fx='active' container_links='active' id='' caption_elements='none' caption_styling='' caption_display='on-hover' color='' custom_bg='' av-medium-columns='' av-small-columns='' av-mini-columns=''][av_hr class='invisible' height='100' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' admin_preview_bg=''][/av_section][av_section min_height='' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#ffffff' bottom_border_diagonal_direction='border-extra-diagonal-inverse' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='#7bc6c7' id='about' color='main_color' custom_bg='#7bc6c7' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0'][av_one_full first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_heading tag='h1' padding='20' heading='A little bit about me...' color='custom-color-heading' style='blockquote modern-quote modern-centered' custom_font='#ffffff' size='40' subheading_active='' subheading_size='15' custom_class='' admin_preview_bg='rgb(34, 34, 34)' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size=''][/av_heading][/av_one_full][av_one_third first min_height='av-equal-height-column' vertical_alignment='av-align-middle' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top' mobile_breaking='' mobile_display=''][av_image src='https://byates.com/wp-content/uploads/2015/07/desat-girl-m5-1.jpg' attachment='216' attachment_size='full' align='center' styling='circle' hover='' link='' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation' admin_preview_bg=''][/av_image][/av_one_third][av_one_third min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_textblock size='' font_color='custom' color='#ffffff' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' admin_preview_bg='rgb(34, 34, 34)']<br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis.Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.<br />[/av_textblock][/av_one_third][av_one_third min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_textblock size='' font_color='custom' color='#ffffff' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' admin_preview_bg='rgb(34, 34, 34)']<br />Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdteger tincidunt.<br />[/av_textblock][/av_one_third][av_hr class='invisible' height='100' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' admin_preview_bg=''][/av_section][av_section min_height='' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='border-extra-diagonal' bottom_border_diagonal_color='#acc7a7' bottom_border_diagonal_direction='' bottom_border_style='' scroll_down='aviaTBscroll_down' custom_arrow_bg='' id='' color='main_color' custom_bg='' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0']<br />[av_heading tag='h1' padding='20' heading='What my customers say about me' color='' style='blockquote modern-quote modern-centered' custom_font='' size='40' subheading_active='' subheading_size='15' custom_class='' admin_preview_bg='rgb(255, 255, 255)' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size=''][/av_heading][av_testimonials style='slider_large' columns='2' interval='5' font_color='' custom_title='' custom_content='']<br />[av_testimonial_single src='' name='Macky Mac' subtitle='' link='' linktext='']<br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.<br />[/av_testimonial_single]<br />[av_testimonial_single src='' name='Franco Moriti' subtitle='' link='' linktext='']<br />Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.<br />[/av_testimonial_single]<br />[/av_testimonials][av_hr class='invisible' height='100' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' admin_preview_bg='']<br />[/av_section][av_section min_height='' min_height_px='500px' padding='huge' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#ffffff' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='#7bc6c7' id='contact' color='main_color' custom_bg='#acc7a7' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' av_element_hidden_in_editor='0']<br />[av_one_full first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_heading tag='h1' padding='20' heading='Get in touch' color='custom-color-heading' style='blockquote modern-quote modern-centered' custom_font='#ffffff' size='40' subheading_active='' subheading_size='15' custom_class='' admin_preview_bg='rgb(34, 34, 34)' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size=''][/av_heading][/av_one_full][av_one_half first min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top' mobile_breaking='' mobile_display=''][av_contact email='' title='' button='Submit' on_send='' sent='Your message has been sent!' link='manually,http://' subject='' autorespond='' captcha='' hide_labels='aviaTBhide_labels' form_align='' color='av-custom-form-color av-light-form' admin_preview_bg='rgb(34, 34, 34)']<br />[av_contact_field label='Name' type='text' check='is_empty' options='' multi_select='' av_contact_preselect='' width=''][/av_contact_field]<br />[av_contact_field label='E-Mail' type='text' check='is_email' options='' multi_select='' av_contact_preselect='' width=''][/av_contact_field]<br />[av_contact_field label='Message' type='textarea' check='is_empty' options='' multi_select='' av_contact_preselect='' width=''][/av_contact_field]<br />[/av_contact][/av_one_half][av_one_half min_height='' vertical_alignment='av-align-top' space='' margin='0px' margin_sync='true' padding='0px' padding_sync='true' border='' border_color='' radius='0px' radius_sync='true' background_color='' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' animation='bottom-to-top'][av_textblock size='' font_color='custom' color='#ffffff' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' admin_preview_bg='rgb(34, 34, 34)']<br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.<br />[/av_textblock][/av_one_half]<br />[/av_section]</p></p>

