Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

White Crisp Sticky Header

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 04-13-2018, 07:33 AM
 
mcupka mcupka is offline
 

eXpert
  
Join Date: Jan 2013
Posts: 204
 

Default 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,
Reply With Quote
  #2  
Old 04-22-2018, 09:40 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:56 AM.

   

 
X-Cart forums © 2001-2020