Replace main stylesheet

Community Forums Forums Design Tips and Tricks Replace main stylesheet

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Susan 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #91045


    Hi there.

    I’m having trouble replacing my stylesheet for a page I’ve created called “blog” (where the page “blog” will be where the posts will live.)

    Here’s my code, however, it’s not catching.

    On a different page that is NOT the posts page, this code works.

    Any thoughts?

    if ( is_page_template('newstemplate.php') ){
    remove_action('genesis_meta', 'genesis_load_stylesheet');
       /** Load Custom CSS File */
    add_action( 'wp_enqueue_scripts', 'maj_load_custom_css' );
    function maj_load_custom_css() {
        	CHILD_URL . '/newstemplate.css', 


    As you posted this a while ago, I hope you got your issue resolved. If not, please let me know, and I will take a look (or escalate if I cannot help).

    If it is resolved, please mark it resolved, so that the thread can be closed.


    Susan @ One Happy Studio I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.