![]() |
orange default search bar
I've looked through the template guide, but I'm not having much luck.
I'm trying to edit the default orange search bar at the head. It looks like a gradient image, but I'm not sure. Can someone please tell me how I can get rid of or change the orange? Thanks! |
Re: orange default search bar
Right click on it, view the properties, see what image it is. Upload a new one if you want to change it. If you want to nuke it, use webmaster mode or firebug to determine which class it is and edit accordingly.
|
Re: orange default search bar
I have yet to figure out how to modify the orange bar. Is there a way to change the color of it? Is there a way to make it smaller in height? Is there a way to change the color to the same blue in the menus? If so, what color numbers for the blue?
Thanks in advance for any assistance. |
Re: orange default search bar
Did you not follow what I just suggested above?
|
Re: orange default search bar
Yes I did what you mentioned above and got that it's in my home.php file. I looked around for where I needed to make the change to no avail.
Sorry to have annoyed you with another question. :? |
Re: orange default search bar
Quote:
The image is skin1/images/head_linebg.gif. I adjusted the height and color of the image and adjusted the height of the bar in the main.css. If you use Firefox, try the Firebug add-on. It will help you find the section in the main.css that pertains to whatever you want to change. |
Re: orange default search bar
The templates are a bit different, but you should read this for the general template editing concepts: http://forum.x-cart.com/showthread.php?t=21529
You didn't annoy me, but you aren't following the instructions :) |
Re: orange default search bar
Any idea how to move the search box out of the orange bar and under the speed bar?
|
Re: orange default search bar
cut the related code for the search bar then paste it under the code for the speed bar.
|
Re: orange default search bar
Would this occur in the same file or 2 different files?
|
Re: orange default search bar
If you are going to design your store you really need to dig around and get used to the .tpl structure.
These are pretty basic questions and if you are having problems with this, you really have alot of learning to do. Read the template editing guide and the thread about things asked a million times. It will save you and me a lot of head ache :) |
Re: orange default search bar
Ok well please forgive me for asking a freakin' question!!!
|
Re: orange default search bar
Sorry, wasn't trying to be rude. It's pretty easy to figure out if you understand the file structure.
Both bits are located in customer/head.tpl this is the code for the search bar. <div class="search"> <div class="valign-middle"> <form method="post" action="search.php" name="productsearchform"> <input type="hidden" name="simple_search" value="Y" /> <input type="hidden" name="mode" value="search" /> <input type="hidden" name="posted_data[by_title]" value="Y" /> <input type="hidden" name="posted_data[by_descr]" value="Y" /> <input type="hidden" name="posted_data[by_sku]" value="Y" /> <input type="hidden" name="posted_data[search_in_subcategories]" value="Y" /> <input type="hidden" name="posted_data[including]" value="all" /> {strip} <span class="search">{$lng.lbl_search}:</span> <input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /> {include file="customer/buttons/button.tpl" type="input" style="image"} <a href="search.php" class="search">{$lng.lbl_advanced_search}</a> {/strip} </form> </div> </div> This si the code for the speed bar {if $speed_bar} <div class="tabs"> <ul> {foreach from=$speed_bar item=sb} <li><a href="{$sb.link|amp}">{$sb.title}</a></li> {/foreach} </ul> </div> {/if} experiment with moving it around a bit, and see hwat you can do. |
Re: orange default search bar
Panther, we aren't trying to be jerks, but you need to help yourself a bit here and not use the forum as a help desk. The template editing guide I have linked to you multiple times explains how to find templates, edit them and navigate through them. You really need to spend the time to learn it and not just ask people to give you a step by step guide each time you have a question. There is a steep learning curve with X-Cart, but once you get the hang of it you will save yourself countless hours of headaches trying to change simple things. Take a few hours and read read read - and then try try try. If you are still having problems after that, come back and let us know how we can help.
|
All times are GMT -8. The time now is 08:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.