Remove calendar link background when styles active
This commit is contained in:
@@ -166,6 +166,8 @@ class SP_Frontend_Scripts {
|
|||||||
if ( $enabled == 'yes' && sizeof( $colors ) > 0 ) {
|
if ( $enabled == 'yes' && sizeof( $colors ) > 0 ) {
|
||||||
echo ' /* SportsPress Frontend CSS */ ';
|
echo ' /* SportsPress Frontend CSS */ ';
|
||||||
|
|
||||||
|
echo '.sp-event-calendar tbody td a,.sp-event-calendar tbody td a:hover{background: none;}';
|
||||||
|
|
||||||
if ( isset( $colors['primary'] ) )
|
if ( isset( $colors['primary'] ) )
|
||||||
echo '.sp-data-table th,.sp-calendar th,.sp-data-table tfoot,.sp-calendar tfoot,.sp-button,.sp-heading{background:' . $colors['primary'] . ' !important}.sp-data-table tbody a,.sp-calendar tbody a{color:' . $colors['primary'] . ' !important}';
|
echo '.sp-data-table th,.sp-calendar th,.sp-data-table tfoot,.sp-calendar tfoot,.sp-button,.sp-heading{background:' . $colors['primary'] . ' !important}.sp-data-table tbody a,.sp-calendar tbody a{color:' . $colors['primary'] . ' !important}';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user