Remove CSS from Head
2 posts
• Page 1 of 1
Remove CSS from Head
How do i remove the CSS insert that is put in the HEAD of my document and instead copy those styles to my template stylesheet?
Thanks
Lee
Thanks
Lee
- ltempest
- Fresh Boarder

- Posts: 2
- Joined: Mon Nov 30, 2009 4:56 pm
Re: Remove CSS from Head
OK found a solution, but don't forget to copy the css from the source of your page first and paste this into your template css file.
Once you have done this open mod_filterednews.php and find these two lines of code at the bottom of the file:
Comment out the bottom line as so:
This will now remove the css from the head of your document.
Hope it helps.
Lee
Once you have done this open mod_filterednews.php and find these two lines of code at the bottom of the file:
- Code: Select all
$doc =& JFactory::getDocument();
$doc->addStyleDeclaration($css);
Comment out the bottom line as so:
- Code: Select all
$doc =& JFactory::getDocument();
// $doc->addStyleDeclaration($css);
This will now remove the css from the head of your document.
Hope it helps.
Lee
- ltempest
- Fresh Boarder

- Posts: 2
- Joined: Mon Nov 30, 2009 4:56 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Links
- SEO Links
- Submit Website
- General Web
- Hotwire Directory
- Mozilla Ranks
- Link Fanatic
- General Web Directory
- Human Edited Directory
- PUOICM News
- ACLS Certification
- ppi claims advice company
- ppi claims
- Payday Loans
- daily deals
- bad credit loans
- mobile ad networks
- eliquid
- Ultra Directory
- Positive Finance
- Payday Loans Online
- Pataweb
- Post Articles
- Online Shopping
- Your safe way to better health
- fine jewelry
- Western Sky