Make WordPress Core

Changeset 57589

Timestamp:
02/12/2024 11:31:27 AM (6 months ago)
Author:
audrasjb
Message:

Twenty Twenty: Scope .privacy-policy styles to the footer only.

This changeset fixes an issue where the .privacy-policy styles were applied to other locations than the footer only, like the privacy-policy page itself.

Props mnydigital, sabernhardt, huzaifaalmesbah, shailu25, poena.
Fixes #60469.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/functions.php

    r57313 r57589  
    790790            ),
    791791            'secondary'  => array(
    792                 'color' => array( '.site-description', 'body:not(.overlay-header) .toggle-inner .toggle-text', '.widget .post-date', '.widget .rss-date', '.widget_archive li', '.widget_categories li', '.widget cite', '.widget_pages li', '.widget_meta li', '.widget_nav_menu li', '.powered-by-wordpress', '.to-the-top', '.singular .entry-header .post-meta', '.singular:not(.overlay-header) .entry-header .post-meta a' ),
     792                'color' => array( '.site-description', 'body:not(.overlay-header) .toggle-inner .toggle-text', '.widget .post-date', '.widget .rss-date', '.widget_archive li', '.widget_categories li', '.widget cite', '.widget_pages li', '.widget_meta li', '.widget_nav_menu li', '.powered-by-wordpress', '.to-the-top', '.singular .entry-header .post-meta', '.singular:not(.overlay-header) .entry-header .post-meta a' ),
    793793            ),
    794794            'borders'    => array(
  • trunk/src/wp-content/themes/twentytwenty/style-rtl.css

    r57587 r57589  
    44944494
    44954495.footer-copyright a,
    4496 .privacy-policy a,
     4496.privacy-policy a,
    44974497.powered-by-wordpress a {
    44984498    color: inherit;
    44994499}
    45004500
    4501 .privacy-policy,
     4501.privacy-policy,
    45024502.powered-by-wordpress,
    45034503.to-the-top {
     
    45244524}
    45254525
    4526 .privacy-policy {
     4526.privacy-policy {
    45274527    margin: 1.2rem 0 0;
    45284528}
     
    56185618    }
    56195619
    5620     .privacy-policy {
     5620    .privacy-policy {
    56215621        margin: 0 2.4rem 0 0;
    56225622    }
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r57587 r57589  
    45304530
    45314531.footer-copyright a,
    4532 .privacy-policy a,
     4532.privacy-policy a,
    45334533.powered-by-wordpress a {
    45344534    color: inherit;
    45354535}
    45364536
    4537 .privacy-policy,
     4537.privacy-policy,
    45384538.powered-by-wordpress,
    45394539.to-the-top {
     
    45604560}
    45614561
    4562 .privacy-policy {
     4562.privacy-policy {
    45634563    margin: 1.2rem 0 0;
    45644564}
     
    56825682    }
    56835683
    5684     .privacy-policy {
     5684    .privacy-policy {
    56855685        margin: 0 0 0 2.4rem;
    56865686    }
Note: See TracChangeset for help on using the changeset viewer.