Skip to content

Commit

Permalink
css on mobile tweaks and option to disable some BB scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
neilgee committed Feb 20, 2019
1 parent 7c5db5c commit 086f11a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion classes/class-fl-child-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@ static public function enqueue_scripts()
// Business Profile CSS
//wp_enqueue_style( 'businessprofile', get_stylesheet_directory_uri() . '/css/business-profile.css' , array(), '2.0.0', 'all' );

// Take out the default lightbox
// Take out the default BB Scripts if not used
// wp_dequeue_script('jquery-magnificpopup');
// wp_dequeue_style('jquery-magnificpopup');
// wp_dequeue_script( 'bootstrap' );
// wp_dequeue_script( 'imagesloaded' );
// wp_dequeue_script( 'jquery-fitvids' );
// wp_dequeue_script( 'jquery-throttle' );
// wp_dequeue_script( 'jquery-waypoints' );

// Set Up Global JS
// wp_enqueue_script( 'global', get_stylesheet_directory_uri() . '/js/global.js', array( 'jquery' ), '1.0.0', true );
Expand Down
11 changes: 8 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ a.fl-post-more-link:hover {
}
}

/* # Mobile Nav Using Beaver Themer Option - changed color
/* # Mobile Toggle Icon Nav Using Beaver Themer Option - changed color
* Black example below
---------------------------------------------------------------------------------------------------- */
@media (max-width: 767px) {
Expand All @@ -538,8 +538,8 @@ a.fl-post-more-link:hover {
border: none;
}

.fl-page .fl-menu-mobile-toggle:hover {
border: none;
.fl-page .fl-menu-mobile-toggle:hover * {
color: #fff;
background: transparent !important;
}

Expand Down Expand Up @@ -877,6 +877,11 @@ li.comment {
.fl-slide .fl-slide-content .fl-button-wrap {
text-align: center;
}

.custom-logo-link {
display: block;
text-align: center;
}

}

Expand Down

0 comments on commit 086f11a

Please sign in to comment.