Tagged: x
-
AuthorPosts
-
September 7, 2016 at 1:07 pm #1164879
de2ma2ParticipantHello,
I am having issues with the tour shortcode. Everything works perfect except for two things:
1- When I click on a tab (section) the page slides down than up (I guess it does this until the content inside the section loads fully)
2- The tabs on the mobile are clickable but with no action. I end up in the same section (tab)
Plus I would like to transfer a license from a different account to this account. Please let me know what to do to accomplish this
Thank you!
September 7, 2016 at 2:28 pm #1164996
Prasant RaiModeratorHello There,
Thanks for writing in! To assist you with first part of the question, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
September 8, 2016 at 2:08 pm #1166888
de2ma2ParticipantThis reply has been marked as private.September 8, 2016 at 10:12 pm #1167482
Rue NelModeratorHello There,
Thank you for providing the url of the page in question. To resolve this issue,
jQuery( function($) { $(document).on('click touchstart touchend', '.vc_tta-panel, li.vc_tta-tab,li.vc_tta-tab > a,li.vc_tta-tab > a>span,.vc_tta-panel-heading,.vc_tta-panel-heading > h4,.vc_tta-panel-heading > h4 > a', function(){ $('html, body').stop(); }); $(document).on('touchstart','.vc_tta-panel', function(){ $('.vc_tta-panel').removeClass('vc_active'); $('.vc_tta-panel-body').css('display','none'); $(this).addClass('vc_active'); $(this).find('.vc_tta-panel-body').css('display','block'); }); });X 4.6.2 and Cornerstone 1.3.2 are now available! This release contains several bug fixes and we’re quite excited about the new features, so be sure to check out the changelog. Please do update to the latest version. After doing the updates, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.
Please let us know how it goes.
September 9, 2016 at 11:11 am #1168178
de2ma2ParticipantGreat Support!
Still I have two more issues that I have mentioned earlier.
The menu on the same page is working fine but I want it to have a smooth scrolling effect (one page navigation) not directly jumping to a specific section.
Second, I want to transfer a license to this account. What do I have to do to achieve this?
Thank you!
September 9, 2016 at 8:32 pm #1168791
Rue NelModeratorHello There,
Thanks for the updates! To assist you better with this issue, would you mind providing us the url of your site with login credentials, if necessary, so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password (only if necessary)Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
If you want to transfer a license into this account, please create a new thread including the purchase code and username so that we can remove it and transfer it to this account. We will be deleting it from that username and if that username has only one purchase code, it would be deleted too.
Thank you.
September 11, 2016 at 8:59 am #1170122
de2ma2ParticipantThis reply has been marked as private.September 11, 2016 at 3:58 pm #1170393
RadModeratorHi there,
One page navigation is only applicable for X’s menu, the menu on that page isn’t part of navbar, it’s manually added emnu within section.
You may try this,
// Conditions // 1. Menu should be using full url, eg. http://site.com/#x-content-band-1 and not just #x-content-band-1 // 2. Use just one menu for both Primary and One Page. jQuery(function($){ var window_base = window.location.href.split("#").slice(0)[0]; var window_hash = window.location.hash == '' ? 'body' : '#'+window.location.href.split("#").slice(-1)[0]; var outbound = /^https?:///i; $('.page-id-104 .ubermenu a').off('touchstart click'); $('.page-id-104 .ubermenu a').each(function(){ // Scan links and convert them to relative hash for one page navigation's Active statuses to work properly when manually scrolling var hash = /#/.test( $(this).attr('href') ) ? '#' + $(this).attr('href').split("#").slice(-1)[0] : ''; var anchor_base = $(this).attr('href').split("#").slice(0)[0]; if(hash) { // Does it have hash? then perform check if(anchor_base == window_base) { //If same page, then no need to reload, just make it relative $(this).attr('href', hash); } // Else, leave it that way. So when user clicked, it will just link them to outbound page } }).on('touchstart click', function(e){ // Enable Parent and Submenu scrolling var $this = $(this); var hash = /#/.test( $this.attr('href') ) ? '#' + $this.attr('href').split("#").slice(-1)[0] : 'body'; if(hash && !outbound.test( $this.attr('href') ) ) { //Does it have relative hash? e.preventDefault(); // Disable jumping e.stopPropagation(); $('html,body').animate({ scrollTop: $( hash ).offset().top - $('.x-navbar .desktop').height() - $('#wpadminbar').height() + 1 }, 700, 'swing'); // Now add active status for automatic scrolling $('.x-nav li').removeClass('current-menu-item'); $this.parent().addClass('current-menu-item'); } }); $(document).ready(function(){ // Enable auto scroll when loaded. $('.x-nav li').removeClass('current-menu-item'); // $('a:not([href*="#"])').parent().addClass('current-menu-item'); For experiment only if(window_hash) { $('a[href$="'+window_hash+'"]').click(); // Click it, so it will use default click from one page navigation event and submenu event } }) });Thanks!
September 12, 2016 at 2:45 pm #1171942
de2ma2ParticipantThis reply has been marked as private.September 12, 2016 at 7:48 pm #1172292
JadeModeratorHi there,
Which page does the JS errors show up? I checked the what we do page and I can’t seem to find any error.
September 12, 2016 at 7:55 pm #1172294
de2ma2ParticipantThis reply has been marked as private.September 13, 2016 at 2:45 am #1172646
Paul RModeratorHi,
The errors pertains for not adding google map api.
You can add this in your child theme’s functions.php file.
// Add scripts to wp_footer() function child_theme_footer_script() { ?> <script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"> </script> <?php } add_action( 'wp_footer', 'child_theme_footer_script' );Change YOUR_API_KEY with your google map api key
Hope that helps.
September 13, 2016 at 3:17 pm #1173745
de2ma2ParticipantThis reply has been marked as private.September 14, 2016 at 3:29 am #1174467
ChristianModeratorHey there,
Please try deactivating your Ultimate plugin. It looks like you might be having an issue with it. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
September 15, 2016 at 11:22 am #1176823
de2ma2ParticipantThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1164879 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
