留言板

how to add css in previously created web content

thumbnail
Ashwin Khandelwal,修改在12 年前。

how to add css in previously created web content

Junior Member 帖子: 42 加入日期: 11-10-14 最近的帖子
HI,

I need to css to previosly created web content so that i can modify it..



thnks!!1
thumbnail
Samir Gami,修改在12 年前。

RE: how to add css in previously created web content

Regular Member 帖子: 162 加入日期: 11-2-4 最近的帖子
Can you be more specific, For what purpose you need that ??
thumbnail
Ashwin Khandelwal,修改在12 年前。

RE: how to add css in previously created web content

Junior Member 帖子: 42 加入日期: 11-10-14 最近的帖子
HI Samir,


I had some previously created pages in web content display i used default template. Now i need to add css for these web content so tht i can make changes on will without changing each and every web content. In short want to create GLOBAL CSS for all web content

Thnks!!!1
thumbnail
srikanth a,修改在12 年前。

RE: how to add css in previously created web content

Regular Member 帖子: 144 加入日期: 11-2-21 最近的帖子
Hi,
Is it only specific to your webcontent. if so please create the css classes specific to your webcontent. Put it in the global css defination box.
managepages->lookandfeel->css

correct me if i got your requirement wrongly.


regards
Sri
thumbnail
Sagar A Vyas,修改在12 年前。

RE: how to add css in previously created web content

Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子
Ashwin Khandelwal:
HI Samir,


I had some previously created pages in web content display i used default template. Now i need to add css for these web content so tht i can make changes on will without changing each and every web content. In short want to create GLOBAL CSS for all web content

Thnks!!!1


Hi Ashwin,

I had some previously created pages in web content display
- That means you have created your own webcontent.
i used default template.
- Means are you talking about template and structure or page ?

If Template and Structure then it make you very easy to use global css on page,If no then i recommend to use it emoticon

and in case if it is not possible to use Template and Structure, then you can directly use css class into web content, but make sure those css should be inside the your theme.

Thanks,
Sagar Vyas
thumbnail
Ashwin Khandelwal,修改在12 年前。

RE: how to add css in previously created web content

Junior Member 帖子: 42 加入日期: 11-10-14 最近的帖子
Hi Sagar,

Thnks for ur reply .

But my problem is i made lot of pages using webcontent and formatted them individually not if i introduce some template , this will mean i have to re create all pages again.Thts why i am looking for some way in which i can create one css and attach them to all the web content.


Thnks !!!1
thumbnail
Samir Gami,修改在12 年前。

RE: how to add css in previously created web content

Regular Member 帖子: 162 加入日期: 11-2-4 最近的帖子
Ashwin Khandelwal:
I had some previously created pages in web content display i used default template.


What is mean by "i used default template" , I didnt get this point emoticon

If your template have the class apply to the HTML tag, then it should be easy for you to apply Global CSS for all previously created web content....
thumbnail
Ashwin Khandelwal,修改在12 年前。

RE: how to add css in previously created web content

Junior Member 帖子: 42 加入日期: 11-10-14 最近的帖子
Hi Samir,


Previously i made lot of pages using web content and formatted them separately in their html. Now i wish to make one common CSS for all webcontent so tht i can make changes once and it get reflected in all.

thnks!!!