Forum Replies Created
-
AuthorPosts
-
thanks that solved the issue.
Please check again – I am seeing the site fine (except for the errors)
I seem to be able to edit pages but not any of the portfolio items. Spinning wheel.-
This reply was modified 7 years, 6 months ago by
Munford.
this whole color section should be only seen on the mobile – see image below. They 2 color sections have IDs I am targeting. Works fine on the english version of the page.
I can’t access any of the pages for editing – just a spinning wheel….or a 403 error. I see errors on the display of several pages as well. These issues were not there a week ago when I updated the site. I see on threads here that other people are having similar issues. I am running 4.2 and WP up to date.
any idea what the issue could be?
anyone??-
This reply was modified 7 years, 6 months ago by
Munford.
Hi MIke
Thanks I figured it out. IT was this code:
/*fixes layer slider shift chrome error*/
.container {
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
}
any idea what that would have been for? seem like something specifially for a chrome issue.thanks for your help
Nancy-
This reply was modified 7 years, 7 months ago by
Munford.
I tried that but no change. Still don’t understand what is causing the menu issue, since I have not changed any plugins and the site was working fine. The menu items are there, but are restricted to showing only in a small window if you scroll down. Looks like there is something restricting the height of the white menu overlay?
I also see another new problem – in the color section halfway down the landing page, where there is a hand in the background, the text should be centered there (it’s an icon box) but it’s aligning left instead. (see image below)
Can you check that?
thanks-
This reply was modified 7 years, 7 months ago by
Munford.
forget it, I changed the design
sorry now it’s called
JOIN THE MARCH FOR SCIENCE
and should scroll to the next white section
thanksHi Jordan,
yes I know how to set up the anchor links, but this one is not working for some reason. I have the same setup on another page that is fine.
Any idea?
thanks
NancyThanks that did the trick!
Hi
I don’t really understand where these rules are set – in the sitemap file?
I have never had to edit this before – all my other sites were mobile friendly with enfold.
can you help me with this?
thanks
Nancygot it working thanks
thanks I found the mistake. It’s all good now.
If I dont’ have access to the server?
June 29, 2017 at 3:04 pm in reply to: hide sidebar on mobile for certain pages, portfolio grid sorting wrong #814509nevermind I got it working.
thanks –-
This reply was modified 8 years ago by
Munford.
thanks I could try that
Hi Yigit
Did that but am still seeing flickering of the slideshows, menu…
More urgently, I just saw that my other menus – that I use in my footer and in the sidebar of the about page – are defaulting to the main menu. I have checked all the widgets and they have the correct menus selected. Can you take a look at that?
thanksNancy
-
This reply was modified 8 years, 1 month ago by
Munford.
great that worked! I am still seeing a bad flickering on my landing page where the mega menu is on top of the slideshow. Any way to fix that? It’s very annoying, and I can’t tell whether it’s an issue only with my chrome, or if it’s widespread. Happened after the last update I think
great that worked! I am still seeing a bad flickering on my landing page where the mega menu is on top of the slideshow. Any way to fix that? It’s very annoying, and I can’t tell whether it’s an issue only with my chrome, or if it’s widespread. Happened after the last update I think
-
This reply was modified 8 years, 1 month ago by
Munford.
Below is my child theme function.php code as it is now – should I just replace the middle text I have in bold – starting with: avia_nav_menus(); and ending with: ‘wp_change_aviajs’, 100 ); – with the code you linked to above? The avia.js file has been overwritten – or should have been, right? Do I need to do anything with that?
thanks
Nancy<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*//*===ADD custom css class element to all pages===*/
add_theme_support(‘avia_template_builder_custom_css’);/*==========MAG ELEMENT add excerpt under title all===========*/
add_filter(‘avf_portfolio_cpt_args’, ‘avf_portfolio_add_custom_fields’, 1);
function avf_portfolio_add_custom_fields($args) {
$args[‘supports’] = array(‘title’,’thumbnail’,’excerpt’,’editor’,’comments’, ‘custom-fields’, ‘page-attributes’);
return $args;
}$default_sidebar = false;
$parent = get_the_title($post->post_parent);
$parentlink = get_the_permalink($post->post_parent);
$sidebar_menu .= “<nav class=’widget widget_nav_menu $display_child_pages’><ul class=’nested_nav’>”;
$sidebar_menu .= “<h3 class=’widgettitle’>$parent</h3>”;
$sidebar_menu .= $children;
$sidebar_menu .= “</nav>”;avia_nav_menus(); function avia_nav_menus() { global $avia_config, $wp_customize; $avia_config[‘nav_menus’] = array( ‘avia’ => array(‘html’ => __(‘Main Menu’, ‘avia_framework’)), ‘avia2’ => array( ‘html’ => __(‘Secondary Menu <br/><small>(Will be displayed if you selected a header layout that supports a submenu here)</small>’, ‘avia_framework’), ‘plain’=> __(‘Secondary Menu – will be displayed if you selected a header layout that supports a submenu’, ‘avia_framework’)), ‘avia3’ => array( ‘html’ => __(‘Footer Menu <br/><small>(no dropdowns)</small>’, ‘avia_framework’), ‘plain’=> __(‘Footer Menu (no dropdowns)’, ‘avia_framework’)), ‘avia_responsive’ => array( ‘html’ => __(‘Responsive Menu <br /><small>(If set will replace your main menu on mobiles)</small>’)) ); add_theme_support(‘nav_menus’); foreach($avia_config[‘nav_menus’] as $key => $value) { $name = (!empty($value[‘plain’]) && !empty($wp_customize)) ? $value[‘plain’] : $value[‘html’]; register_nav_menu($key, THEMENAME.’ ‘.$name); } } add_action( ‘ava_after_main_menu’, ‘enfold_customization_add_responsive_menu’ ); function enfold_customization_add_responsive_menu() { echo “<nav style = ‘display:none;’ class=’main_menu_responsive’ data-selectname='”.__(‘Select a page’,’avia_framework’).”‘ “.avia_markup_helper(array(‘context’ => ‘nav’, ‘echo’ => false)).”>”; $avia_theme_location = ‘avia_responsive’; $avia_menu_class = $avia_theme_location . ‘-menu’; $args = array( ‘theme_location’ => $avia_theme_location, ‘menu_id’ => $avia_menu_class, ‘menu_class’ => ‘menu av-main-nav’, ‘container_class’ => $avia_menu_class.’ av-main-nav-wrap’.$icon_beside, ‘fallback_cb’ => false, ‘walker’ => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo ‘</nav>’; }
/*make sure MEGA MENU mobile functions after avia js file changes*/
function wp_change_aviajs() {
wp_dequeue_script( ‘avia-default’ );
wp_enqueue_script( ‘avia-default-child’, get_stylesheet_directory_uri().’/js/avia.js’, array(‘jquery’), 2, true );
}
add_action( ‘wp_print_scripts’, ‘wp_change_aviajs’, 100 );add_filter(‘widget_text’, ‘do_shortcode’);
/*==============GOOGLE FONTS ADD=================*/
function add_oswald_script(){
?>
<link href=’http://fonts.googleapis.com/css?family=Oswald:400,700,300′ rel=’stylesheet’ type=’text/css’>
<?php
}
add_action(‘wp_head’, ‘add_oswald_script’);/*FIX MEGA MENU not closing on ipad issue https://kriesi.at/support/topic/closing-mega-menu-on-ipad/*/
function add_custom_megamenu(){
?>
<script>
jQuery(window).load(function(){
if (jQuery(window).width() <= 1024){
jQuery(“#header”).click(function(){
jQuery(“.avia_mega_div”).toggle();
});
}
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_megamenu’);//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}/*edit Advanced Layout Builder elements*/
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;
}/*FIX MISSING REVISIONS*/
add_filter(‘avf_portfolio_cpt_args’,’avia_add_portfolio_revision’, 10, 1);
function avia_add_portfolio_revision($args)
{
$args[‘supports’] = array(‘title’,’thumbnail’,’excerpt’,’editor’,’comments’,’revisions’);
return $args;
}-
This reply was modified 8 years, 1 month ago by
Munford.
Hi Yigit
thanks – that looks better, though in chrome I see a bit of animation ( size change on load), and flickering – but this is a problem I have been having with chrome for some days. Looks best in Firefox, ok in Safari. I can live with it.also: see below
thanks
Nancythanks. It would be strange if it could not be disabled.
Hi
Thanks for taking a look. Login belowHi Isamel
I don’t remember how I did that – but see this thread: https://kriesi.at/support/topic/mobile-menu-33/#post-440877. Appears code was added to get extra mobile menu options, but there was a problem…
I remember that the THEMENAME was a glitch that could not be worked out here.
can we fix this? The menu on the mobile is very messed up now, but had worked until the recent update-
This reply was modified 8 years, 1 month ago by
Munford.
Hi John
Tried your code but it did not work.
other suggestions?
thanks for taking a look
Nancyno, the animation as they load
HI Yigit,
the flickering wasa chrome issue, I think, although my client was also having trouble updating maps due to flickering images.But the mobile menu is not showing the correct menu – the image you posted is the wrong menu. It should be the one I have in the private content called “mobile”. It is defaulting to the main menu, which is also showing submenu items that are not supposed to be on the mobile menu.
can you check this please?
Thanks
Nancy-
This reply was modified 8 years, 1 month ago by
Munford.
The cache is cleared, hard R refresh, cleared cache in chrome settings.
-
This reply was modified 8 years, 1 month ago by
Munford.
Hi Victoria
Thanks for the quick response. Do I need that avia.js in the child theme? I updated it and now the galleries work fine, but I wonder if there were ealier edits to that file (which is why it was in the child theme?) Seems to work OK though. Thanks! If that is updated in the next enfold version, should I remove the avia.js from the child theme?
thanks
Nancy-
This reply was modified 8 years, 1 month ago by
Munford.
I have the same problem and the shortcode.js fix did not work for me. Any other solutions? I have a thread about it at: #792977.
-
This reply was modified 7 years, 6 months ago by
-
AuthorPosts