#26 Add CSS selector for new figcaption element
Merged 3 years ago by glb. Opened 3 years ago by glb.
glb/fedoramagazine-theme captionfix  into  master

@@ -1428,6 +1428,7 @@ 

  	margin-right: auto;

  }

  

+ .post-content figcaption,

  .post-content .wp-caption-text,

  .post-content .gallery-caption {

  	margin: 12px auto 0;

One of the recent WordPress updates appears to have broken the Fedora Magazine theme. It looks like WordPress is using a different HTML element -- figcaption -- in the new version. This PR just adds a new rule to match the new element.

Pull-Request has been merged by glb

3 years ago
Metadata