Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Ryô

    (@ryoch)

    Thank you for the reply zeroelement but I just found a solution with a different approach:

    <div id="header"><a href="<?php echo home_url(); ?>" id="headerlink"></a>

    I made a simple a href and I created the id headerlink as I don’t have any text to link, and then I added the details of headerlink in my css to create the link “area” on top of my picture:

    #headerlink {
    	display: block;
    	width: 100%;
    	height: 100%;
    }

    Ryô

    Thread Starter Ryô

    (@ryoch)

    I managed to solve my problems, for those interested:

    \functions\displaypost.php

    if (!function_exists('easel_display_post_calendar')) {
    	function easel_display_post_calendar() {
    		global $post, $wp_query;
    		if (is_page()) return;
    		if (easel_themeinfo('enable_post_calendar') && (($post->post_type == 'post') || ($post->post_type == 'comic'))) {
    			$post_calendar = "<div class=\"calendar-month\">".get_the_time('M')."<div class=\"calendar-day\">".get_the_time('d')."<div class=\"calendar-year\">".get_the_time('Y')."</div></div></div>";
    			echo apply_filters('easel_display_post_calendar', $post_calendar);
    		}
    	}
    }

    css:

    .calendar-month {
    	position: relative;
    	padding: 2px 3px 0px 0px;
    	height: 50px;
    	width: 45px;
    	background: url(http://www.ryo.me/images/calendrier.png) center no-repeat;
    	font-family: 'Verdana' , sans-serif;
    	font-size: 10px;
    	color: #FFFFFF;
    	float: left;
    	margin-left: 2px;
    	margin-right: 5px;
    	text-align: center;
    	box-sizing: border-box;
    }
    
    .calendar-day {
    	position: absolute;
    	top: 15px;
    	right: 1px;
    	font-family: 'Verdana' , sans-serif;
    	font-size: 16px;
    	font-weight: bold;
    	color: #000000;
    	text-align: center;
    	width: 100%;
    }
    
    .calendar-year {
    	position: absolute;
    	top: 19px;
    	font-family: 'Verdana' , sans-serif;
    	font-size: 10px;
    	font-weight: normal;
    	color: #000000;
    	text-align: center;
    	width: 100%;
    }

    Result:

    View post on imgur.com

    Hello,

    I had a similar problem, trying to customize the player from my css (on a child theme with your code) but is it possible that having the “!important” declaration already in your plugin css (compact-wp-audio-player/css/player.css) may cause the issue and take the priority on our own css?

    By the way I’m really happy with your plugin, simple and clear, took me time to finally found the right one 🙂

    I totally agree.

    Hello, I have also the problem of the popup on the bottom, any news?

Viewing 5 replies - 1 through 5 (of 5 total)