Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9119305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:21:51+00:00 2026-06-17T05:21:51+00:00

In wordpress I have developed a website. In that I have two sidebars. In

  • 0

In wordpress I have developed a website. In that I have two sidebars. In the left sidebar I have the wordpress custom menu. So as the page is scrolled down I want the left sidebar menu to be at fixed position so I just used this jQuery

    jQuery(document).ready(function () {  
  var top = jQuery('.widget_nav_menu').offset().top - parseFloat(jQuery('.widget_nav_menu').css('marginTop').replace(/auto/, 0));
  //console.log(top);
  jQuery(window).scroll(function(event) {
    // what the y position of the scroll is
    var y = jQuery(this).scrollTop();
    //console.log(y);
    // whether that's below the form
    if (y >= top) {
      // if so, ad the fixed class
      jQuery('.widget_nav_menu').addClass('fixed');
    } else {
      // otherwise remove it
      jQuery('.widget_nav_menu').removeClass('fixed');
    }
  });
});

This is working fine when I have something above my menu. But if there is only menu then the content is floating part is merging over the menu. Now when you will go to this live site you can see the actual issue.
In this site when you will go to payroll software page and will scroll the page, you can see the left menus will be fixed at top part as I have used jQuery. Here it is okay. But when you will go to the free trail or buy page and will scroll down the page then you can see the main content part is merging over the menu. So can someone kindly help me to solve this? Any help and suggestions will be highly appreciable.

Note
When visiting the site if it shows 500 error then just refresh the page it will work again.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:21:52+00:00Added an answer on June 17, 2026 at 5:21 am

    Add a transparent border to the #teritary div style, defined at line 1673 in your wp-content/themes/ValuePayroll/style.css file:

    #teritary {
      width: 230px;
      float: left;
      margin: 0 10px 0 0;
      border: solid 1px transparent;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom developed WordPress plugin that is using jQuery 1.4 and for
I have developed a wordpress theme with header, footer, sidebar, index, page, single and
i have wordpress blog in my custom built website, i am displaying some posts
I have a wordpress page (Sofa QandA). I want to change the color of
we want to build a website that have some forms (including image attachments, info,
I have developed a wordpress plugin that looks through a bunch of html and
I have developed a wordpress plugin that uses jquery. This plugin have some javascript
I'm using the anytime.js datepicker library of a WordPress plugin that was custom-developed for
I have developed a wordpress plugin that uses shortcodes. The problem is that it
I have a website on Wordpress and I developed some theme options in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.