Page 1 of 1

How do I deal with inner CSS ?

Posted: Tue Apr 12, 2011 9:17 am
by rpz79
Hi,

I have task of creating CMSMS web page from static one.
I have the template ready in HTML format with CSS , JS and some pictures.

First I've created my home page in which I've replaced

Code: Select all

<link rel="stylesheet" href="../style/main.css" type="text/css" media="screen, projection" />
with

Code: Select all

{cms_stylesheet}
now the problem is that main.css imports 3 other CSS's

Code: Select all

@import url(reset.css);
@import url(fonts.css);
@import url(base.css);
How do I deal with this ?

Second thing since I don't need to add content to my pages (just need to paste it and replace the HTML with CMSMS tags) I can't put an empty content page. how do I do it ?

THNX ALOT
Roey

Re: How do I deal with inner CSS ?

Posted: Tue Apr 12, 2011 11:56 am
by M@rtijn
Hmm, seems you want to get rid of all the advantages of a CMS ???

Regarding the CSS files, why not make them into 1 file (main) and link that to your template.
Alternative, add all of the files into the Stylesheets manager and link all of them to your template.
Second alternative, if you never change those files, put them in the uploads folder, and hardcode the link (<link rel="stylesheet" href="uploads/style/reset.css" type="text/css" media="screen, projection" />)

Re: How do I deal with inner CSS ?

Posted: Tue Apr 12, 2011 2:32 pm
by rpz79
Well martin that is a "wet drill" so don't look for anything logic ;)
Anyway it seems that the inner CSS's doesn't affect so see that matter closed :)

From thing to thing here is another thing ^-^
Here is my site's url:http://c14.co.il/test1104/
As you can see I tried to copy & paste the HTML content that needs to be shown on the home page.
It needs to have the same style (CSS) as other pages.
How do I make CMSMS WYSIWYG page(content) editor to get(parse) the HTML code and bind it with template I've created ?
(all the other elements on this URL are my template)

Bonus question ;) how do you think I make the sites search engine (top-right) working based on google ?

THNX ALOT M8
O0

Re: How do I deal with inner CSS ?

Posted: Tue Apr 12, 2011 4:28 pm
by Dr.CSS
If you want to paste content into tiny/content then turn it off first else it will change things like < into < which will show on the page literally as it does now...

Second question was how to use google search for the site, you do know that this comes with it's own search?

Re: How do I deal with inner CSS ?

Posted: Tue Apr 12, 2011 5:04 pm
by rpz79
Dr.CSS wrote:If you want to paste content into tiny/content then turn it off first else it will change things like < into < which will show on the page literally as it does now...
Great ! that works well now ! Thanks !
Dr.CSS wrote:Second question was how to use google search for the site, you do know that this comes with it's own search?
OK Gottcha I'll come back with more concrete Q's if any.

THNX ALOT
O0