Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
It is possible to apply a unique class name or ID to the Grid Row element or any elements in the builder, and use those names or selector to specifically target or change the style of the element. The class and ID field can be found in the elements’ Advanced > Developer Settings panel.
Please check the following documentation for more info.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
IsmaelHi,
@ brucegust: The theme only loads the latest version of the merged or compressed file. It doesn’t have a snapshot mechanism where older files can be restored at will. That option does not exist. All the other files in the dynamic_avia folder becomes invalid once the latest version of the file is generated, so you can safely delete them. The theme will just load the newest file. The name of the compressed file is stored in the database.
…could you explain what you mean by, “resave the theme options?” How do you do that and why do you do that?
The theme regenerates the compressed file after saving the theme options, just toggle any option then click the save changes button. The theme checks if compression is enabled, then regenerate the compressed file if it does not exist yet.
And then when you say, “purge the cache” are you referring to the browser history or is there a setting within Enfold that I need to be aware of?
I was referring to a plugin cache. You can set the theme to automatically delete the older files by enabling the Enfold > Performance > Delete old CSS and JS files? option but make sure to purge the plugin cache, if you are using any, to ensure that the latest merged script will be loaded.
I hope that helps.
Best regards,
IsmaelDecember 1, 2021 at 12:35 pm in reply to: Widget filter per price sometimes not displayed in shop overview page sidebar #1331145Hi,
Thank you for the update.
The price filter displays properly in the same “casual” category in the demo.
// https://kriesi.at/themes/enfold-shop/product-category/women/casual/
Please try to create new products, assign the “casual” category to it and see if it changes anything.
Adding this code in the functions.php file might help, but please make sure to create a backup or a restore point before doing so.
function ava_update_woocommerce_version() { if(class_exists('WooCommerce')) { global $woocommerce; if(version_compare(get_option('woocommerce_db_version', null), $woocommerce->version, '!=')) { update_option('woocommerce_db_version', $woocommerce->version); if(! wc_update_product_lookup_tables_is_running()) { wc_update_product_lookup_tables(); } } } } add_action('init', 'ava_update_woocommerce_version');Best regards,
IsmaelHi,
Thank you for the update.
You can use this css code to remove the arrow or the image overlay.
.image-overlay { display: none !important; }To change the slider animation, add this filter in the functions.php file.
add_filter("avf_post_slider_args", function($args) { $args["animation"] = "slide"; return $args; }, 10, 1);If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHey aruizhuidobro,
Thank you for the inquiry.
It seems to be working correctly on our end. The padding of the submit button is already set to 10px. Please try to remove the browser cache, then check the page again.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
The following css should adjust the position of the menu item and make it float to the right of menu container.
#menu-item-100 { float: right; }Best regards,
IsmaelHey mgyura,
Thank you for the inquiry.
There is an extra forward slash in the slider URL (see private field), just after the anchor or the hashtag symbol, which breaks the URL and causes this error.
jquery.min.js?ver=3.6.0:2 Uncaught Error: Syntax error, unrecognized expression: #church?pin=&presbytery=315528
Best regards,
IsmaelHey vincentvanderwielen,
Thank you for the inquiry.
The option is not available out of the box, but you can add the arrow or the html for it manually using a text or code block and apply an anchor to it. You can also use the Icon or Button element. You will have to apply a unique ID to each color section in the page.
Best regards,
IsmaelHi,
Thank you for the update.
You can add the main logo in the Enfold > Theme Options panel. The code that we provided above should add the other two inside the main header. You can add the link tag to add the links and use the css code that we suggested above to control the size of the images.
Best regards,
IsmaelHi,
Do they have the same meta keys? Using the code above should prevent the theme from creating the _av_css_styles custom fields. You might also want to check entries generated by your plugins including contact forms and analytics.
And if you want to completely remove the existing post css files entries from the database, you can run this query.
DELETE FROM wp_postmeta WHERE meta_key = '_av_css_styles';Please make sure to create a site backup or a restore point before doing so.
Best regards,
IsmaelHi,
No problem! Glad we could help. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
You can add the tags the same way as you would when adding tags to posts. Please check the following documentation for more info.
// https://wordpress.com/support/posts/tags/
Best regards,
IsmaelHi,
We already included the css media query above. You can directly add it in the Quick CSS field or in the child theme’s style.css file.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the info.
We cannot reproduce the issue on 1280px or larger screens. Please check the screenshot below.
Screenshot: https://imgur.com/5ySVOBQ
If you want to adjust the width of the container a bit and not make it fullwidth, please look for this code inside the css media query.
#menu-item-581 .avia_mega_div { width: calc(100vw) !important; right: -115px !important; left: auto !important; }Adjust the width and right position value or replace the code with this one.
#menu-item-581 .avia_mega_div { width: calc(100vw – 100px) !important; right: -70px !important; left: auto !important; }Best regards,
IsmaelDecember 1, 2021 at 10:27 am in reply to: Modify the background color and text for products #1331102Hey Bruno,
Thank you for the inquiry.
Looks like you have selected or set the same color for the Primary color and the Highlight color in the Enfold > General Styling > Main Content panel. Please check the color values in there or add this css code to manually adjust the background color of the input tags.
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select { border-color: transparent; background-color: #ffffff; color: #2c335d; }Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Did you add any html tags or custom shortcodes to the post where the issue starts? You have make sure that the html tags are closed properly and that the custom shortcodes render valid html.
Please post the login details in the private field so that we can check the content of the posts. You can use the following plugin to create a login token.
// https://el.wordpress.org/plugins/temporary-login-without-password
Best regards,
IsmaelDecember 1, 2021 at 10:05 am in reply to: Website using server resource limits and crashing #1331100Hey objectifweb,
Thank you for the inquiry.
Where can we check the issue? Would you mind posting the content of the error logs?
You might want to disable the Performance > File Compression settings temporarily to prevent the theme from creating entries in the database, which contain the content of every scripts and stylesheets in the site.
You could also disable the new post css file feature, which also creates entries in the database. Just add this code in the functions.php file.
/** * Filter to skip css file generation. * You can add logic to skip for certain pages/posts only. * * @since 4.8.6.1 * @param boolean $create * @return boolean true | false or anything else to skip generation of css file */ function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );Best regards,
IsmaelDecember 1, 2021 at 9:58 am in reply to: How to create a dynamic webpage where elements open content in the same page #1331098Hey bagha,
Thank you for the inquiry.
That option is not available out of the box but you may be able to create something using the Portfolio AJAX feature. You can check the demo in the following link.
// https://kriesi.at/themes/enfold/portfolio/portfolio-ajax/
Best regards,
IsmaelHey PowerBusWay,
Thank you for the inquiry.
The random order option is working correctly on our installation. Did you add any modifications in the functions.php file? You might have set the default masonry query using a filter.
Best regards,
IsmaelHey ceakins1908,
Thank you for the inquiry.
You can use this css code to adjust the color of the menu text on hover.
#top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .avia-menu-text { color: #ffcc5e; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHey Stefan,
Thank you for the inquiry.
Did you add excerpts to the posts? The post meta info including the date will only display when the post has an excerpt. You can check that in the enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php line 917.
if( ( $show_meta && ! empty( $excerpt ) ) || in_array( $show_meta_data, array( 'always', 'on_empty_content' ) ) ) { // show post meta here if excerpt is not empty }Best regards,
IsmaelDecember 1, 2021 at 9:40 am in reply to: Picture beneath Navigation enfold photography portfolio demo #1331094Hey agentur2c,
Thank you for the inquiry.
What do you mean by “side navigation”? Are you referring to the navigation in the sidebar container? If so, then you can use an image widget in the Appearance > Widgets panel to display a logo in the sidebar. Add the widget in the Sidebar Pages or in the Displayed Everywhere widget area.
Best regards,
IsmaelHi,
Awesome! Glad we could be of help. Please do not hesitate to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHey onizet,
Thank you for the inquiry.
The new custom fields are for the posts css file creation for custom element styles, which is supposed to improve the site speed. But if you are having trouble with the database and you believe that these custom fields are causing it, then you can disable it using this filter in the functions.php.
/** * Filter to skip css file generation. * You can add logic to skip for certain pages/posts only. * * @since 4.8.6.1 * @param boolean $create * @return boolean true | false or anything else to skip generation of css file */ function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );Unfortunately, you cannot disable the other custom fields that we discussed in the previous thread because those fields contain the builder elements or shortcodes.
Best regards,
IsmaelHi,
Thank you for the info.
You might be able to use the wp_is_mobile function to detect if the current device used is mobile and the wp_redirect function to redirect the users to a different page if the first condition is true.
// https://developer.wordpress.org/reference/functions/wp_is_mobile/
// https://developer.wordpress.org/reference/functions/wp_redirect/Best regards,
IsmaelHi,
Glad to know that this is working. It is only temporary, just to make sure that the modified stylesheets are loaded instead of the older one. You can turn it on back again once the changes are applied.
Best regards,
IsmaelNovember 30, 2021 at 10:47 am in reply to: ALB shortcodes are stripped if element gets opened up in backend #1330967Hey Yaphoon,
Thank you for the inquiry.
Yes, it is possible to add tags to the portfolio items. What do you mean by “products”? Are you planning to use the portfolio post type for your products?
Best regards,
IsmaelHi,
Alright. Glad it is finally working. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelNovember 30, 2021 at 9:16 am in reply to: excerpt line breaks not showing in magazine element #1330950Hi,
Right, but it works without even adding the br tags in the blog element
The blog element actually displays the post content, not the excerpt. And it looks like WordPress do not automatically add paragraph tags or create new lines for the excerpt, so if you want the magazine to work the same as the blog element, you have to remove the post excerpt and modify the magazine.php file, around line 1297 look for this code.
$excerpt = ! empty( $entry->post_excerpt ) ? $entry->post_excerpt : avia_backend_truncate( $entry->post_content, apply_filters( 'avf_magazine_excerpt_length', 60 ), apply_filters( 'avf_magazine_excerpt_delimiter', ' ' ), '…', true, '' );Replace it with:
$excerpt = avia_backend_truncate( $entry->post_content, apply_filters( 'avf_magazine_excerpt_length', 60 ), apply_filters( 'avf_magazine_excerpt_delimiter', ' ' ), '…', false, '' );Just make sure that you are not using any shortcodes in any of your posts because what we did with the modification is disable the function that strips the shortcodes and html tags.
Best regards,
Ismael -
AuthorPosts
