• Resolved philjay86

    (@philjay86)


    Hi,

    Is it possible to can the colour of calculation cells on mobile as the text seems grey And not that readable?

    What’s the css to change

    Colour
    Text size

    Also what css do you need to type to change the colour and text of individual cells?

    Kind regards

    Phil

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hi @philjay86,

    Thank you for contacting us.

    You can check adjusting the colors by going to the Form’s appearance section and choosing custom to make adjustments for inputs. If you want to only target it on mobile devices, you can do this with some custom CSS media queries such as the ones listed here:https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    A basic CSS code for a calculation field can use the calculation class like this:

    /* Targets most common phone devices */
    @media only screen 
      and (min-device-width: 320px) 
      and (max-device-width: 480px){
    input.forminator-calculation {
        color: blue!important;
        font-size: 20px!important;
    }
    }

    Let us know if you have any additional questions and if you like specific changes, send us the page URL where your form is embedded, so we can assist you further.

    Best,
    Jonathan S

    Thread Starter philjay86

    (@philjay86)

    Hi Jonathan,

    I will have a play and get to you see if it does what I’m expecting. Thanks for the quick reply.

    If you could leave it open for now. incase i got a couple more queries on it.

    Cheers

    Phil

    Thread Starter philjay86

    (@philjay86)

    I like it works perfectly.

    How do i change the cell colour?

    Kind regards

    Phil

    Thread Starter philjay86

    (@philjay86)

    Hi Jonathan,

    It does work perfectly. But as default it seems the opacity is set to something as the colour is lighter than it should be, is it possible to set it to what i would like?

    So whats the CSS to change the opacity? For both text and cell.

    Kind regards

    Phil

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @philjay86

    If you remove the disabled option following our previous reply https://wordpress.org/support/topic/can-calculation-cell-be-adjusted-up-or-down/ the opacity should be removed too.

    In case you would like to keep it disabled and modify the CSS, feel free to let us know and we can find the best CSS for you.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @philjay86

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Colour of calculation cells on mobile’ is closed to new replies.