Age verify on Mantra
-
Hi.
I want to use age verify plugin with mantra and it works . I’ve asked plugin’s author if i could set a background image insted of a color as background to the plugin.
He gave me this :<?php add_action( ‘av_custom_styles’, ‘my_av_custom_styles’ );
function my_av_custom_styles() { ?>
<style type=”text/css”>
#av-overlay-wrap {
background: url(path/to/your/image.png);
}
</script><?php } ?>
I insert that code on theme-function.php but it gives some problems :
The age verify box opens properly with the background image but all the contenent fo the website loses the correct width and height, margin, etc.Is there a form to use that code without changing anything else en the website ?
Thank you.
- The topic ‘Age verify on Mantra’ is closed to new replies.