-
Notifications
You must be signed in to change notification settings - Fork 11
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
Design updates November 2023 #48
Comments
@amercader the Open Knowledge Foundation Panel plugin is currently not compatible with the new theme assets and needs to be updated, if not rewritten. This is something that Keitaro cannot do as part of these updates. Everything else is done and deployed to https://blog.okfn.org/. |
Thanks @gocemitevski ! Regarding the collapsible panel, would it be possible to just add the necessary markup to the relevant theme layout template? It's just a matter to add these lines in the page template, we don't need all the WP config interface that the WP plugin included <head>
<!-- ... -->
<link rel="stylesheet" href="https://a.okfn.org/html/oki/panel/assets/css/frontend.css"/>
<style>
#ok-panel {
border-color:#2D2D2D
}
#ok-panel-wrapper {
float:right
}
#ok-panel-wrapper:not([data-breakpoint*='px'])>.ok-ribbon {
margin-top:0;
background-color:#2D2D2D;
margin-bottom:1.5em;
background-color:transparent
}
</style>
<!-- ... -->
<head>
<body>
<div id="ok-panel" class="closed"><div class="container"><iframe src="https://a.okfn.org/html/oki/panel/panel.html" scrolling="no"></iframe></div></div>
<div id="ok-panel-wrapper"><a class="white ok-ribbon" href="https://okfn.org/"><img src="https://a.okfn.org/html/oki/panel/assets/images/oki-ribbon.png" alt="Open Knowledge"></a></div>
<!-- ... -->
<script src="https://a.okfn.org/html/oki/panel/assets/js/frontend.js" type="text/javascript"></script>
</body> |
@amercader unfortunately not. I already tried to do that. This is basically the same code generated by the WordPress plugin, but with the newly updated assets based on the new version of the panel. https://github.com/okfn/okf-panel/blob/master/inc/sunrise/assets.php The problems are caused by small differences in the styling rules and JavaScript assets. Just adding the above code snippet in the |
Cosmetic changes to match the design after the latest OKFN rebranding:
Replace the logo in the header for https://drive.google.com/open?id=1Yao2GS38sR2laWH9VpmSv9j6zmyZcpOm&usp=drive_fs
Replace the logo in the footer for https://drive.google.com/open?id=1h6yRR80ibQMCGuipe-TZs22c8ID9j6_Y&usp=drive_fs
Change how Twitter text is displayed in the menu, for
Twitter/X
(this is managed through the Theme Options)Add LinkedIn and Mastodon links to the menu (same as above: two new fields are required in the Theme Options)
Remove this sentence from the footer:
"Refer to our attributions page for attributions of other work on the site."
Replace font-family with HK Grotesk (respecting the different weighs)
Add OKFN collapsible panel as a top header
(The same updated version displayed on sites like opendefinition.org and opendatacommons.org)
I see there's a plugin called
Open Knowledge Foundation Panel
, but it's deactivated.The text was updated successfully, but these errors were encountered: