Digital experiences for all disciplines
Forum Replies Created
-
-
Nope, see below: This is the contents at the start of the parent theme
style.css
/* LICENSE & DETAILS ================================================== Theme Name: Dante Theme URI: http://dante.swiftideas.net Author: Swift Ideas Author URI: www.swiftideas.net Description: <strong>A Retina Responsive Multi-Purpose WordPress Theme, Designed & Developed by Swift Ideas</strong> - <a href="http://www.swiftideas.net">www.swiftideas.net</a>. Follow us for update notifications:<br/> <a href='http://twitter.com/swiftideas'>Twitter</a><br/> | <a href='http://www.facebook.com/SwiftIdeas'>Facebook</a> Version: 3.16 License: GNU General Public License version 3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html Tags: translation-ready, threaded-comments, theme-options, sticky-post, post-formats, full-width-template, flexible-header, featured-images, custom-menu, custom-header, custom-colors, custom-background, flexible-width All files, unless otherwise stated, are released under the GNU General Public License version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html) ================================================== */
This is the contents of the child theme
style.css
:/* LICENSE & DETAILS ================================================== Theme Name: Dante Child Theme Theme URI: http://dante.swiftideas.net Description: A Retina Responsive Multi-Purpose WordPress Theme - Designed & Developed by Swift Ideas ( www.swiftideas.net ) License: GNU General Public License version 3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html Template: dante Version: 1.0 Author: Swift Ideas Author URI: www.swiftideas.net All files, unless otherwise stated, are released under the GNU General Public License version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html) ================================================== */
Hi Rui,
I should also mention that when I activate the child theme from the admin dashboard I lose all of the dashboard tabs associated with the parent theme. It’s as if it has no reference to the parent theme at all.
Hi Dave, yes it is. I’ve tried restarting WAMP. I’ve also uploaded to an internal test server but the same white screen is showing…
The site is on my localhost so can’t provide access. It might help if I explain the structure:
I have the Dante Parent Theme installed and it works fine when I enable it. I downloaded Ruis link and it contained the following
– A folder called dante-child which contains 3 files:
- style.css
- functions.php
- screenshot.png
I then enable the child theme on my site and nothing works. I get a blank screen.
style.css only contains:
/* LICENSE & DETAILS ================================================== Theme Name: Dante Child Theme Theme URI: http://dante.swiftideas.net Description: A Retina Responsive Multi-Purpose WordPress Theme - Designed & Developed by Swift Ideas ( www.swiftideas.net ) License: GNU General Public License version 3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html Template: dante Version: 1.0 Author: Swift Ideas Author URI: www.swiftideas.net All files, unless otherwise stated, are released under the GNU General Public License version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html) ================================================== */ /* -------------------------------------------- CHILD THEME CSS -------------------------------------------- */
functions.php contains:
<?php /* * * Dante Functions - Child Theme * ------------------------------------------------ * These functions will override the parent theme * functions. We have provided some examples below. * * */ /* LOAD PARENT THEME STYLES ================================================== */ function dante_child_enqueue_styles() { wp_enqueue_style( 'dante-parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'dante_child_enqueue_styles' ); /* REORDER PRODUCT TABS ================================================== */ function woo_reorder_tabs( $tabs ) { $tabs['description']['priority'] = 25; return $tabs; } add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 ); /* REMOVE PAGE BUILDER ASSETS ================================================== */ /* * You can uncomment the line below to remove selected assets from the page builder */ // function spb_remove_assets( $pb_assets ) { // unset($pb_assets['parallax']); // return $pb_assets; // } // add_filter( 'spb_assets_filter', 'spb_remove_assets' ); // function sf_blog_aux($width) { // // $blog_aux_output = ""; // $options = get_option('sf_dante_options'); // $filter_wrap_bg = $options['filter_wrap_bg']; // $rss_feed_url = $options['rss_feed_url']; // // // $category_list = wp_list_categories('sort_column=name&title_li=&depth=1&number=10&echo=0&show_count=1'); // $archive_list = wp_get_archives('type=monthly&limit=12&echo=0'); // $tags_list = wp_tag_cloud('smallest=12&largest=12&unit=px&format=list&number=50&orderby=name&echo=0'); // $author_list = wp_list_authors('echo=0'); // // $blog_aux_output .= '<div class="blog-aux-wrap row">'; // open .blog-aux-wrap // $blog_aux_output .= '<ul class="blog-aux-options bar-styling '.$width.'">'; // open .blog-aux-options // // // CATEGORIES // $blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="categories"><i class="ss-index"></i>'.__("Categories", "swiftframework").'</a>'; // // // AUTHORS // $blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="authors"><i class="ss-user"></i>'.__("Authors", "swiftframework").'</a>'; // // // SEARCH FORM // $blog_aux_output .= '<li class="search"><form method="get" class="search-form" action="'. home_url().'/">'; // $blog_aux_output .= '<input type="text" placeholder="'. __("Search", "swiftframework") .'" name="s" />'; // $blog_aux_output .= '</form></li>'; // // // ARCHIVES // $blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="archives"><i class="ss-storagebox"></i>'.__("Archives", "swiftframework").'</a>'; // // // RSS LINK // if ($rss_feed_url != "") { // $blog_aux_output .= '<li><a href="'.$rss_feed_url.'" class="rss-link" target="_blank"><i class="fa-rss"></i>'.__("RSS", "swiftframework").'</a>'; // } // // $blog_aux_output .= '</ul>'; // close .blog-aux-options // $blog_aux_output .= '</div>'; // close .blog-aux-wrap // // $blog_aux_output .= '<div class="filter-wrap slideout-filter blog-filter-wrap row clearfix">'; // open .blog-filter-wrap // $blog_aux_output .= '<div class="filter-slide-wrap col-sm-12 alt-bg '.$filter_wrap_bg.'">'; // // if ($category_list != '') { // $blog_aux_output .= '<ul class="aux-list aux-categories row clearfix">'.$category_list.'</ul>'; // } // if ($author_list != '') { // $blog_aux_output .= '<ul class="aux-list aux-authors row clearfix">'.$author_list.'</ul>'; // } // // if ($archive_list != '') { // $blog_aux_output .= '<ul class="aux-list aux-archives row clearfix">'.$archive_list.'</ul>'; // } // // $blog_aux_output .='</div></div>'; // close .blog-filter-wrap // // // /* AUX BUTTONS OUTPUT // ================================================== */ // return $blog_aux_output; // // } ?>
I’v enabled debugging to rule out PHP errors but thats showing up all clear…
Hi Rui,
Thanks for sharing that with me. I’ve downloaded the file and placed it in my
wp-content/themes
directory. I then go into my wordpress site and enable the Child theme. I see no features from Dante Parent theme and when I visit the homepage I still see a blank white screen. There is no PHP errors as I’veWP_DEBUG, true
in mywp-config.php
File.Does it matter that I am attempting to use this child theme on a WordPress Multisite? I’m very confused.
I was provided a dropbox link from Kyle to download version 3.16 and the downloaded file only had the parent theme and no child. Could you provide me with this?
Thanks
Version 3.15 is most recent yes?
This reply has been marked as private.October 12, 2015 at 5:11 pm in reply to: Customizing the Full Responsive Video Shortcode CSS #220199Hi Rui,
managed to get the CSS to customize the button however I’d still like to be able to use the font awesome play icon rather than the gizmo icon. Any way I can specify this for a Full Screen Video Button?
Hi Rui,
Can’t provide a link, the page isn’t live! however If you do following you should be able to replicate
– Create page
– Go to SPB and add a Row element.
– Add a Custom HTML element within this Row
– Give the Row a custom class
– Apply CSSThat is effectively what I am doing and no joy…
Hi Rui,
Your solution does not work. I assigned my row a class and applied the following CSS:
.spb_content_element.col-sm-12.my-hero-bar { -webkit-box-shadow: 0px 10px 12px -3px rgba(0,0,0,0.75); -moz-box-shadow: 0px 10px 12px -3px rgba(0,0,0,0.75); box-shadow: 0px 10px 12px -3px rgba(0,0,0,0.75); /* border-bottom: 5px solid black; */ }
When I do this I can see a black border:
.spb_content_element.col-sm-12.my-hero-bar { border:5px solid black; }
So I know that I am successfully targeting the row. As I mentioned before my inner row seems to be contained within another row called
fw-row
. However I cannot seem to apply a class to this as it’s generated from outside of the SFB…Brilliant. Thanks Kyle.
Hey Rui,
Thanks for the quick response, that’s not doing anything for me? I’ve just tried it there…
how do you go to the visual editor first Rui?
-