• Resolved finomozart

    (@finomozart)


    Hi, I have read though the answers about changing text fields. On the page mentioned, in view ports desktop and laptop, I need CSS to make
    (text-1) = 50% of text area on this line
    (curency-1) = 25%
    (number-1) = 25%

    If the (number-1) field is reduced, would the other two fields expand automatically?

    Also, in the (currency-1)field is it possible to delete “USD” and the space taken up while designating the applicable currency in settings?

    • This topic was modified 2 years, 5 months ago by finomozart.
    • This topic was modified 2 years, 5 months ago by finomozart.
    • This topic was modified 2 years, 5 months ago by finomozart.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @finomozart

    I hope you are doing good today.

    Please try this solution for both cases and see if that helps:

    #forminator-module-622 .forminator-row .forminator-col-4:nth-child(1) {min-width:50% !important;}
    #forminator-module-622 .forminator-row .forminator-suffix {display:none !important;}
    #forminator-module-622 .forminator-row .forminator-currency { padding-right:5px !important;}

    add this code into Appearance -> Customize -> Additional CSS.

    Kind Regards,
    Kris

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @finomozart Please do not create duplicate topics. I have archived the newwer topic.

    Thread Starter finomozart

    (@finomozart)

    Jan, CSS entered as instructed but nothing changed, WHY?
    Thank you.

    Thread Starter finomozart

    (@finomozart)

    I tried to delete the newer version of the same issue but I could not find the “how.” Also, Aakash’s CSS, suggested on the newer version did not work either. Thanks for understanding.

    @finomozart

    Haha, glad that you saw my CSS suggestion before your 2nd thread was archived ??

    The code that @wpmudevsupport13 posted is working on my end.
    Make sure you pasted it in the Theme Customizer Kris specified.
    https://mozartorchestra.org/wp-admin/customize.php

    Try clearing your cache or loading it a private browsing session.
    Sometimes CSS changes take a moment to appear.

    Thread Starter finomozart

    (@finomozart)

    Aakash, I am in WPress, Forminator, Module 622, Appearance, (on the bottom of the page) Custom CSS, cleared cache and nothing is changed. Can I upload a screenshot?

    Thread Starter finomozart

    (@finomozart)

    Aakash, it DID NOT change anything when CSS was pasted into Forminator, Module 622, Appearance, (on the bottom of the page) Custom CSS ONLY!

    It is working now BECAUSE I pasted it, as you wisely suggested ALSO into:

    https://mozartorchestra.org/wp-admin/customize.php

    The CSS is now in both locations. Thanks, issues resolved.

    Thread Starter finomozart

    (@finomozart)

    Aakash,
    So what would be the CSS formula if I want to resize text fields on other forms?
    Thanks,

    @finomozart

    Glad to help! Kris had also recommended the Custom CSS area.

    I’d recommend only leaving the CSS there, and removing it from the Forminator > Appearance area.
    I believe the reason It’s not working there is because Forminator automatically adds extra form-specific CSS to rules written in that field. The code Kris/I supplied already had these form-specific selectors in it.

    Thread Starter finomozart

    (@finomozart)

    OK, I will delete it in the Forminator appearance. BTW, the terms mentioned are almost identical for the Forminator location and the php location. Your citation of the actual php file did the trick for me. Not all of us are coders. BTW, I am the Music Director and Conductor of this orchestra and I learned to build this WPress site, almost by myself.

    Thread Starter finomozart

    (@finomozart)

    Aakash, please explain how this fomula works:

    .forminator-col-4:nth-child(1)

    @finomozart
    Yeah, the terminology is pretty much identical, I can see how someone could mix them up, glad the link helped to clarify.

    That’s awesome, you did a nice job with the site, That’s why I love WordPress, it’s so empowering!

    Re: Resizing fields
    So the rule I had originally posted to resize the field was:
    #forminator-module-622 .forminator-row .forminator-col-4:nth-child(1) {flex-grow: 2;}

    And here’s a quick video demonstration on how it works:

    *Note: Unlike the video, my rule above also includes the ID of the form #forminator-module-622. You should add the form ID to what was shown in the video.

    Feel free to replace your #forminator-module-622 .forminator-row .forminator-col-4:nth-child(1) {min-width:50% !important;} with my provided rule if you’d like. Here’s more information about the flex-grow CSS property and how it works.

    Re: The Selector
    .forminator-col-4:nth-child(1) means to select the first child element of elements with the class .forminator-col-4. Which in this case is your Select Seats field https://i.imgur.com/YJ3e6dA.png

    Hope this helped!

    Thread Starter finomozart

    (@finomozart)

    Aakash,
    Thanks for the video. I need CSS for changing the “place holder” text color and make it “strong” to help my patrons see the seat selection field. Same request for both Module 622 “text-1” field and module 390 “text-1” field. Thanks, AP

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @finomozart

    Since your last question is responded in other ticket and, if I correctly understand, original one is also addressed, I understand we can consider this ticket resolved, right?

    Best regards,
    Adam

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Change text field sizes’ is closed to new replies.