Closed joshdarby closed 4 years ago
Instead of hiding the mobile popup on all pages, is there any reason we shouldn't remove it outright?
Instead of hiding the mobile popup on all pages, is there any reason we shouldn't remove it outright?
@benlk I'm probably wrong here, but wouldn't that remove it from desktop too? I know they only want it removed from mobile currently.
With CSS, we're hiding .footer.mobile
, and the only HTML/PHP I can find that has that combination of classes is /partials/newsletter-signup-popover.php
, where the element with .footer.mobile
contains everything within that partial. The other newsletter-signup-
partials have other combinations of classes.
Everything else is :shipit:
With CSS, we're hiding .footer.mobile, and the only HTML/PHP I can find that has that combination of classes is /partials/newsletter-signup-popover.php, where the element with .footer.mobile contains everything within that partial. The other newsletter-signup- partials have other combinations of classes.
Alright, you've convinced me!
Changes
This pull request makes the following changes:
largo_series_before_stories
tocity_limits_special_projects_series_before_stories
on the special stories series template so that the hardcoded newsletter that was being called on thelargo_series_before_stories
action does not appear. Also hides the#before-footer .newsletter-signup
element. https://github.com/INN/umbrella-citylimits/commit/c1b54635de3af2aa49aa0c5d29995c7505aa3799mobile-sticky-main-menu
menu location so that a different menu can be selected for the expanded open mobile menu. Also adds back in themain-nav
menu location so users can toggle a different menu for that location. https://github.com/INN/umbrella-citylimits/commit/a40e39555040a683e851bdf538912a577d22eccd.footer.mobile.newsletter-signup
popup on all mobile pages, not just the homepage https://github.com/INN/umbrella-citylimits/pull/136/commits/217cc7a7aaf0e2ddd68c4a37e79de706b3d29154Why
For #133
Testing/Questions
Features that this PR affects:
Questions that need to be answered before merging:
|| '0' === $_POST[$field_name]
?Steps to test this PR:
Homepage top featured story:
Special projects series landing page footer widgets
Allow selection of empty secondary nav on landing pages
- Select -
option and saveRemove hardcoded newsletter signup from new series template
Allow selection of different menu for open toggled mobile nav
Main Navigation
menu locationMobile Sticky Main Nav
menu location