Forum Replies Created
-
AuthorPosts
-
Hi,
I would like to apologize for the late response. I was able to reproduce the issue once on an Opera browser, but I couldn’t pinpoint the issue. Did you set the add to cart button to redirect to the cart page immediately? How did you modify that?
Best regards,
IsmaelHi,
The tomato is much larger than the rest of the featured images. Have you tried resizing the image? You can also limit the height of the image container.
.avia-content-slider .slide-image img { max-height: 146px; overflow: hidden; } .avia-content-slider .slide-image img { object-fit: contain; }Best regards,
IsmaelHi,
Thanks for the update.
Yes, this is possible but you have to modify the config-templatebuilder > aviashortcodes > portfolio > portfolio.php file directly. Add this code right before line 668:
$categories = get_the_terms($the_id, 'portfolio_entries'); $separator = ', '; $count = count($categories); $i = 0; $output_cat = "<div class'portfolio-categories'>"; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($i++ === $count) { $separator = ''; } $output_cat .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } $output_cat .= "</div>"; $output .= $cat;Best regards,
IsmaelNovember 23, 2018 at 10:26 am in reply to: Masonry blog: show category name without filter, but directly in theme file? #1036902Hi,
No problem. You can add this code right before line 409.
$categories = get_the_category($entry['ID']); $separator = ', '; $count = count($categories); $i = 0; $output_cat = "<div class'masonry-categories'>"; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($i++ === $count) { $separator = ''; } $output_cat .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } $output_cat .= "</div>"; $cat = trim( $output_cat, $separator ); $text_before .= $cat;Or just add it below this code:
else if(strpos($html_tags[0], 'a href=') !== false) { $display = empty( $title ) ? $the_title : $title; $linktitle = 'title="' . esc_attr( $display ) . '"'; }Best regards,
IsmaelHi,
@Richard Olpin: Sorry to hear about that. Please open a new ticket with the site url and put the WP / FTP in the private field. We’ll check it there. And make sure that the site is running on version 4.5.
Best regards,
IsmaelHi,
The images have no margins but every one of them is wrapped inside a column, which has a default top margin, so you have to adjust the column.
Best regards,
IsmaelHi,
I modified the code a bit but it’s still returning an error response instead of the verification. Did you add the domain in the list? And make sure it’s actually v2, not v3.
// https://imgur.com/a/mv2Ak9B
Best regards,
IsmaelHi,
Put that inside the previous init hook callback “enfold_customization_woocommerce_related” along with the previous modifications.
remove_action('woocommerce_after_single_product', 'wrprrdisplay'); add_action('woocommerce_after_single_product', 'wrprrdisplay', 20);Best regards,
IsmaelNovember 22, 2018 at 12:25 pm in reply to: Masonry blog: show category name without filter, but directly in theme file? #1036481Hi,
Thanks for the update.
Instead of editing the file directly, you can use this filter to insert the categories after the masonry image.
add_filter( 'avf_masonry_loop_prepare', 'avf_masonry_loop_prepare_mod_cat', 10, 2 ); function avf_masonry_loop_prepare_mod_cat( $key, $entries ) { $categories = get_the_category($key['ID']); $separator = ', '; $output = ''; $items = count($categories); $i = 0; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($i++ === $items) { $separator = ''; } $output .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } $key['text_before'] .= trim( $output, $separator ); return $key; }You won’t be able to click on the category items though, because they are inside the masonry item, which is a link element itself.
Best regards,
IsmaelHey fabiomagliozzi,
Thank you for using Enfold.
1.) Are you using the advance layout builder for the shop and product pages? If that is the case, you have to translate the contents manually because they are not going to be translated automatically.
2.) You have to configure the translation options again when you switch to W P M L.
Best regards,
IsmaelHi,
Thank you for using Enfold. And sorry for the delay.
1.) You can use this css code to add a fade effect to the slider.
.avia-slideshow li img { opacity: 0; -webkit-transition: opacity 0.7s; /* Safari */ transition: opacity 0.7s; } .avia-slideshow li.active-slide img { opacity: 1; }2.) And this one to move the dots outside the slide container.
.avia-slideshow { padding-bottom: 50px; }Best regards,
IsmaelNovember 22, 2018 at 11:50 am in reply to: Hacken bei Bestellvorgang (Lieferung an eine andere Adresse senden) entfernen. #1036466Hey Manko267,
Thank you for using Enfold.
In the Admin-> Woocommerce-> Settings-> Shipping-> Shipping Options, find the Shipping Destination, and make sure that “Force shipping to the customer billing address” checkbox is checked.
Best regards,
IsmaelNovember 22, 2018 at 11:47 am in reply to: Remove validation asterisk from contact form element #1036464Hi,
Awesome! Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
IsmaelNovember 22, 2018 at 11:46 am in reply to: How can I put in the Google Captcha in the Enfold contact form #1036461Hi,
Thank you for the kind words. I sure hope I can help you again next time.
Have a nice day.
Best regards,
IsmaelHi,
Look for these lines:
$menu_locations = array_flip( get_nav_menu_locations() ); $nav_menus = wp_get_nav_menus();And replace it with the modification:
$nav_menus = wp_get_nav_menus(); /** * array_flip does not work because plugins like <a href='http://bit.ly/kwpml' target='_blank' rel="nofollow">WPML</a> might return '' or null for value which throws a warning * * $menu_locations = array_flip( get_nav_menu_locations() ); */ $menu_locations = array(); $temp = get_nav_menu_locations(); foreach ( $temp as $loc => $term_id ) { if( is_numeric( $term_id ) && ( $term_id > 0 ) ) { $menu_locations[ $term_id ] = $loc; } }Best regards,
IsmaelHi,
I would like to apologize for the late response. Let’s try it again from scratch. I tried to use the v3 script but it didn’t work, so I turned it back to v2. You have to generate the v2 keys now. This is the updated script.
// https://pastebin.com/L9hwBthv
Post the v2 keys in the private field and put the script back in the functions.php file.
Best regards,
IsmaelHi,
What do you mean by “calendar box” exactly? Have you tried adding the date picker element? Again, a calendar box should open when you click on it.
Best regards,
IsmaelNovember 22, 2018 at 11:19 am in reply to: Masonry post excerpt is not displayed on the tablet portrait view #1036438Hi,
Thanks for the update. I can see the issue now. Use this css code to redisplay the masonry content on that screen size.
@media only screen and (max-width: 989px) and (min-width: 767px) { .responsive .av-masonry-entry .av-masonry-entry-title+.av-masonry-entry-content { display: block; } }`
Best regards,
IsmaelHi,
I would like to apologize if it took that long. Please open a new thread if you need anything else.
Best regards,
IsmaelHi,
The plugin on my local installation is still on version 3.4.6 and I’m not aware of that change. Thanks for the info.
Best regards,
IsmaelHi,
Thanks for the update.
I modified the code a bit. It should work now. Don’t forget to remove the browser cache prior to testing.
Best regards,
IsmaelHi,
That is the default margin of the columns. You can use this css code but it will affect every columns in a single post page.
body.single .column-top-margin { margin-top: 0; }Best regards,
IsmaelHi,
You should use the WP Migrate DB plugin because it will include all entries in your database including the custom fields. Have you tried using the plugin? Create backups of the sites and post the FTP details in the private field.
Best regards,
IsmaelNovember 21, 2018 at 2:10 pm in reply to: Enfold plus gravity forms "other" alignment issue #1036055Hey Steve,
Thank you for using Enfold.
This css code should help:
.gfield_radio input[type=radio] { float: left; } .gfield_radio input[type="text"] { max-width: calc( 100% - 20px ); }Best regards,
IsmaelNovember 21, 2018 at 2:06 pm in reply to: Masonry post excerpt is not displayed on the tablet portrait view #1036053Hi,
Thanks for the update. I can’t reproduce the issue on my end. The excerpt is visible on tablet screens. Is this fixed?
Best regards,
IsmaelHi,
Thank you for using Enfold.
Is this fixed? Please open a new thread if you need additional help.
Best regards,
IsmaelNovember 21, 2018 at 12:59 pm in reply to: How to add the category above the title of a single post in a child theme #1036031Hi,
1.) Did you change the theme folder name? You can’t change the theme name without losing the options because the dynamic stylesheets and options rely on that, it’s the name that’s saved in your database. You have import or create a backup of the theme options and your css modification first from the theme’s import/export panel before renaming it. You can then export the data back on the same panel.
2.) You have to modify the includes > loop-single.php file if you want to move the post elements around.
Best regards,
IsmaelNovember 21, 2018 at 12:47 pm in reply to: Gravity Forms + Gravity View not working with the last Enfold version #1036023Hey Ikyo,
Thank you for using Enfold.
I can’t reproduce the issue on that page. Is it using the old version of the theme? Do you have a staging site? You may need to disable the Enfold > Performance > File Compression options after updating to the latest version.
Best regards,
IsmaelHi,
This should help:
// https://kriesi.at/support/topic/fallback-image-not-loading/#post-1023866
That css code will set a minimum height to the slider. You can also hide that slider on mobile view and then display a full screen slider instead. Use the sliders’ Screen Options.
Best regards,
Ismael -
AuthorPosts
