Bahai9
Bahai9
Menu
Main page
About Bahai9
Recent changes
Random page
Help about MediaWiki
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Message
Discussion
Add topic
View history
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About Bahai9
Recent changes
Random page
Help about MediaWiki
In other projects
Other projects
Indexes
Bahai-library
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information

MediaWiki talk:Chameleon.css

From Bahai9
Jump to:navigation, search

Hi,
I noticed in Recent Changes that the "in other projects" link to nothing shows up in the sidebar and at the top. Following a similar incident in the Spanish version of Bahaipedia, I suggest inserting the following code starting at line 304:

/* Hide in other projects that link to nothing */
.navbar-nav.right > .nav-item.p-wikibase-otherprojects-dropdown {
display: none;
}
.sidebar-item.sidebar-menu.col > .nav-item.p-wikibase-otherprojects-dropdown {
display: none;
}
.sidebar-item.sidebar-menu.col > .nav-item.dropdown.p-wikibase-otherprojects-dropdown {
display: block;
}
.dropdown-menu.p-wikibase-otherprojects.show {
transform: translate3d(115px, 228px, 0px) !important;
}
Thanks for this... What happens if you only add the display:none? I.e., why add the display:block and transform? Brettz9 (talk) 15:54, 9 January 2025 (PST)
I don't know; it's code I copied from the English Bahaipedia version of chameleon.css before David added further code, and since I noticed it missing in yours, I thought I'd tell you about it. You'll have to ask him about the details. Ernobe (talk) 16:05, 9 January 2025 (PST)
For now I've just copied the display:none; let me know how that works for ya... Brettz9 (talk) 16:13, 9 January 2025 (PST)
Remember to force reset the cache (shift-refresh or click-refresh). Brettz9 (talk) 16:13, 9 January 2025 (PST)
The Recent Changes issue appears resolved now. But "In other projects" links appear as a drop down menu at Bahaipedia, while here they are included among the "Other projects" links (in the sidebar). Ernobe (talk) 16:38, 9 January 2025 (PST)
Yes, I wanted them more accessible for convenience. Brettz9 (talk) 16:53, 9 January 2025 (PST)
Retrieved from "https://bahai9.com/index.php?title=MediaWiki_talk:Chameleon.css&oldid=18509"
This page was last edited on 9 January 2025, at 20:53.
Content is available under Creative Commons Attribution-Share Alike or custom copyright unless otherwise noted.
Privacy policy
About Bahai9
Disclaimers
Powered by MediaWiki