Hi everyone,
Can I add a search field like this to my site?
And I want to remove the search button from the right side
Thank you
pfaffman
(Jay Pfaffman)
March 28, 2024, 12:31pm
2
Search Banner , maybe? But searching could be a good way to find some potential solutions.
2 Likes
Thank you so much.
Can we ovalize the edges of the box?
@Moin
Like here.
And can we paint the inside?
With hover like on reddit
Moin
March 28, 2024, 2:08pm
6
You can customize it with css.
Want to make some CSS changes on your Discourse site but not sure where to start? You’ve come to the right place!
You only need to read this topic if you’re very new to CSS. If you already know how to write and add CSS to your Discourse site, then you will most likely not need to read this topic.
We’ll cover a few subjects.
We’ll start with a brief introduction of what CSS is and some terms that you need to know. We will then move on to how you can add CSS to your Discourse site. Final…
@Moin thank you Moin but I can’t do this, so I’m asking for your help.
I watched his videos, I tried many times and it doesn’t work.
I tried it on Firefox and Chrome.
Lilly
March 28, 2024, 2:43pm
8
If you are trying to learn to customize your forum, please take some time to learn some basics of themes, components and CSS. Alternatively, you can always post in marketplace for paid help to customize your forum.
Want to make some CSS changes on your Discourse site but not sure where to start? You’ve come to the right place!
You only need to read this topic if you’re very new to CSS. If you already know how to write and add CSS to your Discourse site, then you will most likely not need to read this topic.
We’ll cover a few subjects.
We’ll start with a brief introduction of what CSS is and some terms that you need to know. We will then move on to how you can add CSS to your Discourse site. Final…
This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read.
What are themes and theme components?
A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features.
Let’s start with themes.
Themes
In general, themes are not supposed to be compatible …
There are a few ‘how to start’ guides for working with Discourse already and a wealth of useful info on meta, but I thought it might help to give an insight to the mental processes of starting from little, if any, prior coding experience to building substantial Discourse plugins.
Discourse is written by experienced developers and has a large codebase. This can feel intimidating. This intimidation factor can be a significant barrier for novice developers. This is a kind of ‘psychological primer’…
So, you want to create Discourse themes? Not sure where to start? Or maybe you have created Discourse themes before, but want to learn how to do even more cool things. Well, you’ve come to the right place
Developer’s guide to Discourse Themes
Subjects include a general overview of Discourse themes, creating and sharing Discourse themes, theme development examples, searching for and finding information / examples in the Discourse repository, and best practices.
Prerequisites:
…
6 Likes
Heliosurge
(Dan DeMontmorency)
March 28, 2024, 7:54pm
9
This theme-component might help
Created a very simple component to change the borders of images, oneboxes, blockquotes and staff notices shown in topics.
Allows change of the following settings
set image rounding intensity
set image border width
set image border color
set onebox rounding intensity
change onebox border width
change onebox border color
change onebox background color
set rounding blockquotes intensity
remove left border from blockquotes
set ‘staff color’ rounding intensity
topic thumbnail support for:
list r…
This one for button styles
2 Likes
Hello friends, I see you are trying to help me but I cannot write code.
If there is ready code I can only fix it.
If there is anyone who can help, I’ll wait.
Thank you.
What seems easy for you is difficult for me, the codes are too complicated for me.
It’s not exactly in the middle.
And looking so bad for me.
I’m getting angry because I can’t edit but there’s nothing to do
Reddit original search looks great.
Of course it’s Reddit. But I would like to be able to do this at least in a close similarity.
Im a coder now
.floating-search-input .search-banner-inner.wrap .search-menu .search-input {
border-radius: 10px;
background-color: #3e3e58;
border: 0px solid;
}
.floating-search-input .search-banner-inner.wrap .search-menu .search-input:hover {
background-color: #4c4c6b;
}
6 Likes
Hi everyone!
.search-menu.menu-panel-results, .search-menu-container.menu-panel-results {
width: 600px;
left: 150px;
}
.floating-search-input .search-banner-inner.wrap .search-menu .search-icon {
left: 150px;
}
I wrote these codes, when I add them to the css field, it looks the way I want, but it doesn’t look like that in others.
Can you help me pls ?
And I want to expand the size of the search box slightly upwards. I couldn’t find it, can anyone find it?
Just an FYI @ogulcan1787 , this feels like it may be bordering on:
Have you been doing some research for these issues outside of this forum? I believe there are a lot resources available.
3 Likes
Yes, I’m searching but I can’t find it.
https://developer.mozilla.org/ I use that site
Lilly
March 31, 2024, 12:08pm
17
seems ok to me?
Did you search that site for how to center?
I prefer this site myself:
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
5 Likes