Forum Replies Created
-
AuthorPosts
-
Hey BPC,
Try adding this css code in Quick CSS (located in Enfold > General Styling):
@media only screen and (min-width:768px) { #header_main_alternate { z-index: 200; } #menu-item-search { position: relative; top: -65px; left: -50px; } }Hope this helps :)
Best regards,
NikkoHi,
Can I ask what version of php are you using?
Best regards,
NikkoMay 10, 2017 at 4:48 pm in reply to: website two column blog not displaying properly in mobile #791203Hi,
If that’s the case, please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
NikkoHi,
You can try to ask them to do hard refresh by pressing Ctrl + Shift + F5 on your browser or press the F12 key to open chrome dev tools and right click on the refresh button and select “Empty Cache and Hard Reload”. Hope this information would help :)
Best regards,
NikkoHi,
No, you don’t need to download them again, and the plugins wouldn’t be removed when you switched themes, however the only things that will be lost are the features and functionalities offered by the previous theme, since it will be deactivated.
Best regards,
NikkoHi,
It would be best if you write some html using Code Block or Widget Area (use text widget) and style it in Quick CSS.
Best regards,
NikkoMay 10, 2017 at 4:36 pm in reply to: Could not connect to Mailchimp with this API Key. Please try again with a differ #791189Hi,
Glad to hear that it’s working again. Just let us know if you need more assistance on this topic :)
Best regards,
NikkoHi,
I checked your site and it seems good and the background is reflecting well. Screenshot in Private Content.
Best regards,
NikkoHi,
Backupbuddy is a great plugin, have tested it and it thus backup and restore with ease. I think backing up your site is the first part and updating via ftp is basically just overwriting or replacing the enfold theme files with the new ones. I think it will only get complicated if you have modified the enfold theme without using a child theme, but if you are using a child theme or your enfold theme wasn’t modified, you can just replace the theme and it’s good, the next phase would be testing and checking pages :)
Best regards,
NikkoHi Marc,
Try to remove this line of code from the code I gave earlier:
add_theme_support( 'wc-product-gallery-zoom' );Hope this helps :)
Best regards,
NikkoHi,
I’m not really sure what you meant “do not work”, I checked your site and it seems it’s working since you have the current menu in black color, the last menu item have that extra padding, and the line below the current menu item (not the one at the edge) is gone. Can you elaborate more on what you meant by “do not work”? perhaps a screenshot?
Best regards,
NikkoHi,
Glad we could help. Let us know if you need more assistance on the topic or if we can close it :)
Best regards,
NikkoHi,
It should be fixed now. I have modified this file: enfold/config-woocommerce/config.php (line 1395 – 1418)
function avia_woocommerce_post_thumbnail_description($img, $post_id) { global $post, $woocommerce, $product; if(has_post_thumbnail()) { $image_title = esc_attr(get_post_field('post_content', get_post_thumbnail_id())); $image_link = wp_get_attachment_url( get_post_thumbnail_id() ); $image = get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), array( 'title' => $image_title ) ); $attachment_count = count( $product->get_gallery_attachment_ids() ); if ( $attachment_count > 0 ) { $gallery = '[product-gallery]'; } else { $gallery = ''; } return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom" title="%s" rel="prettyPhoto' . $gallery . '">%s</a>', $image_link, $image_title, $image); } return $img; }replaced it with:
if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { function avia_woocommerce_post_thumbnail_description($img, $post_id){ return $img; } } else { function avia_woocommerce_post_thumbnail_description($img, $post_id) { global $post, $woocommerce, $product; if(has_post_thumbnail()) { $image_title = esc_attr(get_post_field('post_content', get_post_thumbnail_id())); $image_link = wp_get_attachment_url( get_post_thumbnail_id() ); $image = get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), array( 'title' => $image_title ) ); $attachment_count = count( $product->get_gallery_attachment_ids() ); if ( $attachment_count > 0 ) { $gallery = '[product-gallery]'; } else { $gallery = ''; } return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom" title="%s" rel="prettyPhoto' . $gallery . '">%s</a>', $image_link, $image_title, $image); } return $img; } }And in the same file (line 1425 – 1438)
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id = "", $image_class = "" ) { $image_link = wp_get_attachment_url( $attachment_id ); if(!$image_link) return $img; $image = wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_small_thumbnail_size', 'shop_thumbnail' ) ); $image_title = esc_attr(get_post_field('post_content', $attachment_id)); $img = sprintf( '<a href="%s" class="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image ); return $img; }replaced it with:
if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) { return $img; } } else { function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id = "", $image_class = "" ) { $image_link = wp_get_attachment_url( $attachment_id ); if(!$image_link) return $img; $image = wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_small_thumbnail_size', 'shop_thumbnail' ) ); $image_title = esc_attr(get_post_field('post_content', $attachment_id)); $img = sprintf( '<a href="%s" class="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image ); return $img; } }Let us know if it’s good on your end :)
As for the login access, if I just copy and paste the password it doesn’t work but if I copy and paste the password then replace the single quote by typing manually, it does let me in :)
Best regards,
NikkoHi,
Try changing this code I gave:
#top #header .av-main-nav > li.current-menu-item > a { background-color: darkgoldenrod; }to this one:
#top #header .av-main-nav > li.current-menu-item > a { background-color: darkgoldenrod !important; }You might also want to remove that line underneath the menu:
#top .av_header_transparency .avia-menu-fx { display: none; }Hope this helps :)
Best regards,
NikkoHi,
Can we request for ftp access? so we can check it further.
Best regards,
NikkoMay 10, 2017 at 8:38 am in reply to: Avia Layout Builder is has collapsed into two columns (instead of three) #790908Hi,
Glad to hear that it’s all good. Thanks for using Enfold :)
Best regards,
NikkoMay 10, 2017 at 8:37 am in reply to: How to stop Enfold modifying the codes in the Code Block #790907Hi,
I’m not really sure what your html code does, but the workaround I suggested should preserve the html content as it is written. Is the code being changed again? or the html code you have added didn’t work as you have intended it to? if it’s the latter can you give us a link, so we can take a closer look and also what you are trying to achieve.
Best regards,
NikkoHi,
Try adding this code at the bottom of functions.php:
global $woocommerce; if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) { return $img; } function avia_woocommerce_post_thumbnail_description($img, $post_id){ return $img; } }Let us know if this helps :)
Best regards,
NikkoHey Christina,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
Best regards,
NikkoMay 10, 2017 at 8:20 am in reply to: How to stop Enfold modifying the codes in the Code Block #790898Hi,
Try to use this solution:
- Go to Appearance > Widgets and create a Custom Widget Area
- Use a text widget, place it in the newly created Widget Area, and put your html codes there
- Edit the page you want to put the code and use Widget Area in Content Area of Advanced Layout Builder
- Save
Hope this helps :)
Best regards,
NikkoHi,
You’re always welcome :) Thanks for using Enfold :)
Best regards,
NikkoHey unicaweb,
I think it already looks close enough :) try adding this css code as well:
#top #header .av-main-nav > li.current-menu-item > a { background-color: darkgoldenrod; } #top #header .av-main-nav > li:last-child > a { padding-right: 13px; }Just adjust the background color as you see fit. Hope this helps :)
Best regards,
NikkoHi,
You’re very much welcome! Glad that it worked :)
As for producing the error, you can edit wp-config.php file found in the root, then find this line of code:
define( 'WP_DEBUG', false );replace it with:
define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );save it, then open some pages in the frontend and wp admin dashboard to trigger the errors. You should see the error in the debug.log file found in the wp-content folder :) For more of debugging details you can find it here: https://codex.wordpress.org/Debugging_in_WordPress the code I used is found there as well :)
Best regards,
NikkoMay 10, 2017 at 7:56 am in reply to: Main navigation font color on frontpage before scrolling #790888Hi,
Glad we could help! Thanks for using Enfold :)
Best regards,
NikkoHi,
Try enabling the Custom Css Classes: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
then Add a text block and in it’s Custom Class add this:custom-burger-menu av-burger-menu-mainInsert a button in text block using the Magic Wand tool, set the link to #.
Finally add this css code in Quick CSS (located in Enfold > General Styling):.custom-burger-menu.av-burger-menu-main { display: block !important; }Let us know if this helps. Also make sure you don’t want to add any links in that text block since it would trigger that menu overlay :)
Best regards,
NikkoMay 10, 2017 at 7:36 am in reply to: Main navigation font color on frontpage before scrolling #790879Hi,
It’s fixed. I noticed that this
>has been replaced with (without the spaces):
& g t ;this usually happens when the code is copied from the email. Let us know if this it’s good :)
Best regards,
NikkoHey juicesandmilks,
Thanks for providing the ftp access (the admin access doesn’t work though). Some file are missing so I just uploaded the missing files in wp-includes folder and that fixed the issue. Hope it’s all good on your end :)
Best regards,
NikkoHey Jenny Power,
Yes, Enfold is compatible with Woocommerce and the Enfold Medical demo is compatible as well :)
Best regards,
NikkoHey weddingmuseum,
I think the only way to achieve that is to override the function, I think this is the function which is used:
if(!function_exists('avia_which_archive')) { /** * checks which archive we are viewing and returns the archive string */ function avia_which_archive() { //Codes should be here :) } }then in your child theme’s function.php copy this part of the function:
function avia_which_archive() { //Codes should be here :) }then remove the Archive for category in this function. Hope this helps :)
Best regards,
NikkoHi soundstrat,
That’s expected because of the position: fixed property. The only way to make it not sticky, is to use another method which is a much longer process which would require using a child theme and tweak footer.php.
Best regards,
Nikko -
AuthorPosts
