Oldnema's 'Jurassic' responsive template

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

Post Reply
Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Oldnema's 'Jurassic' responsive template

Post by Nicky » Wed Jun 28, 2017 3:37 pm

I want to work out a website based on Oldnema's Jurassic template (http://oldnema.compsys.cz/demos/jurassic/). Looks fine, but would be even better if the website was centered instead of floating on the left side.

Is this possible without having to re-write the whole stylesheet?

Thanks in advance for any assistance.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: Oldnema's 'Jurassic' responsive template

Post by frase » Wed Jun 28, 2017 3:42 pm

Nicky wrote:but would be even better if the website was centered instead of floating on the left side
Change in template stylesheet.css -> 120:

Code: Select all

#wrapper {
    margin: auto;
}

Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Re: Oldnema's 'Jurassic' responsive template

Post by Nicky » Wed Jun 28, 2017 3:58 pm

Thanks for your fast reply! Unfortunately, after this change website still shows up on the left side. Probably some other setting hidden somewhere in the code... :roll:

Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Re: Oldnema's 'Jurassic' responsive template

Post by Nicky » Wed Jun 28, 2017 4:23 pm

Inserted your code on line 14 = ok now!
Thanks a lot.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Oldnema's 'Jurassic' responsive template

Post by cmb » Wed Jun 28, 2017 4:24 pm

Nicky wrote:Thanks for your fast reply! Unfortunately, after this change website still shows up on the left side. Probably some other setting hidden somewhere in the code... :roll:
There a media-queries which override the margin on #wrapper. Quick fix:

Code: Select all

#wrapper {
    margin: auto !important;
}
That might have undesired side-effects, though.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply