Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Hi again,
this fixed the issue for me:
http://stackoverflow.com/questions/15028602/font-awesome-icons-are-not-working-in-some-browsers
Thanks, this worked!
wp_register_style(‘main-css’, get_stylesheet_directory_uri() . ‘/style.css’, array(), ‘1.0’, ‘screen’);
It looks like you’d also need to rework the order the stylesheets are loaded in (parent style.css, custom-styles.css, child style.css) so I’m sticking with just using the custom css box on the pinpoint general options page.Hi, thanks again for the quick reply and I appreciate your support.
I already have a child theme set up. The original problem was that the child’s style.css file isn’t loaded or is ignored. Changes to the child’s header.php do work so it’s just the stylesheet that is the problem.
As a workaround I will continue to put custom styles in the custom css box on the pinpoint general options page.
Hi, thanks again for the quick response.
I got around the path problem but now error is that it cannot re-declare classes. Child theme sets something via child functions.php then parent function.php tries to re-write it and fails …
“Cannot redeclare sf_enqueue_styles() (previously declared in child …. in parent …
Can you confirm the original instructions:
1. From the original theme, copy these files&folders to your child theme:
– functions.php
– /includes/options/
– /includes/sf-options.phpUpdate:
Changing the code to
require_once($_SERVER[‘DOCUMENT_ROOT’] . ‘/wordpress/wp-content/themes/pinpoint-child/includes/sf-options.php’);
gave this error:
Fatal error: Cannot redeclare sf_enqueue_styles() (previously declared in /home/content/59/9840059/html/wordpress/wp-content/themes/pinpoint-child/functions.php:114) in /home/content/59/9840059/html/wordpress/wp-content/themes/pinpoint/functions.php on line 128
Thank you for the quick response. Is there another way to include the file? The code
require_once(get_stylesheet_directory_uri().’/includes/sf-options.php’);
resulted in an error and I can’t change allow_url_include on the shared server. Here’s the error:Warning: require_once() [function.require-once]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/content/59/9840059/html/wordpress/wp-content/themes/pinpoint-child/functions.php on line 64
Warning: require_once(http://mysite.org/wordpress/wp-content/themes/pinpoint-child/includes/sf-options.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/content/59/9840059/html/wordpress/wp-content/themes/pinpoint-child/functions.php on line 64
Fatal error: require_once() [function.require]: Failed opening required ‘http://mysiteorg/wordpress/wp-content/themes/pinpoint-child/includes/sf-options.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/59/9840059/html/wordpress/wp-content/themes/pinpoint-child/functions.php on line 64
-
Posted in: We hit Power Elite.