Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make my search bar rounded/circled same as Material Fox does? #319

Open
ExpertMen opened this issue May 9, 2022 · 3 comments
Open

Comments

@ExpertMen
Copy link

I'm not using MF, but found some screenshots which shows that search bar in MF are rounded/circled. So, how can I do it? What css do I need for userChrome.css?

@ExpertMen ExpertMen changed the title How can I make my search ba rounded/circled same as Material Fox does? How can I make my search bar rounded/circled same as Material Fox does? May 9, 2022
@fmeyertoens
Copy link
Contributor

You are probably looking for

#urlbar,
#searchbar
{
font-size: var(--toolbar-field-fontsize) !important;
border-radius: 99px !important;

@ghost
Copy link

ghost commented May 14, 2022

How would I insert that code into my browser ?

@fmeyertoens
Copy link
Contributor

You can follow the installation instructions for MaterialFox: https://github.com/muckSponge/MaterialFox#installation

Copy the chrome folder and user.js file into your Firefox profile directory. To find your profile directory, go to about:support or about:profiles.

Just find your profile folder and create a folder named chrome within it. There you put a file named userChrome.css and insert the code from above:

#urlbar,
#searchbar {
    border-radius: 99px !important;
}

Don't forget to restart Firefox to see the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants