- Posts: 49
- Thank you received: 0
Search Box Width: Input.search-query CSS conflict
- azurelink
- Topic Author
- Offline
- Senior Member
-
Less
More
10 years 5 months ago - 10 years 5 months ago #52030
by azurelink
Search Box Width: Input.search-query CSS conflict was created by azurelink
Hi Tuan,
I have Joom Donation 3.8 running on a J 3.3.6 site and I am having an input.search-query CSS conflict.
On my JD form page, the search box in the left column is too wide. On all other non-JD pages, it is the correct width, but when on the form page it extends to the right across into the mainbody area of my template.
Can you please take a look and suggest a fix?
I had to override the bootstrap.css border-radius style in the following class because it was making my search box have rounded ends.
input.search-query {
padding-right: 14px;
padding-left: 14px;
margin-bottom: 0px;
/* border-radius: 15px; */
border-radius: 0px !important;
}
If I added a width: 120px !important; it made all of the form fields in the JD form 120px wide.
Here is the CSS in our template for the search box:
#mod-search-searchword.inputbox {
border: 0px solid #FFF;
margin-top: 10px;
}
Here is the link to the form page:
www.nncc.us/site/member-information/application
Visit any other page in the site and you'll see that the search box is the correct width.
Thanks for your help.
Azurelink
I have Joom Donation 3.8 running on a J 3.3.6 site and I am having an input.search-query CSS conflict.
On my JD form page, the search box in the left column is too wide. On all other non-JD pages, it is the correct width, but when on the form page it extends to the right across into the mainbody area of my template.
Can you please take a look and suggest a fix?
I had to override the bootstrap.css border-radius style in the following class because it was making my search box have rounded ends.
input.search-query {
padding-right: 14px;
padding-left: 14px;
margin-bottom: 0px;
/* border-radius: 15px; */
border-radius: 0px !important;
}
If I added a width: 120px !important; it made all of the form fields in the JD form 120px wide.
Here is the CSS in our template for the search box:
#mod-search-searchword.inputbox {
border: 0px solid #FFF;
margin-top: 10px;
}
Here is the link to the form page:
www.nncc.us/site/member-information/application
Visit any other page in the site and you'll see that the search box is the correct width.
Thanks for your help.
Azurelink
Last edit: 10 years 5 months ago by azurelink.
Please Log in or Create an account to join the conversation.
- azurelink
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 0
10 years 5 months ago #52031
by azurelink
Replied by azurelink on topic Search Box Width: Input.search-query CSS conflict
Never mind, I just added a width attribute to our template style:
#mod-search-searchword.inputbox {
border: 0px solid #FFF;
margin-top: 10px;
width: 120px !important;
}
#mod-search-searchword.inputbox {
border: 0px solid #FFF;
margin-top: 10px;
width: 120px !important;
}
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 5 months ago #52046
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Search Box Width: Input.search-query CSS conflict
Great. Thanks for sharing the fix
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.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.
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.