Example #1
0
 //Background
 $ren_parallax = get_post_meta($pag->ID, 'parallax_bg', true);
 $ren_bg_color = get_post_meta($pag->ID, 'bg_color', true);
 $ren_sb_position = get_post_meta($pag->ID, 'sb_position', true);
 $ren_heading_highlight = get_post_meta($pag->ID, 'heading_highlight', true);
 $ren_heading_style = get_post_meta($pag->ID, 'heading_style', true);
 //Animation
 $ren_split_content = get_post_meta($pag->ID, 'split_content', true);
 $ren_section_icon = get_post_meta($pag->ID, 'section_icon', true);
 $ren_directive_icon = get_post_meta($pag->ID, 'icon_image', true);
 $ren_section_bg = get_post_meta($pag->ID, 'parallax_bg', true);
 $ren_sub_heading = get_post_meta($pag->ID, 'sub_heading', true);
 $ren_split_bg = get_post_meta($pag->ID, 'split_bg', true);
 //Split-BG type 1
 if ($smof_data['transparency_level'] == 1) {
     $tpl = 'rgba(' . renova_hex2rgb($ren_split_bg) . ',0.7)';
 } else {
     $tpl = $ren_split_bg;
 }
 //Fail safe bg color
 if ($ren_bg_color == '') {
     $ren_bg_color = '#ffffff';
 }
 if ($ren_heading_style == 'dark') {
     $hstyle = '';
 } elseif ($ren_heading_style == '') {
     $hstyle = '';
 } else {
     $hstyle = "-alt darken";
 }
 $ren_page_heading = $pag->post_title;
Example #2
0
{
  background: <?php 
echo $smof_data['highlight_color'];
?>
 !important;
}
.wide-section-showcase{
    background: <?php 
echo $smof_data['highlight_color'];
?>
;
}

.da-thumbs li a div {
    background-color: rgba(<?php 
echo renova_hex2rgb($smof_data['highlight_color']);
?>
,0.8) !important; 
}

.testimonial-block{
   background: <?php 
echo $smof_data['highlight_color'];
?>
 !important;
}
/*Mobile nav bg*/
#nav a {

   background: <?php 
echo $smof_data['highlight_color'];