Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #711195

    is it possible to lay a layer over the frontpage to obtain a temporary effect, such as a christmas card in the layer?
    example: http://jeelsites.nl/vmwp/wp-content/uploads/2016/11/kerst-promotie.jpeg

    • This topic was modified 8 years ago by yampieters.
    #711824

    Hey jelle!

    Thank you for using Enfold.

    Please add this in the functions.php file:

    add_action('ava_after_main_container', 'ava_after_main_container_xmas_mod');
    function ava_after_main_container_xmas_mod() {
    	$output  = '<div class="xmas_card">';
    	$output .= '<div class="xmas_card_close"></div>';
    	$output .= '<img src="xmascard.png" />';
    	$output .= '</div>';
    }

    And then use the following css code:

    .xmas_card {
        position: fixed;
        bottom: 10px;
        right: 10px;
    }

    Regards,
    Ismael

    #711913

    hi ismael, thanks a lot.
    you can close this one.

    #712310

    Hi,

    Great, thanks for letting us know :-)

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘layer over frontpage?’ is closed to new replies.