Oldnema's 'Jurassic' responsive template

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

Moderator: mikey

Nicky
Posts: 94
Joined: Sun Feb 08, 2009 9:50 am

Oldnema's 'Jurassic' responsive template

Postby 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: 1362
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: Oldnema's 'Jurassic' responsive template

Postby 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: 94
Joined: Sun Feb 08, 2009 9:50 am

Re: Oldnema's 'Jurassic' responsive template

Postby 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: 94
Joined: Sun Feb 08, 2009 9:50 am

Re: Oldnema's 'Jurassic' responsive template

Postby Nicky » Wed Jun 28, 2017 4:23 pm

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

cmb
Posts: 11717
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Oldnema's 'Jurassic' responsive template

Postby 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, but not for CMSimple 4+


Return to “Templates”

Who is online

Users browsing this forum: No registered users and 1 guest