1. Hammur
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 30 October 2014
  5.  Subscribe via email
Hi, I'm using your J51 PianoForte template on one of my sites, that I'm currently building.
Have two questions about the header and the search field

1) Search field
In the template parameters I've set the show search to "Yes" which places a search field in the top right of the header image.

But this search field disappears when zooming in for the responsive mobile view (at 170% and above using firefox).
This is a little unfortunate, since I'd also like to have the search field available for mobile devices.

So is it possible for me to change this, so that it doesn't disappears?

(Also to the left of this search field I've added a module position for a language switcher - using your tutorial for this - and when the search field disappears, this language switcher (flag) stands alone in the middle of the header, which also looks kinda stupid without the search field)

2) Header
As for the header itself, is it possible for me to adjust the height of it somehow?
I would like to decrease the "height" a little, e.g. about 40px.

Tried adjusting the css for: #container_header {height} and #container_header_bg {top}
With this I can change the height and top position for the header and the hornav background, but the hornav menu doesn't follow.

how to move the menu along with the #container_header_bg?
Not sure if there is a better way to do this?


URL: http://faroexpo.konsult.fo/
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To ensure your search field remains on all screen sizes try adding the following to the Custom CSS field of your templates parameters...


#search {
display: inline !important;
}


To increase the header height you can add the following to the Custom CS field..


#container_header {
height: 290px;
}


You wish to move the menu area down a bit. You can do so by also adding the following...


#container_header_bg {
top: 220px;
}
.hornavmenu {
top: 229px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for the search and the hornav menu.

Adding
#socialmedia {
top: 164px;
}
and
#search {
display: inline !important;
z-index:99;
}

Finished it by. Had to change the z-index from 20 to 99, because otherwise I couldn't select the search field and write something in it because of the logo image.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
No problem.. glad to help.

Thank you for posting your update!

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.