Tagged: x
-
AuthorPosts
-
November 9, 2016 at 6:16 am #1249926
aleadfreakParticipantHi,
Love the theme. Couple of questions:
1) I am looking to change the header background colour to white and the font to black on scrolling past the full page slider on my homepage. I have tried the other suggestions in the forum but nothing seems to work.
Site: http://leadfreak.co.uk
2) At the bottom of the work section, there is a space of about 5 pixels (approx) of pure background colour. I’d like to remove this and have no padding or margin. Checked all the settings but cannot work out how to do this.
Please help.
Thanks
Alex
November 9, 2016 at 6:54 am #1249961
ThaiModeratorHi Alex,
#1] Please add the following code under Customizer > Custom > Global Javascript:
jQuery(function($){ var $navbar = $('.x-navbar'); $navbar.removeClass('x-navbar-fixed-top'); $(window).scroll(function(event) { var $current = $(this).scrollTop(); if( $current > 0 ){ $navbar.addClass('x-navbar-fixed-top'); } else { $navbar.removeClass('x-navbar-fixed-top'); } }); });#2] Please add the following CSS under Customizer > Custom > Global CSS:
.x-navbar.x-navbar-fixed-top { background-color: rgba(0, 0, 0, 0.5); } .x-text p:empty { display: none; }Hope it helps 🙂
November 9, 2016 at 7:24 am #1249995
aleadfreakParticipantGreat. Worked a treat!
Thank you
Alex
November 9, 2016 at 7:53 am #1250033
JoaoModeratorGlad to hear it,
Joao
November 10, 2016 at 1:56 am #1251317
aleadfreakParticipantHi Joao,
Sorry to bother you again.
With the code that was added to the Global Javascript, the code itself is no appearing at the bottom of the live page.
If you can help to remove it would be appreciated.
Alex
November 10, 2016 at 1:59 am #1251321
aleadfreakParticipantNovember 10, 2016 at 3:03 am #1251381
LelyModeratorHello Alex,
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 / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
November 10, 2016 at 4:53 am #1251495
aleadfreakParticipantThis reply has been marked as private.November 10, 2016 at 7:58 am #1251661
JoaoModeratorHi There,
I have changed the position of the script on your Appereance > Customizer > Custom > JS and now you are not getting the error any longer.
Hope that helps
Joao
November 11, 2016 at 1:54 am #1252944
aleadfreakParticipantGreat thanks for sorting.
Alex
November 11, 2016 at 2:45 am #1252993
Rue NelModeratorYou’re welcome!
We’re glad we were able to help you out. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1249926 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
