How do I deal with inner CSS ?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
rpz79
New Member
New Member
Posts: 4
Joined: Tue Apr 12, 2011 9:04 am

How do I deal with inner CSS ?

Post 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
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: How do I deal with inner CSS ?

Post 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" />)
Make your community a better place!
rpz79
New Member
New Member
Posts: 4
Joined: Tue Apr 12, 2011 9:04 am

Re: How do I deal with inner CSS ?

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How do I deal with inner CSS ?

Post 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?
rpz79
New Member
New Member
Posts: 4
Joined: Tue Apr 12, 2011 9:04 am

Re: How do I deal with inner CSS ?

Post 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
Post Reply

Return to “The Lounge”