how to add css in previously created web contenthow to add css in previously created web contenthttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=115610812024-03-29T05:44:10Z2024-03-29T05:44:10ZRE: how to add css in previously created web contentAshwin Khandelwalhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116339712011-11-30T06:25:31Z2011-11-30T06:25:31ZHi Sagar,<br /><br />Thnks for ur reply .<br /><br />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.<br /><br /><br />Thnks !!!1Ashwin Khandelwal2011-11-30T06:25:31ZRE: how to add css in previously created web contentAshwin Khandelwalhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116339692011-11-30T06:22:23Z2011-11-30T06:22:23ZHi Samir,<br /><br /><br />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.<br /><br />thnks!!!Ashwin Khandelwal2011-11-30T06:22:23ZRE: how to add css in previously created web contentSamir Gamihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=115780842011-11-24T10:06:53Z2011-11-24T10:06:53Z<div class="quote-title">Ashwin Khandelwal:</div><blockquote>I had some previously created pages in web content display i used default template.</blockquote><br /><br />What is mean by "i used default template" , I didnt get this point <img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" ><br /><br />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....Samir Gami2011-11-24T10:06:53ZRE: how to add css in previously created web contentSagar A Vyashttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=115758762011-11-24T07:14:52Z2011-11-24T07:14:52Z<div class="quote-title">Ashwin Khandelwal:</div><blockquote>HI Samir,<br /><br /><br />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<strong> GLOBAL CSS</strong> for all web content<br /><br />Thnks!!!1</blockquote><br /><br />Hi Ashwin,<br /><br /><blockquote>I had some previously created pages in web content display</blockquote> - That means you have created your own webcontent.<br /><blockquote> i used default template.</blockquote> - Means are you talking about template and structure or page ?<br /><br />If Template and Structure then it make you very easy to use global css on page,If no then i recommend to use it <img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" > <br /><br />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.<br /><br />Thanks,<br />Sagar VyasSagar A Vyas2011-11-24T07:14:52ZRE: how to add css in previously created web contentsrikanth ahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=115765242011-11-24T06:49:27Z2011-11-24T06:49:27ZHi,<br /> 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.<br /><strong>managepages->lookandfeel->css</strong><br /><br />correct me if i got your requirement wrongly.<br /><br /><br />regards<br />Srisrikanth a2011-11-24T06:49:27ZRE: how to add css in previously created web contentAshwin Khandelwalhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=115752142011-11-24T05:07:07Z2011-11-24T05:07:07ZHI Samir,<br /><br /><br />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<strong> GLOBAL CSS</strong> for all web content<br /><br />Thnks!!!1Ashwin Khandelwal2011-11-24T05:07:07ZRE: how to add css in previously created web contentSamir Gamihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=115621652011-11-23T05:49:51Z2011-11-23T05:49:51ZCan you be more specific, For what purpose you need that ??Samir Gami2011-11-23T05:49:51Zhow to add css in previously created web content