Make WordPress Core

Changeset 44652


Ignore:
Timestamp:
01/18/2019 08:45:34 PM (6 years ago)
Author:
laurelfulford
Message:

Twenty Nineteen: Fix alignment of page title when there are no posts.

Fix the alignment of the "Nothing Found" page title when there are no posts, to match how it appears for the search results when nothing is found, and the 404 page.

Props kjellr, lorenzone92.
Fixes #45887.

Location:
trunk/src/wp-content/themes/twentynineteen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/site/primary/_archives.scss

    r44149 r44652  
    5151.no-results.not-found {
    5252
     53    .page-title,
    5354    .page-content {
    5455
  • trunk/src/wp-content/themes/twentynineteen/style-rtl.css

    r44650 r44652  
    48014801
    48024802/* 404 & Not found */
     4803.error-404.not-found .page-title,
    48034804.error-404.not-found .page-content,
     4805.no-results.not-found .page-title,
    48044806.no-results.not-found .page-content {
    48054807  margin: calc(3 * 1rem) 1rem;
     
    48074809
    48084810@media only screen and (min-width: 768px) {
     4811  .error-404.not-found .page-title,
    48094812  .error-404.not-found .page-content,
     4813  .no-results.not-found .page-title,
    48104814  .no-results.not-found .page-content {
    48114815    margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2);
  • trunk/src/wp-content/themes/twentynineteen/style.css

    r44650 r44652  
    48074807
    48084808/* 404 & Not found */
     4809.error-404.not-found .page-title,
    48094810.error-404.not-found .page-content,
     4811.no-results.not-found .page-title,
    48104812.no-results.not-found .page-content {
    48114813  margin: calc(3 * 1rem) 1rem;
     
    48134815
    48144816@media only screen and (min-width: 768px) {
     4817  .error-404.not-found .page-title,
    48154818  .error-404.not-found .page-content,
     4819  .no-results.not-found .page-title,
    48164820  .no-results.not-found .page-content {
    48174821    margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2);
Note: See TracChangeset for help on using the changeset viewer.