![]() |
How do I remove Company Name & Phone number from head?
I've replaced the banner (top_image.jpg) with my own creation, which has the company name on it. I want to remove all that text and default logo icon in the upper left hand corner of the header altogether.
I've checked the "questions asked over and over" link, and it only addresses replacing the logo. I want the default stuff GONE. How do I do this?? Then I'm going to play with the CSS code for the speedbar and search tag and get them off my banner and in the preferred colors. In 600+ pages of the manual, even removing the logo is not addressed, that I can see. It's still a better manual than Zen Cart's. I am proficient in HTML, XHTML and CSS (sure do wish your code were commented better - I use comments to identify the purpose of beginning and ending divs) - and I have a book on Smarty tags coming today, but I also see JavaScript in there, and I'm not conversant in JS. Yet. I don't want to break anything. I am first backing up any templates that I'm changing, just in case. |
Re: How do I remove Company Name & Phone number from head?
Open skin1/customer/head.tpl and comment out the code you don't need like this {* code to comment out *}
|
Re: How do I remove Company Name & Phone number from head?
Not quite sure where to begin and end my commenting. I count four opening divs and three closing divs in that area. The divs are not commented, and I don't want to break the page. I also notice the speed bar code is in between the logo code and the phone number code.
|
Re: How do I remove Company Name & Phone number from head?
Original 4.2.1 code. Do not copy/paste as yours could be different depending on version and mods. I don't see company name in the original code, unless you are talking abou the company logo
Code:
{* |
Re: How do I remove Company Name & Phone number from head?
Yeah, Company Logo and Name.
Thank you for showing me. I'm figuring stuff out on my own, but when I think I'm going to break the code, that's another story. |
Re: How do I remove Company Name & Phone number from head?
Quote:
Heres a tip.. Download this: http://www.wampserver.com/en/ It will install apache, mysql and PHP on your computer. Install it, run it. Left click on the speed dial on the right side of your task bar. Make sure its white and black and that the server is 'offline' so other people cant access it. It will still allow you to check the thing out. Backup your site, install it in wamps WWW directory Do tests on that and in a notepad program (I highly suggest notepadd+) so you can simply ctrl+z to undo problems. Quick and simple to see if a change works :-) |
Re: How do I remove Company Name & Phone number from head?
Hmmmm...I'm going to have to think about this, because I'm on a Mac. I'm running WinXP on Parallels, but I think I'd rather just install something directly on my Mac. They make great servers. I try not to go into WinXP unless I absolutely have to, like for site-checking.
It would also help to have a server on my tower, since Time Warner Cable internet is so danged unreliable. It goes down at least once a month. I was downloading the current X-cart onto my local server from the remote last night, and my internet went down for 35 minutes. <Expletive deleted> I just haven't had time to do the server thing on my box yet! I've been thinking about it, though. I'm so busy with 3 big websites, including this shopping cart. Also, I could use BBEdit or TextEdit (both Mac-specific), but I just use DW. I do most of my coding by hand anyway. |
Re: How do I remove Company Name & Phone number from head?
I did find MAMP (same thing as the above, only for Macs), and they have a MAMP-Pro version for $60 (not as much configuration need). Not shabby. I think I may do that this weekend. Dang, I need to get up to speed on PHP and MySQL. Apache and Unix wouldn't hurt, either. Who needs to watch TV when you can play on your computer during all your waking hours?
|
Re: How do I remove Company Name & Phone number from head?
apache is built in on mac OSX, you just need PHP and mysql, there's some online packages ou can install, just google it,
|
Re: How do I remove Company Name & Phone number from head?
There's MAMP and it's free, probably because some of the components are already on OSX. MAMP-Pro has a few bells and whistles. http://www.mamp.info/en/mamp-pro/
|
Re: How do I remove Company Name & Phone number from head?
Quote:
Broken all to heck. I think that's because your code looks like this: Code:
{* REMOVE COMPANY LOGO and before I put in the comments, my code looked like this: Code:
<div class="logo"> You'll note the JavaScript "Onclick" in my code. Here's the website, so you can see what's wrong: teambreaksbarriers.com |
Re: How do I remove Company Name & Phone number from head?
The code I posted is from the out-of-the-box xcart with lucid skin, yours is different. But the logic is the same - you have to find the code you want to comment out in head.tpl
If you want to comment out the log comment out the div with class="logo1" and not the div with class="logo" per your example above. Right now looking at your site is a mess because you closed the header div before line2 and line3 which also belong to the header and that's why there are at the bottom of your site. It's all CSS code that you have to follow properly |
Re: How do I remove Company Name & Phone number from head?
Oh, I'm used to following CSS code properly, but PHP, JavaScript, and Smarty tags are being interjected and the divs are not commented as to what they belong to, so I'm left counting divs. The documentation talks about having a solid knowledge of HTML (check), CSS (mostly check), and Smarty Tags (not so much). Nothing about PHP and JavaScript.
I'm still futzing with this. One thing I've learned about CSS in the last 6 years is you want to be careful about how many position: absolute rules you put on the page (straight from the posts of the experts on CSS-Discuss). Things can break very quickly. And they are. I'm trying to move the header down, the tabs (absolute position) over the top of the header, the search box (absolute position) up to the upper left, and get the nav bar back where it should be, as soon as I can figure out what it's called in the template and CSS. I can't get those to move. I also can't get the left sidebar boxes out of the middle of the page. Arggg. I've made slight progress today. The template editing screen *kind* of feels like I'm editing templates on my iPhone - the area is so small. This is one of X-Cart's generic templates. I'm trying to customize it, which is supposed to be easy according to the website, but not so much. Same thing I encountered with Zen Cart. Supposed to be a piece of cake, but more like a nightmare. This is slightly better than Zen Cart. I just got my book on Smarty tags from UPS. We'll see how much that helps. :( Thank you for your help - I really appreciate it! |
Re: How do I remove Company Name & Phone number from head?
You will be better off using an FTP client with integrated editor to edit files. Xcart admin edit is not the way to do it
|
Re: How do I remove Company Name & Phone number from head?
Yeah, I'm mostly using DW CS3. I make a copy of the page and put it in my BAK folder on my local server. I do most of my coding by hand anyway. Too bad I don't have my MAMP server going yet - this would be so much faster...my cable internet gets a little sluggish.
But nearly 5000 lines of CSS code? Goodness! and I thought *I* had really long style sheets! LOL. I forgot I had a function in my Web Developer Toolbar in FF that lets me see the CSS style information, so I just roll over the area and it gives me the parent container(s) and all child rules so I can figure out what something is called in order to change it. This is the main reason I use FF, and I use the Web Developer toolbar nearly every day. I printed out the page and made notes all over it as to what made up each element. This will save me a bunch of time tomorrow. The two boxes I thought were supposed to be on the left were actually supposed to be on the bottom. I'm going to try to move those tomorrow. I don't like them where they are. This week I have to learn Smarty Tags, Fireworks, X-Cart, and iDevAffiliate. This weekend - Apache, MySQL, and PHP - at least enough to get around MAMP. Hard to wear my right-brain creative hat when I'm doing all this left-brain thinking. Did I mention I have to design another site this week too? |
All times are GMT -8. The time now is 05:33 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.