Premium Joomla Templates
Making search module less wide?
Hi all, couldn't find help with this. Sorry if it's covered elsewhere; please point me to a thread if it is.
I'd like to make the search module on our Neutrino Pro site slightly less wide ... by 6 to 8 pixels or so. I need enough room to add a word to one of the menu items (change "Search Inventory" to "Search Our Inventory"). But that shoves the last menu item (Contact) out of the green menu bar.
I figure it's in the template css somewhere but can't seem to find it. Thanks in advance for any tips.
Please see: http://www.destinationsmobility.com/
I'd like to make the search module on our Neutrino Pro site slightly less wide ... by 6 to 8 pixels or so. I need enough room to add a word to one of the menu items (change "Search Inventory" to "Search Our Inventory"). But that shoves the last menu item (Contact) out of the green menu bar.
I figure it's in the template css somewhere but can't seem to find it. Thanks in advance for any tips.
Please see: http://www.destinationsmobility.com/
The discussion has been resolved.
Accepted Answer
-
Hi Andym,
Under the template.css file, locate the following and modify the width properties of both:
around line 231:
#navbar .nav_wrapper { width: 760px; float: left; }
around line 235:
#navbar .search_wrapper { ... width: 170px; ... }
The width of #navbar .nav_wrapper should be increased, eg. to 820px or so while the width of #navbar .search_wrapper should be decreased.
Hope that helps!andym likes this post.
2 responses Add Yours
-
Thanks, Zahir ... this makes sense. I'm working a crazy deadline here at Art101 Central Command, but I'll check out your fix and report back with anything useful ASAP.
BTW, thanks for building the Neutrino template. It's brilliant, clean, and flexible. You rock.zahir likes this post. -
Thanks again, Zahir; I finally got around to editing the CSS and it worked like a charm. If you visit http://destinationsmobility.com you'll see the new, narrow search field. This gave us room to add a new top menu item for our military Veterans services.
Note for other Neutrino users: If you don't see changes when viewing your site after following Zahir's CSS tip, you may need to go to the Joomla Administration panel, Site dropdown menu, Maintenance, Clear Cache and Purge Expired Cache. After we did that, the new search bar popped right up at the new width in every browser we tested.
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.