Hi Ciaran
Wondering if it is possible to integrate a search-box within the menu-bar?
This is an example of what I would like to do:
https://www.w3schools.com/howto/howto_css_input_navbar.asp
I've tried setting up the hornav as active and placing a module there, but it positions it above the menu -
https://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
Thanks
John
- Fearon
- Commercial Templates
- Friday, 03 November 2023
- Subscribe via email
Thanks Ciaran. That makes sense. And yes, we can get where we want to be with the internal Max Height control.
- more than a month ago
- Commercial Templates
- # 2
Thanks Alison. To be honest it is still a work-in-progress and I'm afraid I'm probably not done asking Ciaran questions on that search-bar!
- more than a month ago
- Commercial Templates
- # 3
Great looking site John. Would suggest for accessibility the contrast be improved on your search area.
- more than a month ago
- Commercial Templates
- # 4
Hi John
It seems that the hornav position, as intended for menu modules, does not render the module class. A possible working might be to use the header-2 module position. You can position this over the hornav area with the following custom CSS...
For the LayerSlideshow height, does amending the General Settings -> Max Height setting in your module settings give you the desired result?
Ciaran
It seems that the hornav position, as intended for menu modules, does not render the module class. A possible working might be to use the header-2 module position. You can position this over the hornav area with the following custom CSS...
.header_top {
background-color: transparent;
position: absolute;
bottom: 0;
}
For the LayerSlideshow height, does amending the General Settings -> Max Height setting in your module settings give you the desired result?
Ciaran
- more than a month ago
- Commercial Templates
- # 5
Hi Ciaran
Have you had a chance to look at this?
If neither is an option it’s not a problem but would be helpful to know
John
Have you had a chance to look at this?
If neither is an option it’s not a problem but would be helpful to know
John
- more than a month ago
- Commercial Templates
- # 6
Here it is Ciaran
http://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
While you are looking at that, also wondering if there is a way to control how much of the viewport the imageslider module takes up. Ideally we would like it to be big enough to have an effect, but not so big that it takes up the entire screen.
Thanks
John
http://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
While you are looking at that, also wondering if there is a way to control how much of the viewport the imageslider module takes up. Ideally we would like it to be big enough to have an effect, but not so big that it takes up the entire screen.
Thanks
John
- more than a month ago
- Commercial Templates
- # 7
Hi John
Would you have a URL to an example of your module in the hornav location?
Ciaran
Would you have a URL to an example of your module in the hornav location?
Ciaran
- more than a month ago
- Commercial Templates
- # 8
Ciaran
I've come across a slight quirk and am wondering if there is an easy fix.
I might want to hide the search-bar on phones and run a separate module.
When I put in the code to hide it - d-none d-sm-block - it did not work when the module was set in the hornav location. When I moved the module to a different location - top-1a - it did work and the module was not visible on a phone.
Any ideas please?
John
I've come across a slight quirk and am wondering if there is an easy fix.
I might want to hide the search-bar on phones and run a separate module.
When I put in the code to hide it - d-none d-sm-block - it did not work when the module was set in the hornav location. When I moved the module to a different location - top-1a - it did work and the module was not visible on a phone.
Any ideas please?
John
- more than a month ago
- Commercial Templates
- # 9
That got the search-bar in the horizontal menu - thanks!
https://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
Is it possible to add one more line to move it from left to right?
The search-box is a Custom module
John
https://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
Is it possible to add one more line to move it from left to right?
The search-box is a Custom module
John
- more than a month ago
- Commercial Templates
- # 12
Hi John
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
Ciaran
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
.hornav {
display: flex;
flex-direction: row;
}
.hornav * {
width: auto;
}
Ciaran
- more than a month ago
- Commercial Templates
- # 13
Good Morning Ciaran,
I did try that. The search-bar is positioned to the right and also above the menubar.
Here is how it looks:
https://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
John
I did try that. The search-bar is positioned to the right and also above the menubar.
Here is how it looks:
https://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/beta
John
- more than a month ago
- Commercial Templates
- # 15
Hi John
Have you tried converting your hornav menu to a module position (Template style settings -> General -> Menus) and adding both a menu module and search module to the hornav position?
Ciaran
Have you tried converting your hornav menu to a module position (Template style settings -> General -> Menus) and adding both a menu module and search module to the hornav position?
Ciaran
- more than a month ago
- Commercial Templates
- # 16
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »