billybatz9 Active member Nov 18, 2013 #1 How do i change the color of the search space? Ive attached an image Attachments search.webp 4.5 KB · Views: 30
Shelley Well-known member Nov 18, 2013 #2 Adding the following in EXTRA.CSS will change that. Code: #QuickSearch .textCtrl {background-color: red;} Upvote 0 Downvote
Adding the following in EXTRA.CSS will change that. Code: #QuickSearch .textCtrl {background-color: red;}
Amaury Well-known member Nov 18, 2013 #3 Shelley said: Adding the following in EXTRA.CSS will change that. Code: #QuickSearch .textCtrl {background-color: red;} Click to expand... Actually, just edit @textCtrlBackground in the color palette. Upvote 0 Downvote
Shelley said: Adding the following in EXTRA.CSS will change that. Code: #QuickSearch .textCtrl {background-color: red;} Click to expand... Actually, just edit @textCtrlBackground in the color palette.
Jeremy in memoriam 1991-2020 Nov 18, 2013 #4 That will change it everywhere, Amaury. @Shelley's solution changes exactly what was requested and nothing else. Upvote 0 Downvote
That will change it everywhere, Amaury. @Shelley's solution changes exactly what was requested and nothing else.
billybatz9 Active member Nov 18, 2013 #5 @Shelley thank you. It worked @Amaury thank you. But it changed a lot more things as well. But it did change the color. You are right. Last thing. How do you change the color of the letters "search" in the box? Upvote 0 Downvote
@Shelley thank you. It worked @Amaury thank you. But it changed a lot more things as well. But it did change the color. You are right. Last thing. How do you change the color of the letters "search" in the box?
Shelley Well-known member Nov 18, 2013 #6 billybatz9 said: @Shelley thank you. It worked @Amaury thank you. But it changed a lot more things as well. But it did change the color. You are right. Last thing. How do you change the color of the letters "search" in the box? Click to expand... just add in color: red; inside the code i posted. Changing the colour to your preference. Edit: sorry my mistake don't add that in. Upvote 0 Downvote
billybatz9 said: @Shelley thank you. It worked @Amaury thank you. But it changed a lot more things as well. But it did change the color. You are right. Last thing. How do you change the color of the letters "search" in the box? Click to expand... just add in color: red; inside the code i posted. Changing the colour to your preference. Edit: sorry my mistake don't add that in.
Amaury Well-known member Nov 18, 2013 #7 billybatz9 said: Last thing. How do you change the color of the letters "search" in the box? Click to expand... @textCtrlText, but that will change it everywhere like the background. Do you want to change the placeholder or input text? Upvote 0 Downvote
billybatz9 said: Last thing. How do you change the color of the letters "search" in the box? Click to expand... @textCtrlText, but that will change it everywhere like the background. Do you want to change the placeholder or input text?
Jeremy in memoriam 1991-2020 Nov 18, 2013 #8 Looks like you need to use Pseudo-classnames to style the place holder text: http://css-tricks.com/snippets/css/style-placeholder-text/ Upvote 0 Downvote
Looks like you need to use Pseudo-classnames to style the place holder text: http://css-tricks.com/snippets/css/style-placeholder-text/
Amaury Well-known member Nov 18, 2013 #9 Jeremy said: Looks like you need to use Pseudo-classnames to style the place holder text: http://css-tricks.com/snippets/css/style-placeholder-text/ Click to expand... Thanks for posting this, because I just realized I used the wrong word. I had placement and not placeholder. Upvote 0 Downvote
Jeremy said: Looks like you need to use Pseudo-classnames to style the place holder text: http://css-tricks.com/snippets/css/style-placeholder-text/ Click to expand... Thanks for posting this, because I just realized I used the wrong word. I had placement and not placeholder.
billybatz9 Active member Nov 18, 2013 #10 Jeremy said: Looks like you need to use Pseudo-classnames to style the place holder text: http://css-tricks.com/snippets/css/style-placeholder-text/ Click to expand... I copied and pasted the codes in the extra css but it didnt work. I just want to change the color of the "search..." Upvote 0 Downvote
Jeremy said: Looks like you need to use Pseudo-classnames to style the place holder text: http://css-tricks.com/snippets/css/style-placeholder-text/ Click to expand... I copied and pasted the codes in the extra css but it didnt work. I just want to change the color of the "search..."
Shelley Well-known member Nov 18, 2013 #11 billybatz9 said: I copied and pasted the codes in the extra css but it didnt work. I just want to change the color of the "search..." Click to expand... Try the following. Code: #QuickSearch .textCtrl::-webkit-input-placeholder { color: green; } #QuickSearch .textCtrl:-moz-placeholder { /* Firefox 18- */ color: green; } #QuickSearch .textCtrl::-moz-placeholder { /* Firefox 19+ */ color: green; } #QuickSearch .textCtrl:-ms-input-placeholder { color: green; } Upvote 0 Downvote
billybatz9 said: I copied and pasted the codes in the extra css but it didnt work. I just want to change the color of the "search..." Click to expand... Try the following. Code: #QuickSearch .textCtrl::-webkit-input-placeholder { color: green; } #QuickSearch .textCtrl:-moz-placeholder { /* Firefox 18- */ color: green; } #QuickSearch .textCtrl::-moz-placeholder { /* Firefox 19+ */ color: green; } #QuickSearch .textCtrl:-ms-input-placeholder { color: green; }
billybatz9 Active member Nov 20, 2013 #12 Shelley said: Try the following. Code: #QuickSearch .textCtrl::-webkit-input-placeholder { color: green; } #QuickSearch .textCtrl:-moz-placeholder { /* Firefox 18- */ color: green; } #QuickSearch .textCtrl::-moz-placeholder { /* Firefox 19+ */ color: green; } #QuickSearch .textCtrl:-ms-input-placeholder { color: green; } Click to expand... worked. thanks Upvote 0 Downvote
Shelley said: Try the following. Code: #QuickSearch .textCtrl::-webkit-input-placeholder { color: green; } #QuickSearch .textCtrl:-moz-placeholder { /* Firefox 18- */ color: green; } #QuickSearch .textCtrl::-moz-placeholder { /* Firefox 19+ */ color: green; } #QuickSearch .textCtrl:-ms-input-placeholder { color: green; } Click to expand... worked. thanks