OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Favoured: 0
TOPIC: pricefield_select_list
hansel (User)
Gold Boarder
Posts: 174
graphgraph
User Offline Click here to see the profile of this user
pricefield_select_list 2 Weeks, 1 Day ago
Karma: 0  
Where in the style.css can I change the visible input length of a pricefield_select_list?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7770
graph
User Offline Click here to see the profile of this user
Re:pricefield_select_list 2 Weeks, 1 Day ago
Karma: 94  
Hi

Ordinary in our Joomla website builder every fields width depend from width of column where to you placed this field. Thank you of that our forms responsive and look good at every device.
BUt you self may change any thing with help CSS

1. you need see: in every field at time "layout edit" in our "Layout manager" - you have "Styling option", There you see "Custom class" settings, Please add there you class - which you will can use in CSS. Please take attention: the "Styling option" you may set for nput feld and for label.
2. in you CSS file(or custom CSS fields) add styles connected to this CSS Custom Class

Also please take attention, some time you may have set of features fields with different width , which you wish show in 1 row. You may use "LayoutManager"->Edit your layout->select some column->select "Block" settings -> "Column Styling option" and there please chec settings:
- Inline Fields
- Inline Fields width

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
hansel (User)
Gold Boarder
Posts: 174
graphgraph
User Offline Click here to see the profile of this user
Re:pricefield_select_list 2 Weeks, 1 Day ago
Karma: 0  
I have defined a class in my custom.css

.selectfield {
width: 100px;
}

What should i write in the custom class field of the styling options in the CCK Layout?
Logged Logged
Last Edit: 2022/08/04 10:09 By hansel.
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7770
graph
User Offline Click here to see the profile of this user
Re:pricefield_select_list 2 Weeks ago
Karma: 94  
You need use:

Code:

.selectfield{
width: 100px !important;
}





selectfield - this is what you need write in the custom class field of the styling options in the CCK Layout

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
hansel (User)
Gold Boarder
Posts: 174
graphgraph
User Offline Click here to see the profile of this user
Re:pricefield_select_list 2 Weeks ago
Karma: 0  
Hello,

I did:

.selectfield {
width: 100% !important;
background-color: yellow !important;
}

But it doesn't work. It seems that the blank template doesn't read a custom.css file which I saved in the css folder of the blank template.
Logged Logged
The administrator has disabled public write access.
VlaDOS (Admin)
Admin
Posts: 73
graphgraph
User Online Now Click here to see the profile of this user
Re:pricefield_select_list 1 Week, 6 Days ago
Karma: 0  
Hello. Please add the code to the file
/templates/os-basetemplate/css/style.css
Logged Logged
The administrator has disabled public write access.
Go to top