The goal is to remove a widget from the hamburger accessed sidebar menu in Twenty Fifteen.
#gallery-122 {
margin: auto;
}
#gallery-122 .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
}
#gallery-122 img {
border: 2px solid #cfcfcf;
}
#gallery-122 .gallery-caption {
margin-left: 0;
}
/* see gallery_shortcode() in wp-includes/media.php */
- Start on front page. Tap the hamburger icon to open the menu and expose widgets.
- Widgets exposed. Scroll down.
- I don’t need a categories widget on this site. Let’s get rid of it. Scroll back up to the toolbar.
- Tap the dashboard icon in the toolbar.
- Tap Customize.
- Tap Widgets.
- Tap Widget Area.
- Tap Categories.
- Scroll down to get to the remove link.
- Oops. I accidentally moved the widget. I do this all the time. Since I’m removing it anway, I won’t bother putting it back where it was. Tap Remove.
- The Categories widget is removed. Tap Preview.
- Tap the hamburger to view the widget sidebar.
- Scroll down to verify Categories is gone.
- It is gone. Tap Save & Publish.
- Tap the back arrow to get out of the customizer.
- Arrow changes to an X. This is pretty subtle when you’re in preview instead of customize mode. Tap X.
- Land back on the front page.
Notes:
When in preview mode, the stacked nav of widgets is pretty subtle. There is no transition other than < changing to X.
I accidentally move widgets when swiping to scroll all the time. I’ve taken to very carefully swiping along the edges to avoid the widget headers, similar to what I have to do in the post editor. I notice there’s a Reorder button at the bottom of the widgets panel. Should widget rearrangement be confined to it?
#gallery-123 {
margin: auto;
}
#gallery-123 .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
}
#gallery-123 img {
border: 2px solid #cfcfcf;
}
#gallery-123 .gallery-caption {
margin-left: 0;
}
/* see gallery_shortcode() in wp-includes/media.php */
4.2-beta4-31998


















