Forum Replies Created
-
AuthorPosts
-
Hey!
I modified the video.php file or shortcode but I can’t make it work. I will ask Kriesi to check the thread.
Regards,
IsmaelHi!
1.) Before adding the image as background, look for the “ATTACHMENT DISPLAY SETTINGS” then select the appropriate size.
2.) Please get a fresh copy of the js > avia.js and the js > shortcodes.js file then override the old one. Those are the only files where we can alter the video script. Did you add any filter or snippet in the functions.php file?
Best regards,
IsmaelFebruary 9, 2017 at 3:54 am in reply to: Woocommerce Hide price, mark sold throughout website #744583Hi!
Thank you for the info. We modified the code in the functions.php file. Please remove browser cache before checking the page.
add_action( 'woocommerce_after_shop_loop_item_title', 'wcs_stock_text_shop_page', 25 ); function wcs_stock_text_shop_page() { global $product; $availability = $product->get_availability(); if (!empty($availability['availability'])) { echo apply_filters( 'woocommerce_stock_html', '<p class="stock ' . esc_attr( $availability['class'] ) . '">' . esc_html( $availability['availability'] ) . '</p>', $availability['availability'] ); } }Regards,
IsmaelHey!
Those “pre” tags was added manually. You don’t need to remove the whole shortcode, just remove the “pre” tags. Example:
<pre class="brush: php; gutter: false">[product sku="CGA57746"]</pre>.. should be change to:
[product sku="CGA57746"]Why do you have to add the product shortcodes manually? You can just use the Plugin Additions > Product Grid element which is fully responsive by default.
Best regards,
IsmaelHi!
Please use something like the following.
#top .custom_iconbox .iconbox_icon { color: #ffffff; font-size: 12px; }Best regards,
IsmaelHey!
Thank you for the update. Please look for this css code then remove it.
#top #searchform { position: absolute; top: 90px; }Best regards,
IsmaelHey!
Thank you for the update. I was able to login but I can’t do anything because the account has no “admin” rights. Please set the user role to admin.
Best regards,
IsmaelHi,
Is it just not possible to make this theme track events?
It’s possible but you have to configure the goals correctly. If you can provide the login details for your gmail account, we will setup the tracking goal.
Best regards,
IsmaelHi!
Please provide the FTP details in the private field. We will modify the js > avia.js file.
Regards,
IsmaelHey!
Thank you for using Enfold.
I tried to login to the site but the credentials above are not working. Please check it carefully. Is there any reason why you can’t deactivate the plugin temporarily?
Best regards,
IsmaelHi!
If you edit the page (https://www.staging3.atcarolines.ch/look-evelyne/), you’ll see this markup in a text block.
<pre class="brush: php; gutter: false">[product sku="CGA57746"]</pre>What is the “pre” tag for?
Regards,
IsmaelHi!
Do you have an iPhone 6? Please add this css code.
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) { #mobile-advanced { margin-top: -11%; } }Best regards,
IsmaelHey Taryn,
Thank you for using Enfold.
We modified the code in the Quick CSS field a bit. Please remove browser cache or hard refresh before checking the page.
Best regards,
IsmaelHi,
We eapplied unique css classes to the first iconbox and text block in the set. We used “custom_iconbox” and the “custom_textblock” respectively. And then added the following script in the functions.php file.
// custom script function ava_custom_script_mod() { ?> <script type="text/javascript"> (function($) { function a() { $('.custom_iconbox').each(function() { var title = $(this).parent().next('.flex_column').find('.custom_textblock').find('strong').text(); $(this).find('.iconbox_icon').text(title); }); } a(); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod');You can see the result in the frontend and all you have to do now is to apply the same custom css classes to the rest of the elements.
Best regards,
IsmaelHi!
Where can I provide the smaller image? What are the exact dimensions?
You can use dropbox or any file sites or servers. If you’re targeting iPhones with retina display or smart phones in general, 640-650px should be good enough.
Revolution Slider and the pictures are responsive on every device, they don’t distort.
Yes, the images are not distorted but the slider is not full screen either. Again, you can use the full width easy slider if you don’t need a full screen slider. Or create another full width slider and use it to replace the full screen slider on mobile. Please follow these instructions.
// http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/
Cheers!
IsmaelHey!
The site is using a very old version of the theme, 3.4.7. Please upgrade to version 3.8.4. If you can’t see the newest version in the theme options, please update the theme manually via FTP.
// http://kriesi.at/documentation/enfold/portfolio-item/update-theme-files-with-ftp/
// http://kriesi.at/archives/the-complete-guide-to-updating-enfoldBest regards,
IsmaelHey!
Are you editing the date? If you are editing the date, you need to set the “orderby” parameter to “modified” instead of “date”.
https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Please post the expected order of the items so that we can set them accordingly. Did you try the plugin that we suggested above?
Best regards,
IsmaelHi!
Could you please provide a link to the page with the issue? If possible, please create a new thread with the site url plus the screenshot of the expected layout. The recommended image size may vary based on the color section’s settings but the size of the image should not be smaller than the standard screen resolutions used nowadays (http://www.w3schools.com/browsers/browsers_display.asp).
Cheers!
IsmaelHey!
Did you test this on an actual mobile device? Please post the login details here so that we can check it.
Best regards,
IsmaelHey!
1.) Edit the colour section and you’ll find the option right below the video field.
2.) Most mobile devices do not autoplay videos in order to save bandwidth. And it can cause performance issues on mobile devices.
Best regards,
IsmaelFebruary 7, 2017 at 9:54 am in reply to: Woocommerce Hide price, mark sold throughout website #743767Hey!
Did you translate these products? Did you set the Stock status after the “duplication” or “translation” process? Please post the login details here and we’ll check the settings.
Cheers!
IsmaelHi!
Why did you wrap the shortcode inside a “pre” tag? Please remove it.
Regards,
IsmaelHi!
Please revert the modifications then add this code in the functions.php file:
add_filter( 'wp_nav_menu_items', 'avf_add_search', 3, 2 ); function avf_add_search( $items, $args ) { if ($args->theme_location == 'avia') { $search = '<li id="menu-item-search-mobile" class="menu-item" style="display: none;">'.get_search_form(false).'</li>'; $items = $search . $items; } return $items; }And then use this code in the Quick CSS field.
@media only screen and (max-width: 767px) { #menu-item-search-mobile { display: block !important; } }You should see the search form inside the mobile menu.
Regards,
IsmaelHi!666
But in the meantime, I just installed Debug This. Now what?
We suggested that plugin so that we can inspect the server and php info. Unfortunately, we can’t find anything unusual on it Are you on a shared hosting? And yes, you should keep the heartbeat plugin running.
As of this moment, we are not sure why this is happening in your installation. Most likely, the admin-ajax.php file is being blocked by your hosting provider. Do you have other sites from a different host?
Cheers!
IsmaelHey!
I’m not really sure why it’s not working but I can see this error from the js > avia.js file.
avia.js?ver=3:2163 Uncaught TypeError: Cannot read property ‘ready’ of undefined
at l (avia.js?ver=3:2163)Please get a fresh copy of the file or the whole theme files then override the old one.
Best regards,
IsmaelHi!
but probably you mean the woocommerce template folder in the Enfold Child theme?
Yes, that is what I was referring to.We can’t really know which files are modified and not. Do you have a developer who handled this modification before? I’m sorry but we can’t help you trace these modifications so you might need to contact the person who modified these files.
Best regards,
IsmaelHi,
Please copy the code directly from this forum, not from your email. Yes, you can add it in the child theme’s functions.php file.
Best regards,
IsmaelHey marketingjumpking,
We are very sorry for the late response.
Please provide the url to the site plus the login credentials so that we can check one of the products. I will ask @Basilis to check the thread again.
The message on product page is “Please note that the Advanced Layout Builder for products will not work with all WooCommerce Extensions”.
We added this note because some of the WooCommerce extensions may not work properly if you switch to the advance layout builder. Are you using any of those extensions?
Best regards,
IsmaelHi,
There’s a lot of files that we need to check but if you have the time, please look for the “var_dump” function (http://php.net/manual/en/function.var-dump.php). This can done by moving the files via FTP in your local machine then open a text editor. In the search field, input the “var_dump” text and set it to search for every files in the directory.
For example, if you’re using the Notepad++ software, you can do this:
// http://www.ghacks.net/2016/09/16/use-notepad-to-find-text-in-all-files-of-a-folder/
Best regards,
Ismael -
AuthorPosts
