It can be possible without edit each post by default ?
Hey unicaweb!
You mean, to assign the header to have the style, based on the theme settings, correct?
Best regards,
Basilis
Yes but only for single post.
Hi,
Thank you for the update.
Please add this in the functions.php file.
add_action( 'after_setup_theme', 'enfold_customization_product_switch' );
function enfold_customization_product_switch(){
add_filter('avf_builder_elements', 'avf_builder_elements_mod');
}
function avf_builder_elements_mod($elements)
{
$screen = get_current_screen();
if( 'post' == $screen->id ) {
$counter = 0;
foreach($elements as $element)
{
if($element['id'] == 'header_transparency') {
$elements[$counter]['std'] = 'header_transparent';
}
$counter++;
}
}
return $elements;
}
Best regards,
Ismael
Thanks.
Hey!
Happy we could solve it.
Please remember to rate our theme at Themeforest, we would much appreciate it.
Let us know if we can do anything else for you, by creating a new ticket.
Thanks a lot
Cheers!
Basilis