Hello Justing!
I tried the code but it is not working. Here is a copy of my code:
function weebir_custom_presets()
{
FLCustomizer::add_preset( 'wr-medicos', array(
'name' => 'Medicos',
'skin' => get_stylesheet_directory().'/wr-medicos.css',
'settings' => array(
'fl-layout-width' => 'boxed',
'fl-layout-spacing' => '25',
'fl-layout-shadow-size' => '15',
'fl-layout-shadow-color' => '#0a0a0a',
'fl-body-bg-color' => '#d3d3d3',
'fl-accent' => '#31a3dd',
'fl-heading-text-color' => '#31a3dd',
'fl-heading-font-family' => 'Helvetica',
'fl-heading-font-weight' => '400',
'fl-heading-font-format' => 'none',
'fl-h1-font-size' => '36',
'fl-h2-font-size' => '30',
'fl-h3-font-size' => '24',
'fl-h4-font-size' => '18',
'fl-h5-font-size' => '14',
'fl-h6-font-size' => '12',
'fl-body-text-color' => '#808080',
'fl-body-font-family' => 'Helvetica',
'fl-body-font-size' => '14',
'fl-topbar-layout' => 'none',
'fl-header-layout' => 'bottom',
'fl-header-padding' => '10',
'fl-fixed-header' => 'visible',
'fl-header-nav-search' => 'hidden',
'fl-header-content-layout' => 'social-text',
'fl-header-content-text' => '¡Llámanos! 5555-555',
'fl-header-bg-type' => 'content',
'fl-header-bg-gradient' => '0',
'fl-logo-type' => 'text',
'fl-logo-text' => 'Centro de Salud',
'fl-logo-font-family' => 'Fjalla One',
'fl-logo-font-weight' => '400',
'fl-logo-font-size' => '30',
'fl-nav-bg-type' => 'custom',
'fl-nav-bg-color' => '#31a3dd',
'fl-nav-bg-gradient' => '1',
'fl-nav-text-type' => 'default',
'fl-content-bg-color' => '#ffffff',
'fl-blog-layout' => 'sidebar-right',
'fl-blog-sidebar-size' => '3',
'fl-blog-sidebar-display' => 'desktop',
'fl-blog-post-author' => 'hidden',
'fl-blog-post-date' => 'visible',
'fl-archive-show-full' => '0',
'fl-archive-readmore-text' => 'Leer más',
'fl-archive-show-thumbs' => 'beside',
'fl-posts-show-thumbs' => '',
'fl-posts-show-cats' => 'visible',
'fl-posts-show-tags' => 'visible',
'fl-posts-show-nav' => 'hidden',
'fl-lightbox' => 'enabled',
'fl-footer-widgets-display' => 'disabled',
'fl-footer-widgets-bg-type' => 'content',
'fl-footer-layout' => '2-cols',
'fl-footer-col1-layout' => 'text',
'fl-footer-col2-layout' => 'social',
'fl-footer-bg-type' => 'custom',
'fl-footer-bg-color' => '#2d2d2d',
'fl-social-icons-color' => 'branded',
'fl-social-facebook' => 'http://facebook.com',
'fl-social-twitter' => 'http://twitter.com',
'fl-social-google' => 'http://google.com',
'fl-social-linkedin' => 'http://linkedin.com',
)
));
}
add_action( 'after_setup_theme', 'weebir_custom_presets', 1 );
The files/folders inside my child theme folder are:
classes
includes
functions.php
screenshot.png
style.css
wr-medicos.css
I also tried using get_stylesheet_directory_uri()
with no luck.
Please let me know if I am doing anything wrong here.
Thank you!