Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1249926
    aleadfreak
    Participant

    Hi,

    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

    #1249961
    Thai
    Moderator

    Hi 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 🙂

    #1249995
    aleadfreak
    Participant

    Great. Worked a treat!

    Thank you

    Alex

    #1250033
    Joao
    Moderator

    Glad to hear it,

    Joao

    #1251317
    aleadfreak
    Participant

    Hi 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.

    leadfreak.co.uk/about-3

    If you can help to remove it would be appreciated.

    Alex

    #1251321
    aleadfreak
    Participant

    Sorry,

    link to page is below:

    leadfreak.co.uk/about-us

    Thanks

    Alex

    #1251381
    Lely
    Moderator

    Hello 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 credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1251495
    aleadfreak
    Participant
    This reply has been marked as private.
    #1251661
    Joao
    Moderator

    Hi 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

    #1252944
    aleadfreak
    Participant

    Great thanks for sorting.

    Alex

    #1252993
    Rue Nel
    Moderator

    You’re welcome!
    We’re glad we were able to help you out.

  • <script> jQuery(function($){ $("#no-reply-1249926 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>