Comments (8)
This is the result the navbar-collapse class on the same element which is necessary for small screens.
Use display: none !important
to achieve what you want.
from webtrees-theme-justlight.
I changed it to
<style> .wt-header-search { display: none !important; } </style>
as you suggested.
Sadly that doesn't work either. Any other suggestion?
from webtrees-theme-justlight.
I've made some changes to the code. Now it should work with your original custom css (<style> .wt-header-search { display: none; } </style>
)
from webtrees-theme-justlight.
I just found time to test. Sadly these changes don't work either.
But I achieved what I wanted by
.wt-header-search-form { display: none; }
This works on all themes including yours.
So somewhere in your code the .wt-header-search
still seems to behave different from the original themes (I've tested all the standard themes).
from webtrees-theme-justlight.
So somewhere in your code the .wt-header-search still seems to behave different from the original themes
Yes, that's because the Justlight theme is optimized for mobile use and the default themes are not. I use a special mobile menu with the bootstrap navbar-collapse class. This conflicts with your custom changes because they both require the css display function on the same element.
But '<style> .wt-header-search { display: none; }' </style>' works in my local test system, so I will leave the changes as they are.
from webtrees-theme-justlight.
But '<style> .wt-header-search { display: none; }' </style>' works in my local test system, so I will leave the changes as they are.
I've tried it again. I made sure not to have any typo, deleted your theme and reinstalled with all of your development patches. Even disabled all other custom modules. Tried another computer and tablet. But, no luck at all. So it seems my server behaves different from your local test system. I can only get it to work by the -form
class.
Could it be possible it's PHP version related? I'm PHP 8.2.1
EDIT: with 8.0 and 8.1 no difference or with PHP boost disabled also no difference.
Anyway, thanks for your efforts! I'll stick to my work around then.
from webtrees-theme-justlight.
As we Dutch say: "nou breekt mijn klomp" ;-)
After re-installing webtrees from the scratch, it does work now as intended! Sorry for the fuzz.
from webtrees-theme-justlight.
Haha, kan gebeuren. Blij dat het is oplost :)
from webtrees-theme-justlight.
Related Issues (20)
- customize footer entries HOT 1
- border-color of checkboxes (justBlack)
- visibility of links (justBlack) HOT 4
- contrast in pick list for data in sources (justBlack) HOT 2
- Error Log Entry with v2.2.4 (2.2.5)
- Menu for mobiles: Hamburger and Kebab menu?
- Contrast in GVExport
- Question: Control panel HOT 1
- question: theme based on media query? HOT 1
- Places in wt 2.1.17 on small devices (or screen) HOT 6
- Hamburger menu in wt 2.1.17 does not react
- Mobile hamburger menu not working
- Translated file in German / Übersetzte Datei auf deutsch (de.php) HOT 1
- Hamburger menu not working on mobile with webtrees version 2.1.7 and JustLight 2.2.2.1 HOT 2
- Block borders in Justlight Palette HOT 1
- Justblack and Fanchart of Rico Sonntag HOT 3
- Custom Logo HOT 1
- No scroll bars no map views HOT 2
- Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtrees-theme-justlight.