We have a contact form on our website. The font color is a pale orange. How do I change that. The usual Customize Theme fonts and options did not do it. Please note we are on Odoo Online so a custom app won't help us.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hello Leon Curchack,
You can change this pale orange font color to other font color using custom css on your module.
For ex.
<input type="text" placeholder="Your Name" class="form-control o_website_form_input" name="contact_name" id="name">
#name::-webkit-input-placeholder{
color : yourcustomcolor;
}
#name::-ms-input-placeholder{
color : yourcustomcolor;
}
Hello Leon Curchack,
If this answer is helpful to you please upvote this answer.
I chose a color #134C89 and put this text into the CSS called user_custom_rules.
#name::-webkit-input-placeholder{
color : #134C89;
}
#name::-ms-input-placeholder{
color : #134C89;
}
I saved and refreshed but there was no change to the pale orange color. Let me know if I put it in the right place. Thanks.
Hello Leon Curchack,
I think you should add css like
#name::-webkit-input-placeholder{
color : #134C89 !important;
}
#name::-ms-input-placeholder{
color : #134C89 !important;
}
Thanks,
Sorry Pinal, I made the change as you suggested but still no difference. Thanks again for trying.
hello Leon ,
Please can you share your HTML code of your form?Then i will give you more efficient answer to your question.
<!DOCTYPE html>
<html lang="en-US" data-website-id="1" data-oe-company-name="Unforgettable Israel Ltd">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
<meta name="generator" content="Odoo"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="Contact Us | Shabbat of a Lifetime"/>
<meta property="og:site_name" content="Unforgettable Israel Ltd"/>
<meta property="og:url" content="https://soal.odoo.com/contactus"/>
<meta property="og:image" content="https://soal.odoo.com/web/image/res.company/1/logo?unique=f054672"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="Contact Us | Shabbat of a Lifetime"/>
<meta name="twitter:image" content="https://soal.odoo.com/web/image/res.company/1/logo?unique=f054672"/>
<link rel="canonical" href="http://www.shabbatofalifetime.com/contactus"/>
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin=""/>
<title> Contact Us | Shabbat of a Lifetime </title>
<link type="image/x-icon" rel="shortcut icon" href="/web/image/website/1/favicon?unique=cffec3e"/>
<link type="text/css" rel="stylesheet" href="/web/content/11081-df7aa03/1/web.assets_common.css"/>
<link type="text/css" rel="stylesheet" href="/web/content/11112-0f8597f/1/web.assets_frontend.css"/>
<script type="text/javascript">
var odoo = {
csrf_token: "1ff780f145904c74c80de17d6624af4851705ed0o",
debug: "",
};
</script>
<script type="text/javascript">
odoo.session_info = {"is_admin": false, "is_system": false, "is_website_user": true, "user_id": false, "is_frontend": true, "translationURL": "/website/translations", "cache_hashes": {"translations": "05071fb879321bf01f941f60fab1f126f565cdad"}};
</script>
<script defer="defer" type="text/javascript" src="/web/content/10663-5fa649b/1/web.assets_common_minimal_js.js"></script>
<script defer="defer" type="text/javascript" src="/web/content/10664-815f33f/1/web.assets_frontend_minimal_js.js"></script>
<script defer="defer" type="text/javascript" data-src="/web/content/11083-6beea31/1/web.assets_common_lazy.js"></script>
<script defer="defer" type="text/javascript" data-src="/web/content/11113-eb40731/1/web.assets_frontend_lazy.js"></script>
<noscript id="o_animate-no-js_fallback">
<style type="text/css">
.o_animate {
/* If no js - force elements rendering */
visibility:visible;
/* If browser support css animations support - reset animation */
-webkit-animation-name: none-dummy;
animation-name: none-dummy;
}
</style>
</noscript>
</head>
<body class="">
<div id="wrapwrap" class=" ">
<header id="top" data-anchor="true" data-name="Header" class=" o_affix_enabled">
<nav id="preheader">
<div class="container">
<div class="row">
<div class="col-lg-12 d-flex">
<ul id="contact" class="list-inline m-0">
<li class="list-inline-item home d-none d-md-inline-block">
<a href="/">
<i class="fa fa-1x fa-home text-alpha" data-original-title="" title="" aria-describedby="tooltip343695" style=""></i>
</a>
</li>
<li class="list-inline-item home d-inline-block d-md-none">
<a href="/contactus"><i class="fa fa-envelope fa-1x"></i>Contact</a>
</li>
<li class="list-inline-item d-none d-lg-inline-block">
<a href="/contactus" data-original-title="" title="" aria-describedby="tooltip818134"><i class="fa fa-1x fa-map-marker"></i>Contact Us</a>
</li>
<li class="list-inline-item d-none d-md-inline-block">
<i class="fa fa-phone fa-1x"></i>
<span></span>
</li>
<li class="list-inline-item d-none d-md-inline-block">
<i class="fa fa-envelope fa-1x"></i>
<a href="mailto:bookings@shabbatofalifetime.com">bookings@shabbatofalifetime.com</a>
</li>
</ul>
<div id="social" class="ml-auto">
<a target="_blank" class="" href="https://www.facebook.com/shabbatofalifetime">
<i class="fa fa-1x fa-facebook text-alpha" data-original-title="" title="" aria-describedby="tooltip230804" style=""></i>
</a>
<a target="_blank" class="" href="https://www.instagram.com/shabbatofalifetime/">
<i class="fa fa-1x fa-instagram text-alpha" data-original-title="" title="" aria-describedby="tooltip915880" style=""></i>
</a>
</div>
<ul id="language" class="list-inline m-0 js_language_selector d-none d-md-block">
<li class="list-inline-item">
<div class="btn-group">
<button data-toggle="dropdown" type="button" class="dropdown-toggle">
<i class="fa fa-1x fa-globe text-alpha" data-original-title="" title="" aria-describedby="tooltip855726" style=""></i>
</button>
<div role="menu" class="dropdown-menu dropdown-menu-right js_language_selector">
<a class="js_change_lang dropdown-item active" href="/contactus" data-url_code="en_US">
English (US)
</a>
<a class="js_change_lang dropdown-item" href="/he_IL/contactus" data-url_code="he_IL">
עִבְרִי
</a>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</nav>
<nav class="navbar navbar-expand-md navbar-light bg-light">
<div class="container">
<a href="/" class="navbar-brand logo">
<span role="img" aria-label="Logo of Shabbat of a Lifetime" title="Shabbat of a Lifetime"><img src="/web/image/website/1/logo/Shabbat of a Lifetime?unique=cffec3e" class="img img-fluid" alt="Shabbat of a Lifetime"/></span>
</a>
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#top_menu_collapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="top_menu_collapse">
<ul class="nav navbar-nav ml-auto text-right o_menu_loading" id="top_menu">
<li class="nav-item">
<a role="menuitem" href="/faq" class="nav-link ">
<span>FAQ</span>
</a>
</li>
<li class="nav-item">
<a role="menuitem" href="/blog" class="nav-link ">
<span>Blog</span>
</a>
</li>
<li class="nav-item">
<a role="menuitem" href="/contactus" class="nav-link active">
<span>Contact us</span>
</a>
</li>
<li class="nav-item divider d-none"></li> <li class="nav-item o_wsale_my_cart d-none">
<a href="/shop/cart" class="nav-link">
<i class="fa fa-shopping-cart"></i>
My Cart <sup class="my_cart_quantity badge badge-primary" data-order-id=""></sup>
</a>
</li>
<li class="nav-item divider"></li>
<li class="nav-item">
<a class="nav-link" href="/web/login">
<b>Sign in</b>
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div id="wrap">
<div class="oe_structure">
<section class="pt8 pb8">
<div class="container">
<div class="row s_nb_column_fixed">
<div class="col-lg-12 s_title pt16 pb16">
<h1>Contact us</h1>
</div>
</div>
</div>
</section>
</div>
<div class="container mt-2">
<div class="row">
<div class="col-lg-8">
<div class="oe_structure">
<section class="s_text_block" data-name="Text block">
<div class="container">
<div class="row">
<div class="col-lg-12">
<p>
Contact us about anything related to our company or services.<br/>
We'll do our best to get back to you as soon as possible.
</p>
<div class="o_facebook_page" data-name="Facebook Page" data-href="https://www.facebook.com/shabbatofalifetime" data-height="150" data-width="350" data-tabs="" data-small_header="false" data-hide_cover="false" data-show_facepile="false"></div>
</div>
</div>
</div>
</section>
</div>
<div class="">
<form action="/website_form/" method="post" data-model_name="crm.lead" data-success_page="/contactus-thank-you" class="s_website_form container-fluid mt32 o_fake_not_editable" enctype="multipart/form-data" data-editable-form="false" data-name="Form Builder">
<div class="form-group row form-field o_website_form_required_custom o_fake_not_editable">
<label class="col-lg-3 col-md-4 col-form-label o_fake_editable" for="contact_name">Your Name</label>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="contact_name" required="" value=""/>
</div>
</div>
<div class="form-group row form-field o_fake_not_editable">
<label class="col-lg-3 col-md-4 col-form-label o_fake_editable" for="phone">Phone Number</label>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="phone" value=""/>
</div>
</div>
<div class="form-group row form-field o_website_form_required_custom">
<label class="col-lg-3 col-md-4 col-form-label o_fake_editable" for="email_from">Email</label>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="email_from" required="" value=""/>
</div>
</div>
<div class="form-group row form-field">
<label class="col-lg-3 col-md-4 col-form-label o_fake_editable" for="partner_name">Your Company</label>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="partner_name" value=""/>
</div>
</div>
<div class="form-group row form-field o_website_form_required o_fake_not_editable">
<label class="col-lg-3 col-md-4 col-form-label o_fake_editable" for="name">Subject</label>
<div class="col-lg-7 col-md-8">
<input type="text" class="form-control o_website_form_input" name="name" required="" value=""/>
</div>
</div>
<div class="form-group row form-field o_website_form_required_custom">
<label class="col-lg-3 col-md-4 col-form-label o_fake_editable" for="description">Your Question</label>
<div class="col-lg-7 col-md-8">
<textarea class="form-control o_website_form_input" name="description" required=""></textarea>
</div>
</div>
<div class="form-group row">
<div class="offset-lg-3 offset-md-4 col-md-8 col-lg-7">
<a href="#" role="button" class="o_website_form_send btn btn-delta btn-lg" data-original-title="" title="" aria-describedby="tooltip968344">Send</a>
<span id="o_website_form_result"></span>
</div>
</div>
</form>
</div>
</div>
<div class="col-lg-4">
<address itemscope="itemscope" itemtype="http://schema.org/Organization">
<div>
<address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization">
<div>
<span itemprop="name">Unforgettable Israel Ltd</span>
</div>
<div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress">
<div class="d-flex align-items-baseline">
<i class="fa fa-map-marker fa-fw" role="img" aria-label="Address" title="Address"></i>
<div class="w-100" itemprop="streetAddress">רח' נסים בכר 38, דירה 1<br/>ירושלים 94509<br/>Israel</div>
</div>
<div><i class="fa fa-envelope fa-fw" role="img" aria-label="Email" title="Email"></i> <span itemprop="email">bookings@shabbatofalifetime.com</span></div>
</div>
<div>
</div>
</address>
</div>
<span class="fa fa-map-marker fa-fw mt16" role="img" aria-label="Address" title="Address"></span>
<a target="_BLANK" class="" href="https://maps.google.com/maps?q=%D7%A8%D7%97%27+%D7%A0%D7%A1%D7%99%D7%9D+%D7%91%D7%9B%D7%A8+38%2C+%D7%93%D7%99%D7%A8%D7%94+1%2C+%D7%99%D7%A8%D7%95%D7%A9%D7%9C%D7%99%D7%9D+94509%2C+Israel&z=8"></a>
</address>
</div>
</div>
</div>
<div class="oe_structure mt-2"></div>
</div>
</main>
<footer id="bottom" data-anchor="true" class="bg-light o_footer">
<div id="footer" class="oe_structure oe_structure_solo">
<section class="s_text_block pt16 pb8" data-name="Text block">
<div class="container">
<div class="row">
<div class="col-lg-4">
<h5>Our Products & Services</h5>
<ul class="list-unstyled">
<li>
<a href="/">Home</a>
</li>
</ul>
</div>
<div class="col-lg-4" id="connect">
<h5>Connect with us</h5>
<ul class="list-unstyled">
<li>
<a href="/contactus" data-original-title="" title="" aria-describedby="tooltip761568">Contact us</a>
</li>
<li>
<i class="fa fa-envelope"></i>
<span>bookings@shabbatofalifetime.com</span>
</li>
</ul>
<div class="o_facebook_page" data-name="Facebook Page" data-href="https://www.facebook.com/shabbatofalifetime" data-height="70" data-width="350" data-tabs="" data-small_header="true" data-hide_cover="false" data-show_facepile="false"></div>
<p> </p>
</div>
<div class="col-lg-4">
<h5>
<span>Unforgettable Israel Ltd</span>
<small> - <a href="/aboutus">About us</a></small>
</h5>
<p>At Shabbat of a Lifetime, we connect, inspire and feed people to enhance their connection to Israel and Jewish understanding specifically around an authentic Shabbat experience<br/></p>
</div>
</div>
</div>
</section>
</div>
<div class="o_footer_copyright">
<div class="container py-3">
<div class="row">
<div class="col-sm text-center text-sm-left text-muted col-lg-5">
<span>Copyright ©</span> <span itemprop="name">Unforgettable Israel Ltd</span>
<ul class="js_language_selector mb0 list-inline">
<li class="list-inline-item">
<div class="dropup">
<button class="btn btn-sm btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span>English (US)</span>
<span class="caret ml4"></span>
</button>
<div class="dropdown-menu" role="menu">
<a class="dropdown-item js_change_lang" href="/contactus" data-url_code="en_US">
English (US)
</a>
<a class="dropdown-item js_change_lang" href="/he_IL/contactus" data-url_code="he_IL">
עִבְרִי
</a>
</div>
</div>
</li>
</ul>
</div>
<div class="col-lg-2 d-none d-md-block text-center">
<a href="#" class="top"><i class="fa fa-arrow-up fa-1x"></i></a>
</div>
<div class="col-sm text-center text-sm-right o_not_editable col-lg-5">
<div class="o_brand_promotion">
Powered by
<a target="_blank" class="badge badge-light" href="http://www.odoo.com?utm_source=db&utm_medium=website">
<img alt="Odoo" src="/web/static/src/img/odoo_logo_tiny.png" style="height: 1em; vertical-align: baseline;"/>
</a>
-
The #1 <a target="_blank" href="http://www.odoo.com/page/e-commerce?utm_source=db&utm_medium=website">Open Source eCommerce</a>
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
<script>
window.addEventListener('load', function () {
odoo.define('im_livechat.livesupport', function (require) {
});
});
</script>
<script id="tracking_code">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-172150198-1'.trim(), 'auto');
ga('send','pageview');
</script>
</body>
</html>
Hello Leon,
I gave you an example to add your class in CSS. But it's ok Now you will try this. I hope this answer is helpful to you. Let me know if my answer is helpful for your need.
input.form-control.o_website_form_input::-webkit-input-placeholder{
color : #134C89 !important;
}
input.form-control.o_website_form_input::-ms-input-placeholder{
color : #134C89 !important;
}
Thanks,
Again, sorry no change. I appreciate all the time you've taken to help solve this. If you'l like to send your email address to curchack@gmail.com and I'll set up a quick remote session. I'm sure this can be solved in just a couple of minutes.
Hello Leon,
I am sure this answer is helpful to you.
.form-control{ color : #134C89 !important; }
Thanks,
This worked! Thank you so much for your help.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 23
|
1543 | ||
|
0
Jul 22
|
1146 | ||
|
0
Jun 21
|
87 | ||
|
3
Mar 24
|
547 | ||
|
1
Dec 20
|
1918 |
Which theme are you using?
Bistro
Bistro.