Tagged: x
-
AuthorPosts
-
August 8, 2016 at 10:44 pm #1123178
ldollardParticipantRight now my logo is set as stacked and my menu as fixed.
http://corridor5.novelcreativeagency.com/
Is there a way when i scroll down for the logo to move inline with my menu so the logo is still visable?
Thanks
August 9, 2016 at 2:23 am #1123318
RupokMemberHi there,
You can follow this thread – https://community.theme.co/forums/topic/stacked-to-inline-logo-on-scroll/
There are some other thread you might find by searching.
Cheers!
August 10, 2016 at 9:56 pm #1126640
ldollardParticipantthats great thanks
August 10, 2016 at 11:16 pm #1126708
Prasant RaiModeratorYou are most welcome. 🙂
August 11, 2016 at 11:48 am #1127427
ldollardParticipantOne more question, is there anyway to make the menu fade in, instead of just like a straight jump cut.
like on this site.
thanks so much.
August 11, 2016 at 12:46 pm #1127515
RupokMemberHi there,
It seems you have applied some transition there. Do you still need any help?
Let us know.
August 11, 2016 at 12:48 pm #1127518
ldollardParticipanti do that novel site was the example of what i want
this
http://corridor5.novelcreativeagency.com/
is the site i need to use that transition on.
thanks
August 11, 2016 at 2:19 pm #1127607
JoaoModeratorWould 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.
August 11, 2016 at 3:12 pm #1127661
ldollardParticipantThis reply has been marked as private.August 11, 2016 at 9:19 pm #1128176
Rue NelModeratorHello There,
Thanks for the information. To animate the logo change, please update the JS code by using this instead:
jQuery(document).ready(function($) { var $masthead = $('.masthead'); var $logo = $('.x-brand'); var $navbar = $('.x-navbar'); var $navBtn = $('.x-btn-navbar'); var $logoBar = $('.x-logobar-inner > .x-container'); function navStackToInline() { if ( $navbar.hasClass('x-navbar-fixed-top') ) { $masthead.removeClass('masthead-stacked'); $masthead.addClass('masthead-inline'); $logo.insertBefore($navBtn); } else { $masthead.removeClass('masthead-inline'); $masthead.addClass('masthead-stacked'); $logo.appendTo($logoBar); } } navStackToInline(); $(window).ready(navStackToInline).scroll(function() { navStackToInline(); $('.x-brand').fadeTo( "slow", 1 ); }); });And then please also add the following css code in the customizer, Appearance > Customize > Custom > CSS
.masthead .x-brand{ opacity: 0; transition: opacity 0.5s linear; }Please let us know if this works out for you.
August 15, 2016 at 4:25 pm #1132524
ldollardParticipantHi thanks Rue,
That doesn’t work and when it kinda does it almost makes the page crash.
August 15, 2016 at 4:30 pm #1132529
ldollardParticipantmost of the time the logo now just disappears.
August 16, 2016 at 12:32 am #1133011
Paul RModeratorHi,
Please replace the css code to this.
.masthead .x-brand { opacity: 1; transition: opacity 0.5s linear; }Hope that helps
August 16, 2016 at 11:53 am #1133830
ldollardParticipantthanks it now shows, but does not fade in transition. Basically looked like it did before. thanks for the help though.
August 16, 2016 at 1:47 pm #1134015
RupokMemberYou are welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1123178 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
