Hello @dottsco
You may simply add following lines of code in theme-options->styling->cutom.css:
.top-bar {
position:fixed;
width:100%;
}
.fixed-header {
margin-top:2.5rem;
}
Regards,
Max Mullins
8 replies3 participantsUpdated by Rose Tyler
Hi! I´m trying show top bar area fixed when you scrolling on the page. is it posibble with the css classes (fixed-header fixed-enabled) that you have on the theme? I need to know which is the file on xstore/headers, ihave tried on menu-top.php but doesn´t work.
Thanks!
Hello @dottsco
You may simply add following lines of code in theme-options->styling->cutom.css:
.top-bar {
position:fixed;
width:100%;
}
.fixed-header {
margin-top:2.5rem;
}
Regards,
Max Mullins
THANKS!!! 🙂
But now i have another problem, i don´t know if it´s a bug of your theme, but the cart when is displaying on top bar is not working. I can´t open the cart when is there but if it´s working on the header… ¿is it your problem? Thanks!!
Hi again! I just realized that the problem comes for the top bar fixed. When is fixed with the css code, any links on the top-bar working! It is possible resolve this?
Thanks!
Hello,
Could you provide me temporary admin panel access to check?
Regards
Yes, sure! Sorry for the delay! Now the css code that you provided me is commented in style.css child theme. Just we commented waiting to resolve the issue. Thanks.
Hello,
Please change previous code to:
.top-bar {
position:fixed;
width:100%;
z-index: 3;
}
.fixed-header {
margin-top:2.5rem;
}
Regards
Thanks!!! 🙂
Hello,
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Classic Fashion Store (Dark)Fashion
(live demo, opens in a new tab)
Handmade StoreBeauty
(live demo, opens in a new tab)
Organic Cosmetics StoreBeauty
(live demo, opens in a new tab)
Babyland 01WPBakery
(live demo, opens in a new tab)
Niche Market 02Marketplace
(live demo, opens in a new tab)
Animals StorePets
(live demo, opens in a new tab)
Painting studioElementor
(live demo, opens in a new tab)
Home Decor 02 StoreFurniture
(live demo, opens in a new tab)
BarbershopBeauty
(live demo, opens in a new tab)
Luxury Jewelry StoreJewellery
(live demo, opens in a new tab)
Drinks StoreFood & drinks
(live demo, opens in a new tab)
ArchitectureBusiness
(live demo, opens in a new tab)
RestaurantPortfolio
(live demo, opens in a new tab)
X-Phone StoreElectronics
(live demo, opens in a new tab)
Eco Scooter StoreSports & travel
(live demo, opens in a new tab)
Lingerie StoreFashion
(live demo, opens in a new tab)