Constant main menu

If you are planning to organize any conference or festival, there are many ways to get help via our forum.
GK User
Thu Apr 30, 2015 9:02 am
Hi

I'm working with the Events Wordpress Theme and have a few questions:

1. Is it possible to make the main menu on top to be constant. I don't want the menu to change form.
2. I would like to change the text in the rigth column on a speaker page. Cannot find a way to do that?
3. I would like to remove the comments form. Even if I go in to Settings and turn it of, it still shows on the bottom of each page.

Best regards
Are Sleveland
User avatar
Fresh Boarder

GK User
Thu Apr 30, 2015 12:09 pm
Hello,

1. Please add class active in the #gk-header-nav element in the header.php (and header-frontpage.php if you want to modify the frontpage) file. Please also remove from the js/functions.php file the following JS code fragment:

Code: Select all
if($('#gk-header-nav') && !$('#gk-header-nav').hasClass('active')) {      
      $(window).scroll(function() {
         var currentPosition = $(window).scrollTop();

         if(
            currentPosition >= $('#gk-header').outerHeight() &&
            !$('#gk-header-nav').hasClass('active')
         ) {
            $('#gk-header-nav').addClass('active');
         } else if(
            currentPosition < $('#gk-header').outerHeight() &&
            $('#gk-header-nav').hasClass('active')
         ) {
            $('#gk-header-nav').removeClass('active');
         }
      });
   }


2. The text on the right column is defined in the post custom fields

3. Please use a plugin for global disable of the site comments: https://wordpress.org/plugins/disable-comments/
User avatar
Administrator

GK User
Thu Apr 30, 2015 2:35 pm
Thank you very much for your reply. This helps a lot.

It seems like I don't have visible custom fields on my pages dashboard.
Do you have any idea why I don't see them?
User avatar
Fresh Boarder

GK User
Thu Apr 30, 2015 2:39 pm
User avatar
Administrator

GK User
Mon Oct 12, 2015 9:54 pm
dziudek wrote:Hello,
2. The text on the right column is defined in the post custom fields but where there is no data from right column
1. Please add class active in the #gk-header-nav element in the header.php (and header-frontpage.php if you want to modify the frontpage) file. Please also remove from the js/functions.php file the following JS code fragment:

Code: Select all
if($('#gk-header-nav') && !$('#gk-header-nav').hasClass('active')) {      
      $(window).scroll(function() {
         var currentPosition = $(window).scrollTop();

         if(
            currentPosition >= $('#gk-header').outerHeight() &&
            !$('#gk-header-nav').hasClass('active')
         ) {
            $('#gk-header-nav').addClass('active');
         } else if(
            currentPosition < $('#gk-header').outerHeight() &&
            $('#gk-header-nav').hasClass('active')
         ) {
            $('#gk-header-nav').removeClass('active');
         }
      });
   }


2. The text on the right column is defined in the post custom fields

3. Please use a plugin for global disable of the site comments: https://wordpress.org/plugins/disable-comments/
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.