Forum Replies Created
-
AuthorPosts
-
Hi,
The hook should look something like this.
add_action( 'ava_after_main_container', 'ava_after_main_container_mod', 10 ); function ava_after_main_container_mod() { $output = ''; $output .= do_shortcode("[av_submenu which_menu='' menu='6' position='center' color='main_color' sticky='aviaTBsticky' mobile='disabled' av_uid='av-7sgq'] [av_submenu_item title='Menu Item 1' av_uid='av-1qu' link='' linktarget='no' button_style=''] [av_submenu_item title='Menu Item 2' av_uid='av-41hu' link='' linktarget='no' button_style=''] [/av_submenu]"; echo $output; }Replace the fullwidth sub menu shortcode with your own. You may need to activate the debug mode to extract the elements’ shortcode.
// https://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Best regards,
IsmaelHi,
There are two Enfold folder in the themes directory. Did you update the theme manually? Please delete the old version and check if there are duplicated shortcode files in the config-templabuilder > aviashortcodes folder.
Best regards,
IsmaelHi,
Another user reported the same issue but I can’t reproduce it on my own installation. Did you update the theme manually? Please check if there are duplicated shortcode files in the config-templatebuilder > aviashortcodes folder.
Best regards,
IsmaelMay 7, 2018 at 9:49 am in reply to: the content of the ajax portfolio preview has doubled suddenly #952553Hi,
Thank you for the update. I was able to reproduce the issue but I’m not sure what caused it. Did you add any modifications prior to the issue? Please disable the modifications and third party plugins temporarily.
Best regards,
IsmaelHi!
We would like to implement a few changes in your installation. Please provide the WP/FTP login details. Or edit the config-templatebuilder > php > asset-manager-class.php file, replace everything with this code.
// https://pastebin.com/T4aYxGX4
Don’t forget re-minify the css files aflterwards.
Regards,
IsmaelMay 7, 2018 at 9:46 am in reply to: General Styling: Background images not working because of wrong path #952551Hi!
We would like to implement a few changes in your installation. Please provide the WP/FTP login details. Or edit the config-templatebuilder > php > asset-manager-class.php file, replace everything with this code.
// https://pastebin.com/T4aYxGX4
Don’t forget re-minify the css files aflterwards.
Cheers!
IsmaelHi,
Did you add the css code above? That should fix the vertical alignment of the logo.
#top .avia-logo-element-container .slide-entry { padding: 1px; display: table-cell; vertical-align: middle; padding: 0 10px; float: none; } #top .avia-logo-element-container .slide-entry-wrap { display: table; }If it doesn’t work in the Quick CSS field, add it in the child theme’s style.css file.
Best regards,
IsmaelHi,
The post page is using the includes > loop-index.php file. Have you tried to edit that file? If you want to display the excerpt, try to use the “get_the_excerpt” function below line 224 where the actual content is rendered.
echo $content_output;I’m not really sure how you set up the posts or retrieve the data so this is the only thing that comes to mind.
Best regards,
IsmaelHi,
Apply a unique css class attribute to the button row element. Append it to the default button selector above. Example.
#top .custom-css-class .avia-button { border-radius: 100px; }You can enable the custom css class field in the Enfold > Layout Builder panel.
Best regards,
IsmaelHi,
Thanks for the update. Try to adjust the minimum height of the gallery on mobile view.
@media only screen and (max-width: 989px) { .responsive .av-horizontal-gallery-inner { position: static; min-height: 500px; } }Best regards,
IsmaelHi,
Use the “ava_after_main_container” hook in combination with the do_shortcode function and the fullwidth submenu shortcode as the value.
// https://developer.wordpress.org/reference/functions/do_shortcode/
Best regards,
IsmaelHi,
Thank you for the update. Use this code to create space between the sort items.
#top.av-sort-by-term a { margin: 0 10px 0 10px; }Best regards,
IsmaelHi,
Thanks for the info. Is it working properly if Yoast/WP SEO is disabled? The plugin has its own redirection settings so the 404 option may not work properly.
Best regards,
IsmaelMay 4, 2018 at 7:38 am in reply to: TinyMCE Missing Essential Buttons in Advanced Layout Builder Text Blocks #951405Hi,
Did you install an extension for the editor? Please disable it temporarily then check the text block again.
Best regards,
IsmaelHi,
The script is looking for the mediaelementplayer script which is not loaded as a dependency. Please ask the plugin author to include that media element script. You can also try this code in the functions.php file.
add_action('wp_enqueue_scripts', function() { wp_enqueue_script('wp-mediaelement'); });Best regards,
IsmaelHi,
There is no option for a custom message but you can create a page with a “thank you” note or something and a link to the home page instead. The screenshot is not accessible.
You can use the theme’s icon element to create a social icon container in the sidebar area. Add the icon shortcode in a text widget.
Best regards,
IsmaelHi,
Also, I have noticed that pictures which are resized by Enfold/WP are greater in the size than their original files, even though the modified picture is smaller, e.g.
The thumbnail is actually smaller than the source or the original image.
https://www.sketchengine.eu/wp-content/uploads/cornelsen-min-180×180.png
vs the bigger original picture
https://www.sketchengine.eu/wp-content/uploads/cornelsen-min.pngBest regards,
IsmaelHi,
Glad it worked. For the title, try this css code.
.avia-post-nav .entry-info span { font-size: 11px; }Please note that the post nav limits the title to 75 characters. You can find that limitation in the functions-enfold.php file, line 544.
$the_title = isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");Best regards,
IsmaelMay 4, 2018 at 7:15 am in reply to: Our product show is horizontal but we need vertical on top menus #951375Hi,
Use the Custom Menu widget in the Appearance > Editor panel. Select the main menu.
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,
IsmaelMay 4, 2018 at 7:13 am in reply to: Add to cart notification being missed for bookable accommodation product. #951373Hey iragless,
Thank you for using Enfold.
The site redirects to the cart page after booking. Is that what you wanted?
Best regards,
IsmaelHey azinity,
Thank you for using Enfold.
What is the original size of the image? Please resize the png image to 36x36px then upload it again.
Best regards,
IsmaelHi John,
Thanks for the update.
I copied the content of the front page on a test page (see private field) but I was not able to reproduce the issue. Please create a test page.
Sorry to hear that you were sick. I didn’t notice the username. :)
Best regards,
IsmaelHi,
That is possible but it will require modifications that are outside the scope of support. The header is quite big. It consumes most of the above the fold space.
Best regards,
IsmaelHi,
Thanks for the update. Looks like you managed to adjust the width of the logo. Please use the following css code to create some space between the logo and the main content.
@media only screen and (max-width: 767px) { .responsive #top #main { padding-top: 50px !important; } }Best regards,
IsmaelHi,
Thank you for the update. We would like to check the issue but the login credentials above are not working. Please check it carefully.
Best regards,
IsmaelHi!
Other users reported the same issue and it seems to be related to the new css compression feature. Please deactivate that option temporarily. Use a plugin like Autoptimize temporarily.
Cheers!
IsmaelMay 4, 2018 at 6:39 am in reply to: Get featured image for a blog post on the left side in Grid Layout #951348Hey wdwalrus,
Thank you for using Enfold.
Use the magazine element instead of the blog posts element. It’s under the Content Elements panel of the Advance Layout Builder.
Best regards,
IsmaelMay 4, 2018 at 6:34 am in reply to: Cookie Consent – Stop "Learn More" opening a new tab on default #951344Hey fusionxs,
Thank you for using Enfold.
You can use this script to change the target attribute of the cookie consent button.
add_action('wp_footer', 'ava_custom_script'); function ava_custom_script() { ?> <script> (function($) { $(document).ready(function() { $('#avia_cookie_consent').attr('target', '_blank'); }); })(jQuery); </script> <?php }Best regards,
Ismael -
AuthorPosts
