Tagged: x
-
AuthorPosts
-
October 10, 2016 at 3:27 am #1209553
Studio172ParticipantHello, I’m new to working with your theme, until now everything went very smooth! Great theme!
I have a little problem which you can see here:
http://frank.pilihan.nlThe page makes a little jump when the fixed menu reaches the top. It works correctly when the width is bigger than 979, but you can see the little jump if the menu is collapsed.
How can i fix this?
greetings, Stefan
October 10, 2016 at 3:56 am #1209595
Rue NelModeratorHi Stefan,
Thanks for writing in! Since you are using SiteGround, could you please disable the supercacher in your hosting panel? The SuperCacher is developed by SiteGround exclusively for their customers. It increases the number of hits a site can handle and boosts the website loading speed. The SuperCacher includes 4 different caching options for maximum optimization of your websites. You can access the tool by clicking on the SuperCacher icon in your cPanel.
For more information about this, please check it out here: https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm
Hope this helps.
October 10, 2016 at 4:32 am #1209649
Studio172ParticipantHello Rue, thanks for your fast reply!
I have disabled the supercacher in the SiteGround environment, but that does not seem to help…
page still jumps…
greetings, StefanOctober 10, 2016 at 5:55 am #1209735
Rue NelModeratorHello Stefan,
I have investigated your site further and it turns out that there is a duplicate ID “wat”. Please keep in mind that an ID should be unique and that there should be no duplicates for the ID. Please edit your page and double your ID names. You should remove the other instance of the “wat” ID and make sure that it should be one and only.
Hope this helps. Kindly let us know.
October 10, 2016 at 6:51 am #1209793
Studio172ParticipantHello Rue,
Thanks for again a fast reply and detecting an error on my part!
I have fixed it, but sadly it does not solve the problem…do you have any further ideas?
greetings, Stefan
October 10, 2016 at 7:14 am #1209822
Studio172ParticipantAnd one more question… how can i disable the red box in the menu (feedback where the user has clicked the last time)?
I also get this red box at links that have been visited.October 10, 2016 at 8:31 am #1209906
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
a:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus { outline: none !important; }Hope that helps.
October 10, 2016 at 9:17 am #1209969
Studio172ParticipantHello Paul,
Thanks great! That script did the trick for the red box!But sadly the first problem still exist… (:The page makes a little jump when the fixed menu reaches the top. It works correctly when the width is bigger than 979, but you can see the little jump if the menu is collapsed.)
Do you have any suggestions for this problem?
greetings, Stefan
October 10, 2016 at 12:43 pm #1210226
Nabeel AModeratorHi again,
To fix the issue, add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery(document).ready(function($){ $(".x-navbar-fixed-top").parents('header.masthead.masthead-inline').css('height', $('.x-topbar').height() + $('.x-navbar').height()); });Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
October 10, 2016 at 2:00 pm #1210330
Studio172ParticipantHello Nabeel, I’ve added the script, but it doesn’t seem to fix the problem…
October 10, 2016 at 3:01 pm #1210414
Nabeel AModeratorHi again,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
October 11, 2016 at 8:42 am #1211420
Studio172ParticipantThis reply has been marked as private.October 11, 2016 at 12:40 pm #1211795
Nabeel AModeratorHi again,
Thank you for providing the credentials. I modified the code and added it in your Customize > Custom > Edit Global JavaScript section. It looks like it’s fixed now. Please clear your browser’s cache and reload the site.
Cheers!
October 11, 2016 at 3:53 pm #1212042
Studio172ParticipantHello Nabeel!
Great! You’re the best!
What did you do exactly? Alter a css with jQuery? What exactly is the masthead?Thanks a lot for the great service!
StefanOctober 11, 2016 at 4:03 pm #1212053
Nabeel AModeratorHi again,
I added the following script in your Customizer:
function stop_jumps() { jQuery('header.masthead.masthead-inline').css('height', jQuery('.x-topbar').height() + jQuery('.x-navbar').height()); } jQuery(document).ready(function(){ stop_jumps(); }); jQuery(window).resize(function(){ stop_jumps(); });And this CSS in your Child Theme:
@media screen and (min-width: 783px) { .admin-bar .x-navbar-fixed-top, .admin-bar .x-navbar-fixed-left, .admin-bar .x-navbar-fixed-right { top: 32px !important; } } @media screen and (max-width: 782px) { .admin-bar .x-navbar-fixed-top, .admin-bar .x-navbar-fixed-left, .admin-bar .x-navbar-fixed-right { top: 43px !important; } }mastheadis the class name of the header. We’re glad we could help you 🙂 -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1209553 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
