• Hello,

    Few months ago I had created a html/css website for a client. The website has parallax scrolling and has a very unique design. Now the client wants to convert the website into WordPress which I can do but the problem is the client wants a new Blog page and wants to use a theme from ThemeForest for just the blog page, so can someone please let me know if it’s possible to create a custom Parent Theme for rest of the pages and use a completely different Child Theme for a single page without causing conflict.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • If I understand correctly you want a different design for the WP Pages than for the WP Posts

    Create a child theme to ThemeForest theme then copy the page template file(s) from your new (alternative) theme into the child theme folder. Don’t add any styles to the child theme CSS file. Instead create a new stylesheet with the design for the pages and link to it in the page templates instead of the theme stylesheet.

    It will then grab the index, category, and post templates and CSS of the ThemeForest template and grab the page template(s) and it’s CSS from the child theme.

    Should work like that at least.

    Do note that if you want the search page to be styled like the WP Pages that you will have to add it to the child them and add styles to your custom stylesheet for that too.

    Thread Starter RJ_Dev

    (@rj_dev)

    Thanks jberghem for explaining it in such detail. I’m not familiar with child themes but will definitely give it a try. The work will be done probably within a week, so please do follow up on this if I have any more queries.

    Child themes are quite simple to create. All you need to do is make a new folder with a CSS file in it that contains special header lines at the top of the document.

    It’s all described here:
    http://codex.wordpress.org/Child_Themes

    I’ll keep my eye open

    Thread Starter RJ_Dev

    (@rj_dev)

    Thanks, I appreciate your help. Will update soon.

    Thread Starter RJ_Dev

    (@rj_dev)

    Hi John, please help me with a small doubt, here is the setup:-

    – The WordPress Theme from ThemeForest which the client needs for the Blog page is the Parent Theme.
    – The Custom Design which is in HTML and which I’m converting to WordPress is the Child Theme and following is the style.css template code.

    /*
    Theme Name: TAA Theme
    
    Template: blogist
    */

    – In the Child Theme’s style.css file I’ve added the custom style properties but the problem is some of the styles from the parent theme seems to interfere with my custom styles.

    So kindly let me know how to block the Parent Theme styles.

    Regards,
    Raj

    Thread Starter RJ_Dev

    (@rj_dev)

    Hi John,

    This is the final stage of the website where I would really appreciate some help. The BLOG page uses the Parent Theme whereas rest of the pages use the Child Theme, in the Child Theme I’ve created a functions.php file where I’m enqueuing custom stylesheets, scripts, etc. The problem is the parent theme styles aren’t taking effect in the blog page unless I enqueue them in the Child Theme’s functions.php file. Do you have any idea why this is happening?

    This is the blog page link:-

    TAA

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Combining 2 different Themes in a website’ is closed to new replies.