Tagged: x
-
AuthorPosts
-
August 22, 2016 at 3:05 pm #1142032
Steve123ParticipantHi,
Is it possible to make the header/menu shrink/enlarge as the page scrolls like the Enfold theme, please?
Thanks.
August 22, 2016 at 9:54 pm #1142505
Prasant RaiModeratorHello Steve,
Thanks for writing in!
You can use Fix Top under navbar position.
Thanks.
August 23, 2016 at 6:47 am #1142928
Steve123ParticipantThanks, but that does nothing.
Are you saying it CANNOT shrink and enlarge as people scroll like Enfold?
August 23, 2016 at 9:47 am #1143158
RahulModeratorHey There,
Thanks for writing in!
To make changes to your Header menu, we request you to follow the Header Customization section by following the below link.
https://community.theme.co/kb/customizer-header/
You can achieve the Header Scroll Effect by using an additional Javascript via Appearance > Customize > Custom > Javascript.
jQuery(document).ready(function($){ $(window).scroll(function(){ if ($(this).scrollTop() > 0) { $('.x-navbar-fixed-top').css("background-color", "#fff"); } else { $('.x-navbar-fixed-top').css("background-color", "transparent"); } }); });Hope this helps!
August 23, 2016 at 11:46 am #1143395
Steve123ParticipantThanks.
So X cannot do the shrink/enlarge effect that Enfold does?
August 23, 2016 at 2:18 pm #1143623
JoaoModeratorHi There,
Have you tried the code above?
Would you mind posting the link of your page and the page of Enfold you are referring to so we can compare and help you reach you the desired affect?
Thanks
Joao
August 23, 2016 at 2:54 pm #1143677
Steve123ParticipantLook at the Enfold image, top left in the header as you scroll. It shrinks.
August 24, 2016 at 12:52 am #1144243
ChristopherModeratorThanks for writing in! To assist you with this issue, 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.
August 24, 2016 at 2:09 am #1144309
Steve123ParticipantMy site isn’t live (it’s a brand new version of X on up-to-date WP). All I want to know is if it is possible for X to achieve that effect, please. A simple yes or no – you do not need to see my site to tell me if X is capable of that.
August 24, 2016 at 8:11 am #1144656
JoaoModeratorHi,
It is definitely possible.
You can try the solution provided above, if you are unsatisfied with it, you might search assistance of a professional developer to bring you the desired effect.
Hope that helps,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1142032 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
