Body Class

9 views
Skip to first unread message

Andi North

unread,
Jul 16, 2013, 3:07:18 PM7/16/13
to silk...@googlegroups.com
Would it be possible to prefix the body classes added by Silk with something like:

silk-template-{template-filename}
silk-view-{view-filename}

It would help reduce the number of CSS (and JS) selector issues. It also follows more closely with WordPress' implementation, which is what the Silk implementation was based on.

Panda

Barrie McGuire

unread,
Jul 16, 2013, 3:48:49 PM7/16/13
to silk...@googlegroups.com, silk...@googlegroups.com
Ugh Wordpress.  *shudder*

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Silk Web Toolkit User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silk-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

rossputin

unread,
Jul 16, 2013, 4:23:52 PM7/16/13
to silk...@googlegroups.com
Hi.

Yep, some kind of namespacing would make sense for template/page related classes, I'll go with your suggestion silk-*-.

I'll shout when the 0.2.3 is built.

Cheers.

rossputin

unread,
Jul 17, 2013, 2:40:09 PM7/17/13
to silk...@googlegroups.com
Hi.


There is an exe there for Windows... let me know how you get on.

Cheers.

On Tuesday, July 16, 2013 8:07:18 PM UTC+1, Andi North wrote:
Reply all
Reply to author
Forward
0 new messages