Skip to content

Commit

Permalink
fix issue #100
Browse files Browse the repository at this point in the history
  • Loading branch information
bassjobsen committed Feb 5, 2014
1 parent 88f88da commit e282692
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ function my_styles_method() {
ob_start();
require_once( get_template_directory() . '/functions/custom-style.php' );
do_action('jbst_add_to_custom_style');
/* set stylsheet which are compiled in LESS */
require_once( get_template_directory() . '/functions/custom-style-css.php' );

$return = ob_get_contents ();
Expand Down
10 changes: 5 additions & 5 deletions functions/custom-style-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@

/* Link Color */

if($link_color=get_theme_mod( 'link-color',link-color)) {
if($link_color=get_theme_mod( 'link-color')) {
echo 'a, a:hover {color:'.$link_color.';}';
echo '.nav-tabs > .active > a, .nav-tabs > .active > a:hover,.nav-pills > .active > a, .nav-pills > .active > a:hover {background:'.$link_color.'}';
echo 'a.thumbnail:hover {border-color:'.$link_color.';}';
}
if($footer_bg_color=get_theme_mod( 'footer_bg_color',footer_bg_color)) {
if($footer_bg_color=get_theme_mod( 'footer_bg_color')) {
echo 'footer#colophon {background-color:'.$footer_bg_color.';}';
}
if($footer_text_color=get_theme_mod( 'footer_text_color',footer_text_color)) {
if($footer_text_color=get_theme_mod( 'footer_text_color')) {
echo 'footer#colophon {color:'.$footer_text_color.';}';
}
if($footer_link_color=get_theme_mod( 'footer_link_color',footer_link_color)) {
if($footer_link_color=get_theme_mod( 'footer_link_color')) {
echo 'footer#colophon {color:'.$footer_link_color.';}';
}
}
2 changes: 1 addition & 1 deletion library/assets/css/wpless2css.css

Large diffs are not rendered by default.

0 comments on commit e282692

Please sign in to comment.