Page 1 of 1

Oldnema's 'Jurassic' responsive template

Posted: Wed Jun 28, 2017 3:37 pm
by Nicky
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.

Re: Oldnema's 'Jurassic' responsive template

Posted: Wed Jun 28, 2017 3:42 pm
by frase
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;
}

Re: Oldnema's 'Jurassic' responsive template

Posted: Wed Jun 28, 2017 3:58 pm
by Nicky
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:

Re: Oldnema's 'Jurassic' responsive template

Posted: Wed Jun 28, 2017 4:23 pm
by Nicky
Inserted your code on line 14 = ok now!
Thanks a lot.

Re: Oldnema's 'Jurassic' responsive template

Posted: Wed Jun 28, 2017 4:24 pm
by cmb
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.