Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Thanks Josue. This works in Chrome and Safari, and I tweaked it a little bit for my needs.
In Firefox, when the viewport width is between 768px and 990px, the sidebar disappears completely. I’m not too worried about it because our users will rarely, if ever, be using Firefox at that width, buy if you happen to know why this happens and have a quick fix for it, please let me know.
Thanks
Hi, yes there is an overflow property set here, which I think you found and commented out:
/* -- REDUCE TAB AND ACCORDION PADDING ON MOBILE -- @media only screen and (max-width:660px) { .tab_content { padding:0 8px!important; } .toggle_content { padding:8px!important; overflow:scroll; } } */
This hasn’t changed the scrolling behaviour though. I’m going to uncomment it, as it effects my layout.
That scroll bar looks like it’s on a higher level container. How did it appear? I’ve never seen it before.
Thanks
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Hey, that’s ok. I’m having issues with the ftp accounts with my webhost. I’ll post back as soon as I have one ready. Thanks
Hi Josue, thanks for the tip. It was an issue with the php configuration on my host server. There is a limit to the number of data values that can be sent back to the server, which prevented any more pages from being added to the menu.
I got my web host to edit the php.ini file with this code, which did the trick.
max_input_vars = 5000;
Sorry to bother you with this.
Still waiting to hear back from someone about the tabs on mobile issue ;-)
Thanks,
WarrenHi, just checking in to see if you’re still looking in to this.
Thanks
Hi, I’m sorry, as I should have researched this more before submitting this question to the forum.
This is more likely a php server issue, as discussed here: https://wordpress.org/support/topic/i-cant-add-more-pages-to-menu-menu-delete-pages
Thanks
Not sure if this will help with the troubleshooting – I was having the same issue with accordions. But with the accordions I could set the option to allow them to stay open when another one is tapped, so there was no scrolling. While not the most ideal solution, at least it would prevent the content from jumping too far.
If there is any way to set this option for tabs on mobile, that could be a temporary solution.
Hi Ismael,
Thanks for this, however it’s still not working for me. In my shortcodes.js file, this code was at line 2652. I made the edit as you recommended but the tabs are still not going to the right position on my phone.
Earlier you mentioned a typo. Should “scoll_target” be “scroll_target”?
Thanks,
WarrenThis reply has been marked as private.Thanks Yigit. So if I insert the following code into the functions.php file:
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 );
Then where would I copy this code into?
jQuery(".home article.iconbox").each(function(){ var theLink = jQuery(this).find("a").attr("href"); jQuery(this).on("click", function(){ window.location.href = theLink; }); });
Thanks,
WarrenThanks Andy,
Is there any way to do this in the child theme so it won’t be overwritten at the next main theme update?Thanks Elliott. I’m figuring it out, albeit slowly. A lot of trial and error. I’m also using the Custom Classes plugin which makes it easy to target the relevant pages.
-
AuthorPosts