Knowledgebase:
Disabling Fixed Navbar ReadyThemes
Posted by , Last modified by on 14 April 2015 09:53 AM

Disclaimer

This will work for stores on Miva Version 9.0 - 9.0004. Note that this will require making changes to files on the server. Make sure you make a backup of any files you will be altering.These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer. 

 

Issue

Navigation bar follows down the page while scrolling.

 

 

Instructions

In the structure.css file located httpdocs > css

 

Look for the following section...

SUIVANT THEME

.header.stuck,
.header .main-header.stuck {
background: #fff;
position: fixed;
top: 0;
right: 0;
left: 0;
width: 100%;
z-index: 1000;
}

 

Remove 

position: fixed;

 

Look for the following section...

OPTICS THEME

.header.stuck {
background: #fff;
box-shadow: 0 2px 4px -2px rgba(51, 51, 51, .2);
position: fixed;
top: 0;
right: 0;
left: 0;
width: 100%;
z-index: 1000;
}

 

Remove 

position: fixed;

 

Remove the following from the scripts.js file

 

 // ---- On scroll, fix the header to the top ---- //

if (document.location.protocol !== 'https:' && $(window).innerWidth() > 768) {

$('#js-header').stuck();

};

(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?