Shr.Khr
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sixteen] Make top menu bar sticky as you scrollNot sure if the solution below will work for you (as I cannot confirm until I have seen the code of your theme, but don’t see a reason why it work for you too) but I have created a custom sticky menu bar, not specific to any particular theme and does not use a plugin.
What I used instead is a third party JS called StickyJS which can be downloaded for free.
This JS is then imported into WP via the functions.php of my WP theme.Next you need to call/run this script which is done through some more JS code which can either be placed in the header.php of the theme or imported via functions.php as described above.
This should be enough to create a sticky menu bar.
The solution I used is described in full [link redacted] It also describes some of the problems I faced (for example my site is responsive, hence, I needed the menu bar adjust its width according to the width of the screen the site is viewed on), sample code and other reference links.
Forum: Fixing WordPress
In reply to: Make menu bar stick at top of screen if you scroll past it?Well I have a WP site too where I have implemented a sticky menu bar and I did not have to use any plugin.
What I used instead is a third party JS called StickyJS which can be downloaded for free.
This JS is then imported into WP via the functions.php of my WP theme.Next you need to call/run this script which is done through some more JS code which can either be placed in the header.php of the theme or imported via functions.php as described above.
This should be enough to create a sticky menu bar.
The solution I used is described in full here. It also describes some of the problems I faced (for example my site is responsive, hence, I needed the menu bar adjust its width according to the width of the screen the site is viewed on), sample code and other reference links.
Forum: Fixing WordPress
In reply to: Make Sticky Header Navigation Menu While ScrollingI have a WordPress site with the exact requirements for a sticky menubar.
I solution I used is described in full here.I also had a similar problems.
Full description of the solution I used can be found here.Forum: Themes and Templates
In reply to: Create a sticky navbarI was able to find a solution to this problem by combining information from various sources.
The complete solution is described at this link: http://www.shahriarnk.com/cms/wordpress/how-to-integrate-stickyjs-with-wordpress-and-adjust-width-for-responsive-site/Forum: Plugins
In reply to: [Hotspots Analytics] Heatmap not showing on PagesThanks mate.
Today I tried from a different computer, in Chrome browser v26 and I can see the heatmap on all pages/posts.Thanks again for your time.
As this problem doesn’t seem to exist, I am marking this topic as resolved.Forum: Plugins
In reply to: [Hotspots Analytics] Cant see the HeatmapHi Daniel
I have updated the plugin to Version 2.2.1 but my URL still changes to http://www.shahriarnk.com/?drawHeatMap=trueForum: Plugins
In reply to: [Hotspots Analytics] Cant see the HeatmapHi Daniel
I have deactivated the W3TC plugin as requested.Thanks again for your help.
Forum: Plugins
In reply to: [Hotspots Analytics] Cant see the HeatmapHi..
Really appreciate your reply and the information.However, even after I disable the W3 Total Cache plugin (the plugin is enabled now), I get the same issue as described here i.e., the URL becomes: http://www.shahriarnk.com/?drawHeatMap=true
Forum: Plugins
In reply to: [Hotspots Analytics] Cant see the HeatmapHi Daniel
In the root of my theme folder, there is file called footer.php.This file has the following lines at the very bottom:
<?php wp_footer(); ?> </div><!-- container --> </body> </html>So, what do you think?
Also, as FYI, I am using a child theme but my child theme folder only has a style.css file.
Forum: Themes and Templates
In reply to: Change color of current menu itemTop man!
It works! Thanks!So, I have changed the status of this topic to resolved.
Forum: Themes and Templates
In reply to: Change color of current menu itemPlease check now. It should be visible.
Forum: Themes and Templates
In reply to: Change color of current menu itemHi Andrew
I am actually creating a child theme.And unfortunately, the style you mentioned above does not work.
Forum: Themes and Templates
In reply to: Nav/top menu ID for use in CSS fileThanks all, this issue is resolved!
Forum: Themes and Templates
In reply to: Nav/top menu ID for use in CSS fileCertainly don’t want to create duplicate threads; just seemed to me like we are dealing with slightly different issues.