Remove extra class from chapter background element
Not used and you can use the parent class for specific targeting as well. This is unnecessary.
This commit is contained in:
parent
388c572a3e
commit
72ff8bc522
@ -2079,14 +2079,7 @@ add_action( 'fictioneer_main', 'fictioneer_main_observer', 1 );
|
||||
|
||||
function fictioneer_page_background( $context = null ) {
|
||||
// Setup
|
||||
switch ( $context ) {
|
||||
case 'chapter':
|
||||
$background = '<div class="main__background chapter__background polygon polygon--main background-texture"></div>';
|
||||
break;
|
||||
default:
|
||||
$background = '<div class="main__background polygon polygon--main background-texture"></div>';
|
||||
break;
|
||||
}
|
||||
$background = '<div class="main__background polygon polygon--main background-texture"></div>';
|
||||
|
||||
// Render
|
||||
echo apply_filters( 'fictioneer_filter_page_background', $background );
|
||||
|
Loading…
x
Reference in New Issue
Block a user