Opened 6 years ago
Closed 6 years ago
#38404 closed defect (bug) (fixed)
Twenty Seventeen: Hidden article tags on home page
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description (last modified by )
reat theme! Very impressed. Thanks
I'm playing around with it to see its potential and note that when a front-page panel is unused, the resulting html has (for example):
<article id="panel3" class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel3"> <span class="twentyseventeen-panel-title">Panel 3 Placeholder</span> with article.panel-placeholder { display: none; } .twentyseventeen-front-page.twentyseventeen-customizer #primary article.panel-placeholder { border: 0; }
in the CSS.
Is this correct in terms of best practice? Could the php take care of not outputting this html rather than relying on CSS?
Attachments (3)
Change History (9)
#2
@
6 years ago
- Keywords has-patch added; needs-patch removed
- Resolution set to invalid
- Status changed from new to closed
#3
@
6 years ago
- Resolution invalid deleted
- Status changed from closed to reopened
Hi @iv.dimova, please do not close tickets until patches have been committed.
Note: See
TracTickets for help on using
tickets.
Ticket moved over from GitHub as part of merge. There is more context here: https://github.com/WordPress/twentyseventeen/issues/339