Skip to content

Commit

Permalink
#18 add to front page the case "always display caption under map"
Browse files Browse the repository at this point in the history
  • Loading branch information
elisabethP committed Jul 16, 2018
1 parent 53b5012 commit be06e32
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 129 deletions.
4 changes: 3 additions & 1 deletion Controller/Front.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ private static function enqueue_mapquest(){
private static function add_css_inline($css){

$data = 'div.lfh-min div.lfh-nav div.lfh-title,
div.undermap div.lfh-nav div.lfh-title,
#content .lfh-element h3:first-child,
#lfh-fade .lfh-element h3:first-child,
.lfh-element h3:first-child {
Expand All @@ -314,7 +315,8 @@ private static function add_css_inline($css){
a.lfh-gpx-file{
border-color:'.$css['lfh_color'].';
}
div.lfh-min a.lfh-gpx-file{
div.lfh-min a.lfh-gpx-file,
div.undermap a.lfh-gpx-file{
background:none;
color:inherit;
border:none;
Expand Down
Loading

0 comments on commit be06e32

Please sign in to comment.