Fórum

how to add css in previously created web content

thumbnail
Ashwin Khandelwal, modificado 12 Anos atrás.

how to add css in previously created web content

Junior Member Postagens: 42 Data de Entrada: 14/10/11 Postagens Recentes
HI,

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



thnks!!1
thumbnail
Samir Gami, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Regular Member Postagens: 162 Data de Entrada: 04/02/11 Postagens Recentes
Can you be more specific, For what purpose you need that ??
thumbnail
Ashwin Khandelwal, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Junior Member Postagens: 42 Data de Entrada: 14/10/11 Postagens Recentes
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, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Regular Member Postagens: 144 Data de Entrada: 21/02/11 Postagens Recentes
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, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Liferay Master Postagens: 679 Data de Entrada: 17/04/09 Postagens Recentes
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, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Junior Member Postagens: 42 Data de Entrada: 14/10/11 Postagens Recentes
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, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Regular Member Postagens: 162 Data de Entrada: 04/02/11 Postagens Recentes
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, modificado 12 Anos atrás.

RE: how to add css in previously created web content

Junior Member Postagens: 42 Data de Entrada: 14/10/11 Postagens Recentes
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!!!