-
AuthorPosts
-
March 19, 2017 at 8:16 pm #763301
Hi
I have Enfold installed in all my websites (I have purchased the theme for each domain).
On my new site I cannot seem to install the child theme. Please advice.I have created a separate folder called
enfold-child and uploaded it via filezilla. It contains a style.css file with the following content:@charset “utf-8″;
/* CSS Document */
/*
Theme Name: Enfold Child Theme
Theme URI: http://www.metafora-art-therapy.org
Description: Stuff for Child Theme
Author: Jette
Author URI: http://example.com
Template: enfold
Version: 0.0.1*/
@import url(“../enfold/style.css”);
/* =Theme customization starts here
——————————————————- */media=”all”
.pricing-table li.avia-pricing-row {
text-align: center;
font-size: 16px;
line-height: 1em;
padding: 25px 12px;
/* text-shadow: 0 2px 0 #C9C9C9, 0 3px 0 #BBB, 0 3px 0 #B9B9B9, 0 1px 0 #AAA, 0 1px 1px rgba(0, 0, 0, .1), 0 0 3px rgba(0, 0, 0, .1), 0 4px 10px rgba(0, 0, 0, .2); */
font-weight: 600;
}/* mmmk 15-02-2016 */
.tubepress_thumb {
margin:10px 15px 15px 10px;
}/* Tamaño menu font*/
.header_color, .header_color div, .header_color header, .header_color main, .header_color aside, .header_color footer, .header_color article, .header_color nav, .header_color section, .header_color span, .header_color applet, .header_color object, .header_color iframe, .header_color h1, .header_color h2, .header_color h3, .header_color h4, .header_color h5, .header_color h6, .header_color p, .header_color blockquote, .header_color pre, .header_color a, .header_color abbr, .header_color acronym, .header_color address, .header_color big, .header_color cite, .header_color code, .header_color del, .header_color dfn, .header_color em, .header_color img, .header_color ins, .header_color kbd, .header_color q, .header_color s, .header_color samp, .header_color small, .header_color strike, .header_color strong, .header_color sub, .header_color sup, .header_color tt, .header_color var, .header_color b, .header_color u, .header_color i, .header_color center, .header_color dl, .header_color dt, .header_color dd, .header_color ol, .header_color ul, .header_color li, .header_color fieldset, .header_color form, .header_color label, .header_color legend, .header_color table, .header_color caption, .header_color tbody, .header_color tfoot, .header_color thead, .header_color tr, .header_color th, .header_color td, .header_color article, .header_color aside, .header_color canvas, .header_color details, .header_color embed, .header_color figure, .header_color fieldset, .header_color figcaption, .header_color footer, .header_color header, .header_color hgroup, .header_color menu, .header_color nav, .header_color output, .header_color ruby, .header_color section, .header_color summary, .header_color time, .header_color mark, .header_color audio, .header_color video, #top .header_color .pullquote_boxed, .responsive #top .header_color .avia-testimonial, .responsive #top.avia-blank #main .header_color.container_wrap:first-child, #top .header_color.fullsize .template-blog .post_delimiter, .header_color .related_posts.av-related-style-full a {
border-color: #e1e1e1;
font-size: 16px;
}
.iconbox_left .iconbox_icon, .iconbox_left .iconbox_content_title {
float: right;
}
.iconbox_left .iconbox_icon{
margin-left: 20px;
}.no-text-iconbox .iconbox_content_container {
display: none;
}.footer_color table, .footer_color .widget_nav_menu ul:first-child>.current-menu-item,.footer_color .widget_nav_menu ul:first-child>.current_page_item, .footer_color .widget_nav_menu ul:first-child>.current-menu-ancestor, .footer_color .pagination .current, .footer_color .pagination a, .footer_color.iconbox_top .iconbox_content,.footer_color .av_promobox, .footer_color .toggle_content, .footer_color .toggler:hover, .footer_color .related_posts_default_image, .footer_color .search-result-counter, .footer_color .container_wrap_meta, .footer_color .avia-content-slider .slide-image, .footer_color .avia-slider-testimonials .avia-testimonial-content, .footer_color .avia-testimonial-arrow-wrap .avia-arrow, .footer_color .news-thumb, .footer_color .portfolio-preview-content, .footer_color .portfolio-preview-content .avia-arrow, .footer_color .av-magazine .av-magazine-entry-icon, .footer_color .related_posts.av-related-style-full a, .footer_color .aviaccordion-slide {
background: #D3D0D0;
}.avia-data-table .avia-pricing-row td, .avia-data-table .avia-pricing-row th {
text-align: left;
font-size: 16px;
color: #000;
line-height: 1em;
padding: 25px 12px;
/* text-shadow: 0 2px 0 #C9C9C9, 0 3px 0 #BBB, 0 3px 0 #B9B9B9, 0 1px 0 #AAA, 0 1px 1px rgba(0, 0, 0, .1), 0 0 3px rgba(0, 0, 0, .1), 0 4px 10px rgba(0, 0, 0, .2); */
font-weight: 600;
}tr.avia-heading-row th {
text-transform: none;
font-weight: bold;
font-size: 16px;
}.td { min-width: 150px; }
div .main_color .tabcontainer .active_tab { font-size: 18px; }
div .main_color .tabcontainer .active_tab { color: red; }.margin-bottom-20 { margin-bottom: 20px !important; }
.margin-bottom-30 { margin-bottom: 30px !important; }.box-border-top { border: 1ps solid #333; }
.hr-short .hr-inner { width: 16%; margin-left: -8%; }
.box_content { padding: 45px 20px 20px 20px; border-radius: 3px; box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.3); background: #eeeeee; text-align: center; }
/* home */
#top #wrap_all .main_color .featured-home h2 { font-size: 35px; }
#top #wrap_all .main_color .featured-home h3 { font-size: 24px; }
.home-last-post { text-align: center; }
.home-last-post .blog-categories { display: none; }
.home-last-post .slide-entry-title { padding: 20px 0; }
.home-last-post .av_one_fourth { margin-left: 2%; width: 23.5%; }
.home-last-post .av_one_fourth.first { margin-left: 0; }
.avia-content-slider .slide-image, .avia-content-slider .slide-image img { border-radius: 0; }/* pages */
.icon-box a { display: block; border: 1px solid #333; background: #eee; text-align: center; font-size: 24px; line-height: 26px; padding: 15px; color: #000; }
.icon-box.center-position { margin-left: 25%; margin-right: 25%; }
.main_color .avia-color-theme-color:hover,
.footer_color input[type=’submit’]:hover,
.icon-box a:hover { color: #fff; background: #333; text-decoration: none; }.av_textblock_section h2 { margin-bottom: 30px; }
.av_textblock_section h3 { margin-bottom: 20px; }/* tables */
.main_color td strong { color: #000; }
.avia_textblock td { vertical-align: middle; }/* forms */
.main_color .frm_message a { color: #000; font-weight: bold; }…………………………………………………………………………………………………………………………
The added content is the same as on my other sites.
…………………………………………………………………………………………………………………………
In my funcions file I have:<?php
// enfold child funcions go here
//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{ return “debug”;
}
//add shortcode
add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
function avia_include_shortcode_template($paths)
{ $template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.’/shortcodes/’);
return $paths;
}
add_theme_support(‘avia_template_builder_custom_css’);
function change_cf_from() {
return ” (Email address hidden if logged out) “;
}
add_filter(‘avf_form_from’, ‘change_cf_from’, 10);?>
March 19, 2017 at 9:52 pm #763337Hey metafora29,
The biggest issue I see right off is your @import url(“../enfold/style.css”);
Try our pre-built child theme, Read about it & Get it hereBest regards,
MikeMarch 22, 2017 at 6:06 pm #764941Thanks, our server had played a trick on us. All sorted!
March 22, 2017 at 7:48 pm #765019Hi!
Happy you got it short out.
Please feel free to let us know if there is anything else we can do.Thank you
Regards,
Basilis -
AuthorPosts
- The topic ‘can't seem to install child theme’ is closed to new replies.