ThistleProse 8 Share Posted December 15, 2019 Hi! so, I have the PhP in templates doing its thing, but I have a question about if it can do the thing I want it to do lol I have an input box, for custom hex code. However, if NO hex is put in, I would like it to use a default. But I don't know how to make the code work? Basically, I want each of these Fields to be; If empty: show [default hex code] If filled: use [given code] Is this possible? /*Major Title Headers*/ .ProfileTitle2 {font-family: 'Bilbo Swash Caps', cursive; letter-spacing: 3px; font-size: 55px; color: #{$userfields['fid37']}; text-align: center; background-color:#{$userfields['fid35']}; border-radius: 10px; border: 8px; padding:8px; padding: 10px 50px 0px 0px; text-shadow: 0 -2px 3px #{$userfields['fid33']},0 3px 4px #{$userfields['fid35']};} Link to comment Share on other sites More sharing options...
ThistleProse 8 Author Share Posted December 16, 2019 Had a brainwave while getting ready for bed lmao. I'll use a select box: Going to use custom colours? Yes (use this CSS) or No (use other CSS) Link to comment Share on other sites More sharing options...
Recommended Posts