frontend.css.php 932 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. if ( $settings->cta_type == 'button' ) {
  3. FLBuilder::render_module_css( 'button', $id, VamtamCalloutModule::get_button_settings( $settings ) );
  4. }
  5. if ( $settings->image_type == 'icon' ) {
  6. FLBuilder::render_module_css('icon', $id, array(
  7. 'align' => '',
  8. 'bg_color' => $settings->icon_bg_color,
  9. 'bg_hover_color' => $settings->icon_bg_hover_color,
  10. 'color' => $settings->icon_color,
  11. 'hover_color' => $settings->icon_hover_color,
  12. 'icon' => $settings->icon,
  13. 'link' => $settings->link,
  14. 'link_target' => $settings->link_target,
  15. 'size' => $settings->icon_size,
  16. 'text' => '',
  17. ));
  18. }
  19. ?>
  20. <?php if ( $settings->title_size == 'custom' ) : ?>
  21. .fl-builder-content .fl-node-<?php echo $id; ?> .fl-callout-title {
  22. font-size: <?php echo $settings->title_custom_size; ?>px;
  23. line-height: <?php echo $settings->title_custom_size; ?>px;
  24. }
  25. <?php endif; ?>