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

Some Suggestions for mod_search in J! 4 #11

Open
Worti2 opened this issue Jul 19, 2022 · 3 comments
Open

Some Suggestions for mod_search in J! 4 #11

Worti2 opened this issue Jul 19, 2022 · 3 comments

Comments

@Worti2
Copy link

Worti2 commented Jul 19, 2022

Hi everybody,
I just want to style mod_search a little bit more Joomla! 4 like. So this sugesstions are no issues!

Suggestion No. 1: Delete without replacement the div container in line 33 of mod_search default.php
You will need some CSS more to make it look as good as mod_finder.

Suggestion No. 2: Change the class element-invisible to visually-hidden.
Here you will need less CSS, too.

Suggestion No. 3: Replace the image button with an icon button: <input type="image" alt="' . $button_text . '" class="button" src="' . $img . '" onclick="this.form.searchword.focus();"/> with <button class="btn btn-primary" type="submit"><span class="icon-search icon-white" aria-hidden="true"></span></button>

Greetings
Markus

@svenha
Copy link

svenha commented Aug 30, 2022

Are there any websites where these suggested changes are live?

@Worti2
Copy link
Author

Worti2 commented Aug 31, 2022

https://www.moehne-radweg.de/

@Worti2
Copy link
Author

Worti2 commented Aug 31, 2022

Made a complete new installation of J!4 and now i am reading that the installation of the mod_search is bugy. So your are not able to see my suggestion.

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