- Posts: 1
- Thank you received: 0
Abbreviate long titles in search dropdown
- Maestroc
- Topic Author
- Offline
- New Member
Less
More
10 years 4 months ago #1930
by Maestroc
Abbreviate long titles in search dropdown was created by Maestroc
Is there a way to abbreviate the titles in the custom properties search module? Either that or manually set the width of the dropdown box? Right now the length of some of them is making the dropdown extend past the edge of the column and my attempts at editing the css have been unsuccessful.
Example of the problem is shown on this page:
www.nll.no/index.php?option=com_fjrelate...=blog&id=0&Itemid=80
Look in the left column in Artikkel Register box.
Example of the problem is shown on this page:
www.nll.no/index.php?option=com_fjrelate...=blog&id=0&Itemid=80
Look in the left column in Artikkel Register box.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
10 years 4 months ago #1931
by andrea_4g
Replied by andrea_4g on topic Abbreviate long titles in search dropdown
You can add the following statements to the CSS stylesheet:
and also this (if you don't want the length of the option to exceed the length of the select element)
Code:
#cpsearchform47 select {
width: 180px;
}
and also this (if you don't want the length of the option to exceed the length of the select element)
Code:
#cpsearchform47 select option {
width: 180px;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds