Search

  • Posts: 83
  • Thank you received: 0
12 years 9 months ago #46898

Hi,

Where I can find the following code to modify it? in the DISPLAY VIEW?



<div id="search">
<form action="/index.php" method="post">
<div class="search-search">
<br /><label for="mod-search-searchword">Search...</label><input name="searchword" id="mod-search-searchword" maxlength="20" class="inputbox-search" type="text" size="15" value="Search..." onblur="if (this.value=='') this.value='Search...';" onfocus="if (this.value=='Search...') this.value='';" /> <input type="hidden" name="task" value="search" />
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="101" />
</div>
</form>

</div>

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #46900

That's a view of the search module of Joomla, not HikaShop. You can edit it via FTP in the modules/mod_search subfolders.

The following user(s) said Thank You: shiri

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 0
12 years 9 months ago #47018

In explorer the search button looks blue,I want to change the color to grey.Do you know where to do it?

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 127
  • Thank you received: 12
12 years 9 months ago #47022

Use Chrome.

Right click on the button and select Inspect Element.

Everything you ever wanted to know about that button with HMTL & CSS will be displayed. You can even play with the color and see what else is changed. If you want that one button to be different, then you can clone the class/id and build it into your template and module.

Chrome is great, Firefox too.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 0
12 years 9 months ago #47027

Thank you for the hint.I didn't know about this:)

Last edit: 12 years 9 months ago by shiri.

Please Log in or Create an account to join the conversation.

  • Posts: 127
  • Thank you received: 12
12 years 9 months ago #47036

It will be template_css.css. You can use Joomla's backend to do this (Template Manager) or directly edit under the templates/<name>/css directory. You don't need Dreamweaver in the same way you don't need an F1 car to get you to the shops for a pint of milk.

Look for .button class. But changing this will change all instances of your buttons, so if you want to do something different, then you will need to create a new class and hack the search com to reference it.

It's great fun playing around with this stuff. I don't like IE lol.

Tony
<not an expert by any means but like playing>

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 0
12 years 9 months ago #47042

Thanks so much Tony big helper.Although I am not a web developer but when you give me such a tool it is like giving me a toy :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum