Search the Community
Showing results for tags 'header'.
-
I'm working on the following site: www.ledwholesalers.com/store I'm simply trying to add a banner into the header between the logo and the search box, but the banner I'm using requires me to drop in a JavaScript code snippet. I'm working with a theme called Killer, so I went to /skins/Killer/styleTemplates/global/index.tpl and found the following... <div id="topHeader"> <div id="sessionBox"> <div style="padding: 15px 8px 15px 15px; margin: 0px;"> {SEARCH_FORM} {SESSION} </div> </div> </div> So I simply adjusted that like this... <div id="topHeader"> <div id="paypal_bml_banner" style="width:800px; height:66px; text-align:center; margin:0 auto 0 auto;"> <script type="text/javascript" data-pp-pubid="1524e6a130" data-pp-placementtype="800x66"> (function (d, t) { "use strict"; var s = d.getElementsByTagName(t)[0], n = d.createElement(t); n.src = "//paypal.adtag.where.com/merchant.js"; s.parentNode.insertBefore(n, s); }(document, "script")); </script> </div> <div id="sessionBox"> <div style="padding: 15px 8px 15px 15px; margin: 0px;"> {SEARCH_FORM} {SESSION} </div> </div> </div> When I did that, the site logo displayed and the banner displayed, but then everything after that was blank white. The rest of the page wouldn't load at all. I'm guessing something about that JavaScript snippet is interfering with CubeCart somehow..?? I've removed it from that site because that is my client's live site. I tried to install CubeCart on my local test server so I could play with it there, but I don't have Zend Optimizer or IonCube Loader so it won't run. I'm going to get that done so I can provide a page that has the banner on it, but in the mean-time if you know any tips to help me with this more quickly I'd greatly appreciate it.
-
Hello guys and girls, On our website www.finegrime.co.uk we need to be able to make the header wider so that the frame (built into the image) looks like it is framing the content below. The width of the header and page content/body is is 1000px so is there a way you know of that I can either: make the header wider than the page content below it make the page content narrower than the 1000px header above it If you take a look at the site you should see what I mean. thanks for your help in advance and if you need to know anything just say. p.s. im using the grey kurouto skin which I have been customising the css here and there but nothing major.