PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Colour of the price and value field

  1. roey.saban
    Member

    Hi guys

    I have added a form to my page and see that the Product unit price is Red and that the total field is green.

    Can I change the product Price to be white AND the total field at the bottom of my page to be white instead of green?

    On my theme the red and green doesnt look good.

    Can you assist?

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  2. Richard Vav
    Administrator

    If you post a link to a page containing your form we can take a look.

    Regards,
    Richard

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  3. roey.saban
    Member

    http://www.coregroupafrica.com/?page_id=74

    Thanks!

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  4. Richard Vav
    Administrator

    Try adding the following towards the bottom of your theme's stylesheet or wherever you are instructed to place custom CSS, I have just set the font color to white but you can set it whatever you like.

    .gform_wrapper span.ginput_product_price, .gform_wrapper span.ginput_total {
    color: white !important;
    }

    The above will style both the same but if you want to use different colors you would split that rule like so

    .gform_wrapper span.ginput_product_price {
    color: white !important;
    }
    .gform_wrapper span.ginput_total {
    color: white !important;
    }

    Regards,
    Richard

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  5. roey.saban
    Member

    Thank you Richard!

    Will try this, thanks for your help

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  6. Richard Vav
    Administrator

    You're welcome

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  7. roey.saban
    Member

    Sorry last question, they would like to hide the price now, meaning on that form it shows the product and quantity field, but the price of the product is not there....how do I hide it?

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  8. Richard Vav
    Administrator

    Try adding the following

    .gform_wrapper span.ginput_product_price {
    display:none;
    }
    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  9. roey.saban
    Member

    thanks

    Took out the price, kept the "Price:" label though....can we take that out as well?
    (only have a quantity field)

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink
  10. Richard Vav
    Administrator

    Sorry, forgot about that, replace that last css snippet with this

    .gform_wrapper span.ginput_product_price_label, .gform_wrapper span.ginput_product_price {
    display: none;
    }

    Regards,
    Richard

    Posted 10 years ago on Wednesday May 29, 2013 | Permalink