X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   White Crisp Sticky Header (https://forum.x-cart.com/showthread.php?t=76172)

mcupka 04-13-2018 07:33 AM

White Crisp Sticky Header
 
How can I remove this? Any advice would be appreciated. Also, will making updates to the code via the template editor be reverted once XCart receives an update?

Thanks,

qualiteam 04-22-2018 09:40 PM

Re: White Crisp Sticky Header
 
This will make the header non-sticky:
Code:

#header-area .desktop-header.affix {
  position: relative;
}


But when you scroll the page down the header resizes, and there are several CSS rules that update styles depending on whether the "#header-area .desktop-header" element has the "affix" CSS class, or the "affix-top" one. You will have to find styles that would revert this behaviour, or create a custom module that will replace the "skins/crisp_white/customer/js/header.js" file with another one that won't enable the "affix" plugin on the page.


All times are GMT -8. The time now is 01:19 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.