Hello folks!
Here is another free extension for all you OpenCart'ers
This extension adds a "fixed" header to your OpenCart store. This means that when a user scrolls down, the logo, cart, and some hyperlinks scroll down with the page along the top.
Not a huge modification, but it certainly makes the front-end look a little nicer
It was tested on the original OpenCart theme, however it should work with a lot of OpenCart themes.
It is 100% free, so why not go ahead and download it!
For a demo visit: test.embermonkey.com/demo/
Your comments and thoughts will be greatly appreciated
Thanks,
Peter
Here is another free extension for all you OpenCart'ers
This extension adds a "fixed" header to your OpenCart store. This means that when a user scrolls down, the logo, cart, and some hyperlinks scroll down with the page along the top.
Not a huge modification, but it certainly makes the front-end look a little nicer
It was tested on the original OpenCart theme, however it should work with a lot of OpenCart themes.
It is 100% free, so why not go ahead and download it!
For a demo visit: test.embermonkey.com/demo/
Your comments and thoughts will be greatly appreciated
Thanks,
Peter
Attachments
banner.png (55.53 KiB) Viewed 7156 times
For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Cool extension.....
I tried it on my site and it works perfectly apart from the shopping cart shows null before and after
for some reason? See image attached.
Any ideas as to how to fix it?
best regards
Dave
There won't be a lot of room for a search bar, but drop me a message and I can help you out.
Peter
Peter
ashokavarthanan wrote:sir how to add search bar no this location?
For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
pedro1993 wrote:There won't be a lot of room for a search bar, but drop me a message and I can help you out.
Peterashokavarthanan wrote:sir how to add search bar no this location?
sir same question please help
i know small javascript can make fixed header.
Opencart 2.0
Opencart 1.5.6
Try and comment
Opencart 2.0
Code: Select all
<script type="text/javascript">
$(window).scroll(function() {
$(this).scrollTop() > 168 ? $("header").css({
position: "fixed",
top: 0,
background: "#eee",
padding: "0px " + .5 * ($(document).width() - $(".row").width()) + "px",
"z-index": 999
}) : $("header").removeAttr("style")
});
</script>
Code: Select all
<script type="text/javascript">
$(window).scroll(function() {
$(this).scrollTop() > 168 ? $("#header").css({
position: "fixed",
top: 0,
width: $("#container").width() ,
background: "#eee",
"z-index": 999
}) : $("#header").removeAttr("style")
});
</script>
For quick, professional OpenCart support please email boicute.14@gmail.com
---------------------------------------------------------------------------------
Opencart with Javascript Mixing TKU.VN
This works good on 2.0.3.1 but is there anyway to make it auto fit the screen at 320x480?bemba wrote:i know small javascript can make fixed header.
Opencart 2.0Opencart 1.5.6Code: Select all
<script type="text/javascript"> $(window).scroll(function() { $(this).scrollTop() > 168 ? $("header").css({ position: "fixed", top: 0, background: "#eee", padding: "0px " + .5 * ($(document).width() - $(".row").width()) + "px", "z-index": 999 }) : $("header").removeAttr("style") }); </script>
Try and commentCode: Select all
<script type="text/javascript"> $(window).scroll(function() { $(this).scrollTop() > 168 ? $("#header").css({ position: "fixed", top: 0, width: $("#container").width() , background: "#eee", "z-index": 999 }) : $("#header").removeAttr("style") }); </script>
Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.
pedro1993 wrote:Hello folks!
Here is another free extension for all you OpenCart'ers
This extension adds a "fixed" header to your OpenCart store. This means that when a user scrolls down, the logo, cart, and some hyperlinks scroll down with the page along the top.
Not a huge modification, but it certainly makes the front-end look a little nicer
It was tested on the original OpenCart theme, however it should work with a lot of OpenCart themes.
It is 100% free, so why not go ahead and download it!
For a demo visit: test.embermonkey.com/demo/
Your comments and thoughts will be greatly appreciated
Thanks,
Peter
hi just wondering how i can download your fixed header modification. cheers
Who is online
Users browsing this forum: No registered users and 78 guests