Guest Posted July 23, 2014 Share Posted July 23, 2014 Hi guys, I'm new here and to OSCommerce - The install went swimmingly with no problems. I 'd like to be able to use a full width header but when I do it pushes the 3 buttons "Cart Contents" "Checkout" "Ny Account" down so they are obscuring the top right module which is "Shopping Cart" I realise this is probably a CSS fix and I have no trouble delving in to css or code files but I am no coder myself so if anybody could help me with this little layout issue it would reall make my day :-) (and hopefully help somebody else of course!! Thanks (waiting with fingers crossed!) Russ Link to comment Share on other sites More sharing options...
♥joli1811 Posted July 23, 2014 Share Posted July 23, 2014 Example below #header {height: 247px;background-repeat:no-repeat;background-image: url('images/header_background.jpg');} Regards Joli To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2014 Share Posted July 24, 2014 Hey John, that's brilliant mate that did the job just fine! :-) Would it be complicated to have the header going across the full width of the page without affecting the rest of the shop? This seem to be a popular design these days and would look pretty cool.. (obviously I know I'd have to resize my header image to something like 1900px) - is the way to do this to set a width at 100%? Any suggesstions welcome! Thanks mate I owe you a Guinness!! Best! Russ Link to comment Share on other sites More sharing options...
♥mattjt83 Posted July 26, 2014 Share Posted July 26, 2014 @@uncoolthreads You can always add a new <div> above the <div id="bodyWrapper" class="container_24"></div>. That way it won't be constrained to the grid template. You can find that code in includes/template_top.php and the same would also apply if you wanted to add a full width footer. Just add any relevant css rules for the new divs. Matt Link to comment Share on other sites More sharing options...
blue12 Posted July 30, 2014 Share Posted July 30, 2014 mattjt83 yes i did this one but still it shows same header as body size....how to add new div and what change in grid_24 ? please can u write the code both in template.top.php and css? thank u very much !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.