- This topic has 7 replies, 2 voices, and was last updated 7 years, 8 months ago by
eunjinyun.
novapress pro child
-
hello.
i am trying to make a child theme of navapress-pro.
1. /i made a folder in “/wp-content/themes/novapress-pro-child/”
2. i made two files “functions.php” and “style.css”when i visted on my site. it seems to be not working with .css.
the design was broken.
what do i had missied?? please give some advice to use child themes.
thanks.style.css as following
/*
Theme Name: Novapress-pro-child
template: novapress-pro
Author: eunjinyun
*/functions.php as following
<?php
function my_theme_enqueue_styles() {$parent_style = ‘novapress-pro-style’; // This is ‘twentyfifteen-style’ for the Twenty Fifteen theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
?>Hello,
We have uploaded the Novapress Pro child theme here, http://support.themely.com/knowledgebase/novapress-pro-child-theme/
If you have any issues, please let me know.
thanks for your answer.
i uploaded the novapress-pro-child theme.
but the home page is still broken. seems to be not working with style.css.Can you provide me with admin access to your website so I can have a look?
yes. here is my account.
http://wooripost.com/wp-admin
admin / admin1234!!there is one more issue that want to check.
i am trying to move from AWS to dedicated server.
so, i am using S3 CND for images include thumbnail. so those images are not saved in the local folder.
when you see http://wooripost.com you can see there are no thumnail at all.
can i setting the thumnail from cdn which is domain is “http://img.postshare.co.kr”.of course db has a thumnail url.. like below..
SELECT * FROM wp_postmeta WHERE meta_key=’_amt_image_url’ limit 10
188931 45936 _amt_image_url http://img.postshare.co.kr/images/2015/09/15160604/GettyImagesBank_464479420_M.jpg
188959 45380 _amt_image_url http://img.postshare.co.kr/images/2015/09/14121240/2C1CD47B00000578-3228566-Bertie_sped_into_history_in_Durham_beating_a_37_year_old_record_-a-82_1441841327665.jpgHi @eunjinyun
Please replace the following code in the style.css file of the child theme.
Replace
@import url("../novapress-pro/style.css");
With
@import url("../novapress-pro/css/theme.min.css");
@import url("../novapress-pro/css/multi-columns-row.css");
@import url("../novapress-pro/style.css");To do this go to Appearance > Editor and edit the style.css file.
thanks you for your help.
it works when i put like this.================================================================
@import url(“../novapress-pro/css/theme.min.css”);@import url(“../novapress-pro/css/multi-columns-row.css”);
@import url(“../novapress-pro/style.css”);
==================================================================
You must be logged in to reply to this topic.