If selecting "No header" (only menu) for internal pages, sticky menu not working


#1

Hello.

For internal pages, your theme has an option for “Site Header Type” called “No header” (only menu). I selected this option and also the option for Sticky Menu. On the home page (Full Slider, the sticky menu works but for the internal pages, with the setting of No Header, the Sticky Menu isn’t sticky. I really hope there is a fix for this.

Thanks,
Esteban


#2

Hi Esteban,
The sticky menu is working fine on my site. Can you please to provide the link of your site? So I can check your site directly.

Regards,
Awan


#3

Hello Awan. Thank you for looking into this.
Site link is http://creativew.com/blog

  • Esteban

#4

Hi Esteban,

Thank you for the link but looks like you are not using our theme?


#5

Hi Awan,

I apologize. Here is the link http://creativew.com/theme/my-blog-page


#6

Thanks, I just checking the site and you are using old version of the theme (v1.17)
This issue is already fixed in the latest update of the theme. Please update your theme and let me know if this issue is not resolved.


#7

Understood. I have made modifications to the code and I am very nervous about updating the theme, since it says if you have made modifications, not using a Child theme I will loose my updates.

Any thought on this would be very appreciated or if I knew where to inject the new code, that could work also.

Thanks.


#8

There is no reason to worries if you never modified the original code directly to the theme :slight_smile:

Please make sure you’ve backup the site before updating the theme.

Or you can also adding this css code to make the site-header fixed when the page scrolled:

.site-header.float-header.fixed {
    position: fixed !important;
}

#9

Awan,

I injected your code and it worked. I need to ask if there is a bit more code I could add so that the site header is smoothly revealed when scrolling as it does on home page. Here is the internal page link again: http://creativew.com/theme/my-blog-page

Thanks Awan!


#10

Hmm… that was javascript event. Its better if you create a child theme before you modify the javascript file.

Let me know if you decide to create a child theme :slight_smile:


#11

Sorry, I’m not clear on the “child theme” to be honest - how to achieve this or the purpose.

Help to get this working smoothly would be very appreciated.

Thank you Awan.


#12

Here is the tutorial of how to create a child theme https://codex.wordpress.org/Child_Themes

Or you can try this plugin https://wordpress.org/plugins/one-click-child-theme/ also.