Recent Tutorials
Who is online?
In total there are 9 users online :: 0 Registered, 0 Hidden and 9 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17
Keywords

Questions about styling the Main Search Box

View previous topic View next topic Go down

avatar
Guest
Guest
View all awards

PostGuest on Thu 08 Dec 2016, 10:24

Hey,


I've got two questions regarding Edge styling:


Q1: I'd like the main search box to be the same height as the theme selector and have the text for the input field set to the same font and font-size as the theme selector (shrunk from 15px to 12px?). How do I do that? And,

Q2: in the standard theme, I'd like the background color of the theme selector to be the same color as the search box (blue, not grey).





Thanks in advance.


Last edited by Samantha NL on Mon 12 Dec 2016, 11:22; edited 1 time in total
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 12 Dec 2016, 11:08

Hi,

Use this CSS rule to adjust the height of the search bar :
Code:
form.search-form input.search-keywords, input.search-button {
  height:31px;
}

Use this CSS rule to change the default color of the theme selector :
Code:
#fa_theme_selector[style*="rgb(153, 153, 153)"] {
  background-color:#69C !important;
  border-color:#58B !important;
}
avatar
Guest
Guest
View all awards

PostGuest on Mon 12 Dec 2016, 11:21

Yeah, looks great now:




lol!


I asked also for the font-size change, but that's been solved as well now I added font-size:12px!important to that first code.

Thanks very much!
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 12 Dec 2016, 11:32

lol yeah I think that slipped my mind there. Anyways you're welcome.

Topic archived.

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum