dropdown image in the navmenu, changing the classic ferry default image
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php wp_title(); ?></title>
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/favicon.ico">
- <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.31">
+ <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.33">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" rel="stylesheet">
<?php wp_head(); ?>
<script>
background-position: center bottom;
</style>";
+ } else if($object->classes[0] === 'classic-ferry' ){
+ $thumbnail = get_template_directory_uri() . '/assets/classic-ferry.jpg';
+ $item_style .= "<style>
+ #menu-main #menu-item-".$object->ID.":before {
+ display: inline-block;
+ width: 200px;
+ height: 100px;
+ content: ' ';
+ background-image: url('".$thumbnail."');
+ background-size: cover;
+ background-position: center bottom;
+ </style>";
+
} else if($object->classes[0] === 'all-ticket-options' ){
$thumbnail = get_template_directory_uri() . '/assets/All-Tickets-to-Mackinac-Island-Option-Featured-Image-400x200.png';
$item_style .= "<style>
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
Description: A theme for Star Line
-Version: 1.0.32
+Version: 1.0.33
*/