Tagged: search
-
AuthorPosts
-
sukinoz Friend
sukinoz
- Join date:
- December 2013
- Posts:
- 44
- Downloads:
- 107
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 2 times in 2 posts
January 10, 2016 at 3:28 pm #842833Hello,
My website visitors dont know how to use the Search Bar option, by pressing the "enter" in keyboard. (the try to press with mouse the "search icon")
I would like if the "search icon" (or other) shoud be clickeable.
I want to say… How can i add a "Search Button" to press for search the word introduced?
Thanks
sukinoz Friendsukinoz
- Join date:
- December 2013
- Posts:
- 44
- Downloads:
- 107
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 2 times in 2 posts
January 10, 2016 at 5:12 pm #842900i think i have it…
-
delete (or rename) the /templates/purity_iii/html/mod_search/default.php
-
in module "search" at jooma backend: Search Button and Search Button Image options = Yes Box Text = "Search…" Module Class Suffix = "topbar"
-
load and image button searchButton.gif (attached here) to /templates/purity_iii/images/
- add to the custom.css
.head-search .searchtopbar { background: #0067a2; }
.head-search .form-control { margin: 0; padding: 0 0 0 5px; width: 60px; }
.searchtopbar input[type="image"] { padding: 0; margin: 0 5px -5px 0; }
Sure there mistakes (my css is very poor) … but seems to work.
Hope it will be usefull for someone else.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 11, 2016 at 3:35 pm #844287Hello sukinoz
I can see the search button is working on your site .
Thanks for sharing solution for other members , I marked it as TIP .sukinoz Friendsukinoz
- Join date:
- December 2013
- Posts:
- 44
- Downloads:
- 107
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 2 times in 2 posts
January 11, 2016 at 10:50 pm #844768wait a moment…
in mobile view there is a problem: the search buttom image is shown under the text box, not at the right side of it.
any solution?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 12, 2016 at 3:14 am #845028Hi
sorry as there is not enough space its not able to fit in the mobile layout . > http://prntscr.com/9p0u4n
You can change icon padding but it also look bad as there is very less space in mobile layout .sukinoz Friendsukinoz
- Join date:
- December 2013
- Posts:
- 44
- Downloads:
- 107
- Uploads:
- 5
- Thanks:
- 13
- Thanked:
- 2 times in 2 posts
January 13, 2016 at 3:22 pm #846756OK OK OK…
Now i have it!
Users wants "Search Button", so, i give it to them: A "SEARCH BUTTON" LINKED TO THE SEARCH PAGE!
Unpublish the Search Module in "head-search" position
create a Custom HTML: Code:
<a href="index.php?option=com_search&view=search&Itemid=1070" title="Buscar Ambientales"><i class="fa fa-search"></i></a>
Module Class Sufix: "(space)search-top-button" Positon: Head-Search
in custom.css added:
.search-top-button > a { display: block; position: relative; float: left; padding: 15px 10px; background: #0067A2; height: 55px; width: 40px; color: #bbe6ff; text-align: center; } .search-top-button > a:hover { background: #0067A2; color: #fff; }
Now SOLVED
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 2 voices, and was last updated by sukinoz 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum