Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [SOLVED] "Size" property of fields not working

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[SOLVED] "Size" property of fields not working

  • giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com's Avatar Topic Author
  • Offline
  • User
  • User
More
10 years 9 months ago - 10 years 9 months ago #17881 by giovanni.giunco@gmail.com
[SOLVED] "Size" property of fields not working was created by giovanni.giunco@gmail.com
Hello,

I have some fields of Type = Number Text and I want to change their width one by one.
I tried to use the "Size" property in the Edit Field, but the appearance of the fields does not change.
The width is blocked to 206px and such value is set in juloabootstrap2.css (row 304).
I can override the value in my css file, e.g.:
.juloawrapper input [type="number"] { width: 100px;}
but in this case all the number fields have the same width. Also putting width: auto does not calcolate well the field lenght.
My questions:
  1. What I'm doing wrong with "Size" property?
  2. If not possible to use "Size", how can I change the width of the fields one by one, for example in my css file?

Thank you very much for your support
Giovanni

Versions:
Adsmanager 3.1.4
Community Builder 2.0.13
Joomla! 3.4.8
Last edit: 10 years 9 months ago by giovanni.giunco@gmail.com.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17914 by tompap
Replied by tompap on topic "Size" property of fields not working
if you want to force in CSS, you can add !important
width: 100px !important;
The following user(s) said Thank You: adarr
  • giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com's Avatar Topic Author
  • Offline
  • User
  • User
More
10 years 9 months ago #17931 by giovanni.giunco@gmail.com
Replied by giovanni.giunco@gmail.com on topic "Size" property of fields not working
Hi tompap,
thank you for your suggestion.

The problem is that I need to set different widths for different fields.
For example, I have two numeric fields (ad_numbertest1 and ad_numbertest2) and I need that:
+width of ad_numbertest1 is 50px
+width of ad_numbertest2 is 100px
How can I distinguish the two fields at css file level (if it is not possible to use Size property)?

Giovanni

Versions:
Adsmanager 3.1.4
Community Builder 2.0.13
Joomla! 3.4.8
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17953 by tompap
Replied by tompap on topic "Size" property of fields not working
normally you have a class like "tr_nameofmyfield" on the "div" that contains the field

so you can do so CSS like .tr_adnumbertest1 input { .. }
The following user(s) said Thank You: adarr, giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com's Avatar Topic Author
  • Offline
  • User
  • User
More
10 years 9 months ago - 10 years 9 months ago #17982 by giovanni.giunco@gmail.com
Replied by giovanni.giunco@gmail.com on topic [SOLVED] "Size" property of fields not working
Hi tompap,

following your idea, I found that there is a statement like <input id="fad_numbertest1" ...>.
So I wrote in css file:
input#fad_numbertest1 { width: 50px ;}
input#fad_numbertest2 { width: 100px ;} 
and it worked.
Thank you again. Now I change the topic status in [SOLVED].

/Giovanni

Versions:
Adsmanager 3.1.4
Community Builder 2.0.13
Joomla! 3.4.8
Last edit: 10 years 9 months ago by giovanni.giunco@gmail.com.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18023 by tompap
Great ! good news !
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.065 seconds
Powered by Kunena Forum