Morgain Well-known member Oct 29, 2011 #1 I would like to edit the quicksearch box to make it more prominent. I've tried making changes to search_bar.css but it doesn't do anything. I want to change the colour of the border, make it thicker; and change colour of the background.
I would like to edit the quicksearch box to make it more prominent. I've tried making changes to search_bar.css but it doesn't do anything. I want to change the colour of the border, make it thicker; and change colour of the background.
Paul B XenForo moderator Staff member Oct 29, 2011 #2 Add to EXTRA.css: Code: input[type=search]{ border: 5px solid yellow; background-color: #cc0000; } Change the CSS to suit. Thread moved from template modifications to styling and customisation. Upvote 0 Downvote
Add to EXTRA.css: Code: input[type=search]{ border: 5px solid yellow; background-color: #cc0000; } Change the CSS to suit. Thread moved from template modifications to styling and customisation.
Morgain Well-known member Oct 30, 2011 #3 Brogan thank you. I am so enjoying all this learning with everyone being so helpful. Especially you, Dodgeboard and Jake Bunce. Upvote 0 Downvote
Brogan thank you. I am so enjoying all this learning with everyone being so helpful. Especially you, Dodgeboard and Jake Bunce.
Morgain Well-known member Nov 2, 2011 #4 The text in the search box stays stubbornly grey. In EXTRA.css I have Code: /* search colours and position */ input[type=search]{ border: 1px solid #993333; background-color: #99cc99; color: #black; margin-left: 30px; } The background colour, border, and placing via margin all work. Not the font. Upvote 0 Downvote
The text in the search box stays stubbornly grey. In EXTRA.css I have Code: /* search colours and position */ input[type=search]{ border: 1px solid #993333; background-color: #99cc99; color: #black; margin-left: 30px; } The background colour, border, and placing via margin all work. Not the font.
Fuhrmann Well-known member Nov 2, 2011 #5 Change this: Code: color: #black; To this: Code: color: black; or Code: color: #000; So the final code: Rich (BB code): /* search colours and position */ input[type=search]{ border: 1px solid #993333; background-color: #99cc99; color: black; margin-left: 30px; } Upvote 0 Downvote
Change this: Code: color: #black; To this: Code: color: black; or Code: color: #000; So the final code: Rich (BB code): /* search colours and position */ input[type=search]{ border: 1px solid #993333; background-color: #99cc99; color: black; margin-left: 30px; }
Morgain Well-known member Nov 2, 2011 #7 Er no - tried both. Still grey not responding. Upvote 0 Downvote
Fuhrmann Well-known member Nov 2, 2011 #8 Morgain said: Er no - tried both. Still grey not responding. Click to expand... If you want to change only from the search box you can put this on the EXTRA.css: Code: #QuickSearchQuery::-moz-placeholder { font-style: italic; color: red !important; } #QuickSearchQuery::-webkit-input-placeholder { font-style: italic; color: red !important; } BUT, if you want to change all the placeholders of the forms in XenForo, go to AdminCP -> Appearance -> Styles Properties -> Forms And change: Then the result: Upvote 0 Downvote
Morgain said: Er no - tried both. Still grey not responding. Click to expand... If you want to change only from the search box you can put this on the EXTRA.css: Code: #QuickSearchQuery::-moz-placeholder { font-style: italic; color: red !important; } #QuickSearchQuery::-webkit-input-placeholder { font-style: italic; color: red !important; } BUT, if you want to change all the placeholders of the forms in XenForo, go to AdminCP -> Appearance -> Styles Properties -> Forms And change: Then the result:
Morgain Well-known member Nov 2, 2011 #9 Fuhrmann thank you for all this thorough and clear information. So appreciated. Upvote 0 Downvote