Forum Replies Created
-
AuthorPosts
-
March 15, 2019 at 5:19 am in reply to: different menu links alignment on mobile, when user log on #1078994
Hey Nick,
I checked it and it’s not aligned properly.
Can you try adding this css code in Quick CSS:@media only screen and (max-width:479px) { .responsive #header .sub_menu { padding-left: 0; } .responsive #header_meta .sub_menu>ul>li { position: static !important; } #top #header_meta .phone-info { left: 0 !important; transform: translate(0) !important; } }
Best regards,
NikkoHey perihelionweb,
Can you try using this css code in Quick CSS (located in Enfold > General Styling):
#top .container_wrap.fullsize { border: none; }
Best regards,
NikkoMarch 15, 2019 at 3:34 am in reply to: web performance – disable template builder causes error to elements #1078976Hi John,
Thanks for giving us admin access.
In Enfold > Performance > Disabling of template builder elements, I just set this to Always load all elements.
I think there might be some conflict with the caching plugin that’s why the recommended option isn’t working properly.Best regards,
NikkoHi Drew,
We apologize for the delayed response.
Here are the steps to add the excerpt and read more:
1. Use a child theme: https://kriesi.at/documentation/enfold/child-theme/ (skip this step if you already have one)Replace Avia Layout Builder element
2. Follow the steps here: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
In your child theme’s functions.php, add this code:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
Then in your child theme create a folder named shortcodes
3. In the shortcodes folder, create another folder called magazine and inside this folder add a file called magazine.php and paste this: https://pastebin.com/VCTFQuQ5
Best regards,
NikkoHi arkerwarehouse,
We apologize for the delayed response and thanks for providing admin access.
I’m not really sure what causing the issues on that specific page but I created a new page and tried to recreate your homepage and it doesn’t have any issues (link in private content).Best regards,
NikkoHi Neil,
I have created a new page based on your homepage and layerslider and made modifications on the layerslider.
The link is in private content.Best regards,
NikkoMarch 15, 2019 at 1:53 am in reply to: On single blog post page sidebar, only show post from that category #1078967Hi Steven,
You’re welcome.
We’ll keep this thread open until it’s resolved :)Best regards,
NikkoHi Buddy,
I checked on it again and the problem is in the screenshot (link in private content).
I tried to modify it for you however I’m getting the error, the second screenshot in private content contains the right code but I could not make the changes because of the error shown in the screenshot.
The problem is the=>
is replaced with (without spaces)
= & g t ;
as shown in the screenshot.
Also in the child theme’s functions.php, this code is still not added yet:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
Best regards,
NikkoHi Theresa,
I see, in that case, you need to use Custom CSS Classes.
Go to Enfold > Layout Builder > check Show element options for developers.
This will enable Custom CSS Classes on all elements.
On the 1/2 column, add this on Custom CSS Classes: timeline-desktop
Then on the 1/1 column, add this on Custom CSS Classes: timeline-mobile and save.
Go to Enfold > General Styling > Quick CSS, and add this css code:#top .timeline-mobile { display: none !important; } @media only screen and (max-width:1600px) { #top .timeline-mobile { display: block !important; } #top .timeline-desktop { display: none !important; } }
Best regards,
NikkoHi elbnetz,
I’m not really sure why that happens, I think it’s similar to the answer given here: https://wordpress.stackexchange.com/questions/156222/shortcode-in-text-widget-not-working/156229
I compared the posts in sidebar in your homepage and single post pages and it’s the same except the homepage displays 6 posts while on single post pages it’s 5.Best regards,
NikkoHi adaptiveseosolutions,
Thanks, can you try adding this css code in Quick CSS, located in Enfold > General Styling:
#header .logo { overflow: visible; } #header .logo a, #header .logo img { min-height: 150px; } @media only screen and (max-width:767px) { #header .logo a, #header .logo img { min-height: 80px !important; } }
Best regards,
NikkoHi D,
This shouldn’t cause any issues, and this solution is coming from WordPress itself when they have added the Gutenberg editor when they released WordPress 5.0
When you update to WP 5.x it automatically uses gutenberg which causes issues on a lot of themes, you can search or google for this, by installing and activating Classic Editor plugin, it will use the original wordpress editor and disable gutenberg.
If you’re using Enfold 4.5.2 and up, you don’t need to install the plugin, you’ll have that option in Enfold > Theme Options > Select Your Editor > Use WP Classic Editor. If you’re using versions lower than that then you need to install the plugin.Best regards,
NikkoHi getfred,
I apologize for the delayed response.
Can you try adding this code?#top #header #avia-menu li.menu-item > a { transition: none !important; }
Let us know if this helps.
Best regards,
NikkoHi Buddy,
I apologize for the delayed response.
Can you try to manually replace the single and double quotes? sometimes those cause some issues even when the code is correct.Best regards,
NikkoHi Jeepkid99,
Try adding this code at the bottom of your functions.php:
remove_action('wp_footer', 'avia_print_tracking_code', 100);
Best regards,
NikkoMarch 12, 2019 at 5:12 am in reply to: Changes in functions.php / functions-enfold.php in child theme are ignored #1077624Hi 4cprintsolution,
I apologize for the delayed response.
I tried the code you gave on my local server and it doesn’t seem to work even when I used twentynineteen, can you try using this code:add_filter( 'pre_get_posts', 'custom_post_type_search' ); function custom_post_type_search( $query ) { if ($query->is_search) { $query->set('post_type', array( 'post', 'product')); } return $query; }
Best regards,
NikkoHi muhammetcoskun,
Glad that it’s fixed.
And thanks for sharing what you did to resolve the issue.
Thanks again for using Enfold and have a great day!Best regards,
NikkoMarch 8, 2019 at 2:32 am in reply to: Cannot block thumbnail featured image from displaying on post page #1076194Hi kdhillon,
You can upload the screenshot in https://imgur.com/ or any online image sharing sites including dropbox.
Then you can post the link here. If you want the link only to be visible to the moderators then just post it in private content.Best regards,
NikkoHi Handyann,
Thanks for giving us the link, I don’t see the class name you mentioned, but I think you’re referring to the large and extra large buttons.
Try adding this css code in Quick CSS (Located in Enfold > General Styling):#top .avia-button.avia-size-large .avia_iconbox_title, #top .avia-button.avia-size-x-large .avia_iconbox_title { font-size: 18px; }
Best regards,
NikkoHi pharefm,
I could not assure you that it would be added but please feel free to request such feature at our feature request system: https://kriesi.at/support/enfold-feature-requests/
This system allows us to keep track of user suggestions and lets you vote on the feature you would like to see the most. I am afraid though there is no guarantee that a feature will get implemented.
If it gains a lot of vote then it would most likely be added.
Anyways, we’re glad to help :)Best regards,
NikkoMarch 7, 2019 at 3:58 pm in reply to: Shortcodes for toggles and contact forms do not work anymore #1076027Hi Mike,
This code is meant to add Advanced Layout Builder to custom post types.
This is in our documentation, I’m not sure if this will be added in the later version but there is a possibility.
We’ll be adding it in our changelog if that happens.Best regards,
NikkoHi Robin,
Glad that we could help :)
Thanks for using Enfold and have a great day!Best regards,
NikkoHi Emmy,
The code seems right but I think the issue is in the single quotes, try using this instead:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Saira Semi Condensed'] = 'Saira Semi Condensed'; return $fonts; }
Best regards,
NikkoHi Maskenzauber,
Sorry but no. I saw once that you foobared a google map (for some days) on another customers website.
Can you give a link where I did this?
And this customer was a doctor and she lost clients cause you where misleading her patients to a complete other adress.
I’m not really sure where you’re getting this, can you give a link where I mislead them?
We’re trying to help here, and it’s hard to try to debug an issue we can’t reproduce on our end.
If you create atleast a staging site where we can check without having access on your live site, maybe we can give you steps on how to fix it.Best regards,
NikkoHi Maskenzauber,
I apologize that I have made the assumption that you’re not using a child theme, there are times when we assumed that some users already have a child theme but they didn’t and they get confused that’s why we try assume that they don’t have one, not to offend or be rude to them since they can just ignore the child theme part of the step and go on the next step.
Also I mentioned that avia_woocommerce_breadcrumb needs to be tweaked since that’s the function that controls the breadcrumb for woocommerce, there’s no option to select for one.
I’m just trying to point you to the right direction and we can try to help you with the code but we would need both admin and ftp access for it.Best regards,
NikkoHi pharefm,
Thanks, I have made modifications on your child theme.
First thing I recognize is that I needed to tweak the postslider element and I needed to add this code in functions.php of your child theme:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
You can check here in our docs for more information: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Then I created a shortcodes folder in the child theme, copied postslider folder from wp-content > themes > enfold > config-templatebuilder > avia-shortcodes to wp-content > themes > (child theme name) > shortcodes.
Then tweaked postslider.php in the child theme (line 530-531):$current_post['content'] = $entry->post_content; $current_post['title'] = $entry->post_title;
replaced it with:
$current_post['content'] = $entry->post_content; $current_post['title'] = $entry->post_title; $current_post['the_id'] = $the_id;
then in functions.php I modified the avia_audio_content_filter function to:
function avia_audio_content_filter($current_post) { $the_id = $current_post["the_id"]; $match_audio = get_post_meta($the_id, 'audio_file', false); //print "--ID : ".$the_id." <br/>"; if (!empty($match_audio)){ $current_post['before_content'] = do_shortcode('[audio src="'.$match_audio[0].'"][/audio]'); } return avia_default_title_filter($current_post); }
I remove the comment on the print code, so it displays if the ids are accurate.
Best regards,
NikkoHi MarcusJeroch,
Try adding this css code in Quick CSS:
#top .wc-gzd-additional-info.shipping-costs-info a { display: inline !important }
Best regards,
NikkoHi Buddy,
Thanks for the admin access. There are two things that are needed first, please change the shortcode folder to shortcodes (I apologize that was my mistake).
Then you’ll need to add this in functions.php of your child theme:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
For more information you can check it in our docs: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
NikkoHi PIX3L_r,
You’re welcome just post back if you get any information :)
Best regards,
NikkoMarch 7, 2019 at 6:07 am in reply to: fullwidth quad menu / no burger menu / transparent header #1075770Hi metafora29,
Glad that we could help :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts