Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Place holder style  (Read 7755 times)
Benjamin G.
Posts: 98

« on: November 05, 2020, 12:03:48 pm »


Can we set the "textColor" of the placeholder attribute ?
Same question for the color of the HLine component ?

Reuben B.
Four Js
Posts: 1071

« Reply #1 on: December 06, 2020, 11:57:13 pm »

If using Universal Rendering and/or GBC, the answer should be yes via Customisation.

The key point is finding the appropriate selector and then adding some customisation.

Placeholder is a little different, but it should be a case of something like the following if the browser supports it

  1. ::placeholder {
  2.    color: red;
  3. }

In case of HLine component, the trick again is finding the appropriate selector, Developer Tools should shows that as .gbc_HLineWidget and that the line is being drawn by use of border top.  So

  1. .gbc_HLineWidget {
  2.   border-top-color: red;
  3. }


Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
Contributor to
Pages: [1]
  Reply  |  Print  
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines