Page 1 of 1

Template - cmsimple.pw - Blocks

Posted: Sat Feb 08, 2014 3:42 am
by mikey
[ external image ]

Demo

Download Page

blank image pack included if your not a fan of pins and post-it notes ;)

cheers
mikey

Re: Template - cmsimple.pw - Blocks

Posted: Sun Feb 09, 2014 10:44 am
by mrleejohn
Ow, man.... nice. You make such a lot very beautifull templates! Keep up the good work!

Just thought someone should say this to you once in a while :!:

Re: Template - cmsimple.pw - Blocks

Posted: Sun Feb 09, 2014 10:50 am
by mikey
many thanks for your nice comments, always makes my day :)

Re: Template - cmsimple.pw - Blocks

Posted: Fri Feb 27, 2015 10:00 am
by kmsmei
Really fine!

But one question: How can I get a plain white background in the editor-windows?
The wooden background isn't really practical.

Greetings Frank

CMSimple_XH 1.6.3 Released: 2014-09-21
Hi_kcfinder 2.0.1
Tinymce for CMSimple_XH 1.6.3
Utf8 0.5.5

Re: Template - cmsimple.pw - Blocks

Posted: Fri Feb 27, 2015 12:01 pm
by cmb
kmsmei wrote:But one question: How can I get a plain white background in the editor-windows?
Set an ID for the body element in the template, and move the background property definition in the stylesheet to a rule for this ID. E.g. HTML

Code: Select all

<body id="body" bgcolor="#ffffff" onload=""><a name="top">
and CSS

Code: Select all

#body {background: url('images/blocks-bk.jpg') repeat 0 0 #ffffff;}

Re: Template - cmsimple.pw - Blocks

Posted: Sat Feb 28, 2015 3:58 pm
by kmsmei
Danke Christoph!
Gruß Frank

Re: Template - cmsimple.pw - Blocks

Posted: Thu Mar 05, 2015 9:39 am
by kmsmei
Sorry, it doesn't work.
The Editing-Area shows images/blocks-bk.jpg as Background instead of plain white. And i have no idea, what's wrong in css :(

Frank

Re: Template - cmsimple.pw - Blocks

Posted: Thu Mar 05, 2015 11:18 am
by cmb
kmsmei wrote:The Editing-Area shows images/blocks-bk.jpg as Background instead of plain white.
Did you remove the respective rules for body {background*} in the stylesheet?

Re: Template - cmsimple.pw - Blocks

Posted: Thu Mar 05, 2015 11:23 am
by lck
In template.htm
change Line 20

Code: Select all

<body bgcolor="#ffffff"<?php echo onload();?>><a name="top"></a>
to

Code: Select all

<body id="body" <?php echo onload();?>><a name="top"></a>
in stylesheet.css Line 11-15
delete

Code: Select all

body {
background: url('images/blocks-bk.jpg') repeat 0 0 #ffffff;
background-repeat:repeat;
background-position: top center;
}
and add

Code: Select all

body {
background-color: #fff;
}
#body {
background: url('images/blocks-bk.jpg') repeat 50% 0 #fff;
}
and also delete Line 1

Code: Select all

body{} 

Re: Template - cmsimple.pw - Blocks

Posted: Thu Mar 05, 2015 2:27 pm
by kmsmei
Yep, that's it!
Thanks