Reply To: How to make a 3 column portfolio template?

Homepage Community Forums Optimal Theme Support How to make a 3 column portfolio template? Reply To: How to make a 3 column portfolio template?

#3311
Corl DeLuna
Customer

    Hi Wes,

    I wanted you to know that I figured out the part of the problem involving separating the parent and child style.css files.

    Towards the top of the function.php I added:

    /** Add a custom.css file to the child theme folder */
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_custom_stylesheet’ );
    function enqueue_custom_stylesheet() {
    wp_register_style( ‘custom-css’, get_stylesheet_directory_uri() . ‘/style_custom.css’ );
    wp_enqueue_style( ‘custom-css’ );
    }

    I simply created style_custom.css in the child folder for all my css modifications. The style_custom.css file will be pulled in after the style.css file so my custom CSS code will overwrite any default CSS code. Will do the same to add a print.css file later.

    I look forward to hearing from you on the main question of how to add the corresponding HTML for any new .portfolio-3 div classes to a new page_portfolio_3_col.php.

    Have a great weekend man,

    Corl