# Jekyll themes - condition

**URL:** <https://talk.jekyllrb.com/t/jekyll-themes-condition/5553>\
**Category:** Help\
**Created:** [January 26, 2021, 7:30am UTC](https://talk.jekyllrb.com/t/jekyll-themes-condition/5553 "2021-01-26T07:30:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![psykrn](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@psykrn](https://talk.jekyllrb.com/u/psykrn)\
**Post date:** [January 26, 2021, 7:30am UTC](https://talk.jekyllrb.com/t/jekyll-themes-condition/5553/1 "2021-01-26T07:30:50Z")

</div>

Hello there,  
I’m new to Jekyll and have a question. How do I integrate multiple themes so that parts of the website look different depending on a condition setting

---

<div class="post-metadata">

**Author:** ![michaelbach](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelbach/32/2151_2.png) [@michaelbach](https://talk.jekyllrb.com/u/michaelbach)\
**Post date:** [January 26, 2021, 8:49am UTC](https://talk.jekyllrb.com/t/jekyll-themes-condition/5553/2 "2021-01-26T08:49:58Z")

</div>

Welcome to Jekyll. I was in a similar situation. [I started with several hundred html pages that were in DreamWeaver.] It took me quite a while, and I ended up using no theme at all. Rather adding all I needed from “minima” to my Jekyll setup at various places, and for the different “themes” I use different layout files (which, in turn, use different CSS files amongst other differences).  
In fact, to learn Jekyll, I would find it helpful to start w/o any theme. I’m probably slow, but it took me several months to come even close to what I wanted.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [January 26, 2021, 4:41pm UTC](https://talk.jekyllrb.com/t/jekyll-themes-condition/5553/3 "2021-01-26T16:41:05Z")

</div>

Agree. Look at the step by step guide on how to add html to a site with no theme

> **[Setup](https://jekyllrb.com/docs/step-by-step/01-setup/)**
>
> Welcome to Jekyll’s step-by-step tutorial. This tutorial takes you from having some front-end web development experience to building your first Jekyll site from scratch without relying on the default gem-based theme.

And start another project using

```auto
jekyll new my-site

```

If you have Jekyll in your current project, you can use that make another project

```auto
bundle exec jekyll new ../my-site

```

You will end up with a site that uses minima theme

> **[MichaelCurrin/jekyll-blog-demo](https://github.com/MichaelCurrin/jekyll-blog-demo)**
>
> Base for a static website blog - built with Jekyll and the default theme

Jekyll doesn’t let you mix themes but you can override HTML in your project or add CSS.

For example you could setup a page layout and a post layout, where the one uses

```auto
<div class="purple">
{{ content }}
</div>

```

And the other uses say `class="blue"`.

Or maybe you change what logo or navbar appears based on the page path or some collection. Using layout is the more natural path but you can use if statements too in a layout or includes file.

And you just need one CSS file for your whole site and you opt in to styles based on your class or whatever.  
The theme comes with it’s own CSS but you can add your own CSS without replacing the base.

If a section of your site is vastly different in content or styling from the rest of the site, ask yourself if you actually do indeed want to split it into two sites. They can even use minima as their theme and then you can override say primary CSS color and use of font in each project.
