mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 06:23:22 +09:00
Fix inline style
This commit is contained in:
@@ -85,7 +85,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
* @since 2.6.0
|
||||
*/
|
||||
public function add_inline_style() {
|
||||
$css = sprintf( '.big-leader { max-height: %spx }', $this->setting['max_height'] );
|
||||
$css = sprintf( '.big-leader { max-height: %spx; }', $this->setting['max_height'] );
|
||||
wp_add_inline_style( 'displayfeaturedimage-style', strip_tags( $css ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user