How to use Custom CSS Class feature

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
2/8/2012 9:29:31 AM
Gravatar
Total Posts 83
-- Joe

How to use Custom CSS Class feature

On my fairly new implementation of MojoPortal site (www.NHTheatreAwards.org) I am unable to use the "Custom CSS Class" feature as I get different errors. I am probably being dense - so I appreciate your patience.

When I paste body { font-size: 13px; } into the "Custom CSS Class" field of an HTML Content module (or Blog) as described at https://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=4&thread=7054&postid=29088

I receive the error: Invalid Custom CSS Class

When pasting the same into the Form Wizard Pro I get the error: Regex Warning

The same errors are received if I paste .bightml { font-size: 16px; } as described in the above link.

Can you please tell me what I am missing?

-- Joe

System Information:
mojoPortal Version 2.3.7.6   MSSQL 2008 R2
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Info v2.0.50727 Running in Full Trust

2/8/2012 9:43:21 AM
Gravatar
Total Posts 18439

Re: How to use Custom CSS Class feature

You are pasting raw css not a CSS class

A CSS class is just like a single word like myclass would be entered there.

Then in your actual CSS files for your skin you would put:

.myclass { font-size:13px; }

See also

Hope that helps,

Joe

2/8/2012 9:59:20 AM
Gravatar
Total Posts 83
-- Joe

Re: How to use Custom CSS Class feature

Good lord... I miss the simple stuff sometimes.  Thanks for the quick response!

You must sign in to post in the forums. This thread is closed to new posts.