solved CSS Question

Ceri
Ceri
@adolygwr
9 years ago
370 posts
How can I prevent css tags from being stripped from blog posts? In particular I use the handful of styling tags on this page:-

http://api.ning.com/files/Z3BWMoplk5SUDUzKl3hw1KXwbT-Do0UUqUIg0zBeIeOZaP1PGVNmOrzr6NWkK7lgIwIT7PyC-5NVAWCh5R5j4DvLRZb23Y1r/cssac.txt

in many of the blog posts I am manually copying and pasting from my old Ning AmeriCymru site to the new Jamroom site. I would like to preserve the layout and styling.

The editor on Jamroom blogs strips the hr style tag, border-radius and others. These style tags work ok in Template Code Widgets made with Site Builder but NOT via the html editor. How can I get around this?


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 02/18/16 06:23:23AM
derrickhand300
@derrickhand300
9 years ago
1,353 posts
Have you tried going to ACP>SYSTEM CORE.ADMIN>QUOTA
Select "ADMIN" in the drop down then check "allow all html tags" and save?
michael
@michael
9 years ago
7,715 posts
"Admin" must be the name of the quota that @derrickhand300 uses, you choose whatever quota you are using where you want to allow all the tags.

ACP -> MODULES -> SYSTEM CORE -> QUOTA CONFIG -> "Select Quota" -> "Allow all HTML tags"

What is happening is the purifier that tries to stop your users putting malicious script into your site is filtering out all the css that starts with a -.
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Got it.....many thanks :)


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 11/19/15 11:37:51AM