-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update navigation on new sitebuilder homepage #34
Comments
I want 20-30 minutes of looking into this, and then please report back. |
@benlk Have you started on this? |
I haven't. There's some past discussion of this at https://innorg.slack.com/archives/GH0FMCCUR/p1580488316001500 |
Present homepage top looks like this (when the sticky nav isn't displaying): Site options are: /* <![CDATA[ */
var Largo = {
"is_home":"1",
"is_single":"1",
"sticky_nav_options": {
"sticky_nav_display":true,
"main_nav_hide_article":true,
"nav_overflow_label":"MORE"
}
};
/* ]]> */ There appears to be no custom CSS beyond what the theme provides, either in the Theme Editor or the CSS Customizer. This site does not use Largo's LESS Customizer. Relevant styles: umbrella-voiceofoc/wp-content/themes/voiceofoc/less/style.less Lines 61 to 67 in b90f7fa
There's some other styles for the sticky nav, which aren't relevant to the main nav. SiteOrigin PageBuilder doesn't have its own menu function. It does provide a way to insert WordPress' menu widget, which doesn't work in this position: |
Questions:
|
Very small customization: ~2h
Full custom: 8-10h
|
Update: With the "Enhanced Text" widget in the Sidebuilder template area used to output the header, and the following "Content:" in the widget, the the markup` for the main nav is output.
However, there are some CSS conflicts that prevent the menus working. .widget li {
overflow: hidden;
margin-bottom: 1em;
} needs to be overridden for the If we expand the Enhanced Text Widget to also include the secondary nav partial: <?php
get_template_part( 'partials/nav', 'main' );
get_template_part( 'partials/nav', 'secondary' );
?>
|
Compare the above screenshots, specifically the colors of the navs, to the following screenshot of the Note the different background colors for the main nav container color, and for the menu items in that nav. The background color and font color both come from |
This color change does not come from #31 |
The color change comes from edits made on prod to the minified CSS file, which will require reverse-engineering in order to capture. To make future reverse-engineering simpler, let's eliminate the minified file from Grunt builds. |
Nav updates for #34, and bring code changes from staging into this repo
|
Staging site was refreshed this morning from live, including the new homepage.
The text was updated successfully, but these errors were encountered: