Plugin Directory

Changeset 2313011


Ignore:
Timestamp:
05/27/2020 10:18:29 AM (6 years ago)
Author:
ade1705
Message:

Fixing css conflict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • everlytic/trunk/src/Settings/EvSettings.php

    r2312236 r2313011  
    1010    }
    1111
    12     public function enqueueStyles() {
    13         wp_enqueue_style(
    14             'bootstrap',
    15             plugins_url('../../public/css/ev-bootstrap.min.css', __FILE__),
    16             [],
    17             20141119
    18         );
     12    public function enqueueStyles($hook) {
     13        if ($hook === 'toplevel_page_everlytic'){
     14            wp_enqueue_style(
     15                'bootstrap',
     16                plugins_url('../../public/css/ev-bootstrap.min.css', __FILE__),
     17                [],
     18                20141119
     19            );
     20        }
    1921    }
    20 
    2122
    2223    public function everlyticOptionsPage() {
Note: See TracChangeset for help on using the changeset viewer.