Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the info.
. It will not follow the sorting in the grid layout either, unless the posts are sorted by date.
The plugin will not affect the order the post nav because it is using the get_adjacent_posts functionIf you need to reverse the previous and next arrows, adding this code in the functions.php file should work.
add_filter("avf_post_nav_loop_args", function($args, $settings) { $args["orderby"] = array( 'post_date' => "ASC", 'ID' => "ASC"); return $args; }, 10, 2);Best regards,
IsmaelHey annevoelkel,
Thank you for the inquiry.
Did you disable the default layer slider from the Enfold > Layout Builder > Integrated (Bundled) LayerSlider Plugin settings? You can also remove the default plugin files and the default sliders completely but you will no longer have access to the sliders in the future, at least not without re-importing the demo or manually adding them in the database.
Best regards,
IsmaelHi,
Yes, please try use @Guenni007’s solution instead of the previous code that we suggested.
Best regards,
IsmaelHi,
Thank you for the update.
That is the default shorcode of the Page Content element. The value “page,12” in the link attribute represents a page with the ID 12. You can enable the debug mode to see the actual shortcodes below the Advance Layout Builder (ALB).
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
Best regards,
IsmaelHey ratputin,
Thank you for the inquiry.
We are not yet sure why the icons are not displaying correctly, but we can see the following error in the console, which might be related to the issue.
Uncaught SyntaxError: Invalid or unexpected tokenCan we deactivate the plugins temporarily? You should also toggle or temporarily disable the Enfold > Performance > File Compression settings to regenerate the scripts and stylesheets.
Best regards,
IsmaelSeptember 28, 2021 at 5:34 am in reply to: Could not connect to the internet. Please reload the page and try again #1322565Hey go4win,
Thank you for the inquiry.
Looks like you had lost connection while checking the private key. Please provide the Envato key in the private field so that we can test it on our end. You should also upgrade PHP to version 8.0, before doing the demo import again.
We may need to reset the database before attempting to import the demo again. Is that alright?
Where is the site hosted? You might have to ask your hosting provider to whitelist this IP address (85.13.149.161) to allow connection to the source of the demo files.
Best regards,
IsmaelSeptember 28, 2021 at 5:19 am in reply to: Mix-Blend-Mode an image over the top of a colour section. #1322563Hey Thedogscreative,
Thank you for the inquiry.
This is not going to work with columns and color section because of how the containers are stacked up. The main color section container is not the direct parent of the columns, so the css property mix-blend-mode if applied to the column container or its content will not affect or will not blend in with the color section background.
// https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode
Markup:
<div class="example-container"> <img id="example-element" src="../../media/examples/firefox-logo.svg" width="200" style="mix-blend-mode: hard-light;"></div>The mix-blend-mode property is applied to the image element, which works as expected because the example-container which has an orange background, is the direct parent of the image element.
Best regards,
IsmaelHey neotel2k,
Thank you for the inquiry.
Which element does the warnings or errors pertains to? You may need to adjust the space between the elements with css. Please provide more info about the warnings so that we can understand the issue better.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
Have you tried using the Page Content shortcode in the widget area? Looks like the page layout is broken. It is possible that there are invalid markup in the widget or there are unclosed html tags. Creating a custom page and displaying it using the Page Content is safer and is less prone to code errors because you will only be using a single line of shortcode.
[av_postcontent link='page,12' av_uid='av-ku2m2bik' sc_version='1.0']Best regards,
IsmaelHey jetsaveurs.com,
Thank you for the inquiry.
The h1 tag is declared in the wp-content/themes/enfold/config-woocommerce/config.php file around line 1177 within the function named avia_woocommerce_parallax_banner. Look for this code.
$output .=' <div class="container">'; $output .='<main class="template-page content av-content-full alpha units">'; if($description) $output .= " <h1>".$description."</h1> "; $output .='</main></div> </div> </div> ';Best regards,
IsmaelHey top1projects,
Thank you for the inquiry.
1-2.) You can display a different slider element on mobile view by toggling the Element Visibility options in the Advanced > Responsive Settings panel. You can hide the current slider on mobile view, display a different slider and use images that are specifically resized for smaller screens. You can also use a full screen slider if you want a slider that automatically inherits the view port height.
Best regards,
IsmaelSeptember 27, 2021 at 8:54 am in reply to: Header Layout: Logo left, Widgets right, menu below #1322433Hey misterman,
Thank you for the inquiry.
You have to update the theme to version 4.8.6.3 first before doing the modifications described in the previous thread. After the update and after adding the css code, make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings to regenerate the scripts and stylesheets. The update should also revert the Appearance > Widgets panel to its classic display and fix the errors.
Best regards,
IsmaelHey Yory,
Thank you for the inquiry.
You can use this code in the Quick CSS field to adjust the direction of the text on a specific page.
.single.postid-2416 { direction: ltr; }The number 2416 in the css code above is the ID of the post. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
No problem. Unfortunately, you cannot use the advance layout builder (ALB) to adjust the layout of the archive pages. You will have to manually edit the archives.php template for that. Another solution is to create a custom category page using the ALB, then do a 301 redirect to display the custom page instead of the default archive page. The following plugin should help.
// https://wordpress.org/plugins/eps-301-redirects/
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 bobfurgo,
Thank you for the inquiry.
There should be no next post because NYC is the latest post and the very last item in the list. It will not loop back to the oldest post.
Did you modify the post navigation? We were not able to check because the Appearance > Editor panel is not accessible.
Best regards,
IsmaelHi,
You do not have to do the modification again because it was directly done in the template file (test template). We just removed the following container.
<div class="container"> // content here</div> <!-- close .container -->Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
Yes, please post the WordPress and FTP login details in the private field so that we can check the issue properly. We may need to adjust the product shortcodes so that it can properly retrieve prices with different currencies generated by the plugin.
Best regards,
IsmaelHi,
Your first suggestion was to change the JS file enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.js. Is that change still necessary or shall I go back to the original JS file?
You can now revert the modifications in the toggle.js file. The “no-scroll” class name was added directly in the toggle content as we mentioned above. Unfortunately, you may need to hire a freelance developer if you need to adjust or extend the default behavior of the toggle.
Best regards,
IsmaelHi,
Thank you for the update.
You may need to add the css code that @Guenni007 suggested above to fix the link alignment. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the code.
.phone-info a { display: inline-block }Best regards,
IsmaelSeptember 27, 2021 at 4:18 am in reply to: Set layout builder Template as default when creating new post #1322399Hi,
It is possible but you will have to create your own routine using the aviaSaveBuilderTemplate class. Before post creation or on transition_post_status, you could trigger a function that retrieves a specific template and subsequently applies it to the newly created post. Unfortunately, this is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.
Best regards,
IsmaelHi,
We modified the themes > enfold > includes > loop-index.php file via the Appearance > Editor panel and replaced line 143.
//echo preview image if( strpos( $blog_style, 'big' ) !== false || strpos( $blog_style, 'custom' ) !== false )To increase the size of the logo on mobile, please add this code in the Quick CSS field.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive .logo img { max-height: 150px; } .responsive #top .logo { height: 150px !important; } .responsive #top #header_main>.container .main_menu .av-main-nav>li>a, .responsive #top #wrap_all .av-logo-container { height: 150px; line-height: 150px; } .responsive #top #header .main_menu .social_bookmarks { display: block; position: relative; margin-top: 20px; } }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,
IsmaelHi,
Thank you for the clarification.
We adjusted the filter in the functions.php file a bit and used the get_the_term_list function. You will now see a list of categories below the title. (see private field)
/*add category titles*/ add_filter("avf_post_slider_entry_excerpt", function($excerpt, $prepare_excerpt, $permalink, $entry) { $excerpt = get_the_term_list($entry->ID, "category", '', ', ') . "<br>" . $excerpt; return $excerpt; }, 10, 4);Best regards,
IsmaelHi,
Thank you for the info.
Looks like you are using a different slider in the portfolio preview and you have embedded it using a code block. Please check the screenshot below.
Screenshot: https://imgur.com/sHo6DY2
You may need to modify the embedded code manually to adjust the size of the slider images.
Best regards,
IsmaelHi,
Sorry about that. There was a minor error in the filter. We adjusted it now. Please try it again and let us know if it changes anything. We updated the following line.
if (!is_singular("post")) return $content;Best regards,
IsmaelHi,
Thank you for the info.
We revert the modifications in the postslider.php file and added the adjusted filter in the functions.php file. We are now retrieving the “bladeprice” custom field instead of “price”. This is the updated filter.
function avf_post_slider_entry_excerpt_mod($excerpt, $prepare_excerpt, $permalink, $entry) { $post_id = $entry->ID; $blade_price = get_post_meta($post_id, "bladeprice", true); if ($blade_price && get_post_type($post_id) == "advertisements") { $excerpt = "<span class='av-price'>USD ". $blade_price . "</span> " . $excerpt; } return $excerpt; } add_filter("avf_post_slider_entry_excerpt", "avf_post_slider_entry_excerpt_mod", 10, 4);Screenshot: https://imgur.com/AQkLp3k
Best regards,
IsmaelHi,
Thank you for the update.
The featured images of the posts are not displaying because the blog layout is set to “custom” or it is set to use the advance layout builder. You have to modify and replace the content of the includes > loop-index.php file with the following code to display the featured image back.
// https://pastebin.com/HLKf7A1E
Before doing the above modification, please upgrade the theme to version 4.8.6.3 first.
Best regards,
IsmaelHi,
Thank you for the info.
The filter is working as it should. It displays the category title between the excerpt and the post title. Please check the category page below. (see private field)
Best regards,
IsmaelHi,
Thank you for the update.
Did you toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code? Please also make sure to purge the cache and remove the browser history, or try to check the site on incognito mode.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the main menu is covering that part of the logo. Try to use this css code to limit the height of the menu to 44px.
.main_menu { height: 44px; }The main menu container is also covering the middle part of the logo, which is why it is not clickable. To fix it, add this script in the functions.php file.
// open logo link function ava_custom_script_mod_click_logo() { ?> <script> (function($) { $(".main_menu").on("click", function(e) { if($(e.target).is(".avia-menu")) { window.location.href = $(".logo a").attr("href"); } }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_click_logo', 10000);Then use this css code to enable the pointer cursor in the middle part of the logo.
.avia-menu { cursor: pointer; }Best regards,
IsmaelHi,
Thank you for the update.
You can still update the theme even without the support add-on. Just make sure that you have a valid Envato token, or that you still have access to the Envato account. Please check the following documentation to learn more on how to generate a token and how to update the theme properly.
// https://kriesi.at/documentation/enfold/theme-registration/
// https://kriesi.at/documentation/enfold/theme-update/You can also update the theme manually via FTP if the automatic update via the theme options is not available. Just check the documentation update for more info.
Best regards,
Ismael -
AuthorPosts
