Can I use "custom CSS" classes on HTML tags?
-
I am considering going further with our partnership and acquiring [although its annual renew doesn’t seem fair for me] the Custom Design. But I need flexibility and [at least a certain amount of] autonomy. For instance, given the following:
. sample1 { font-family:wingding; }
. sample2 { margin-left : 0 px; margin-top : 100 px; }<TAG class=”sample1 sample2”>[some content]<TAG>
My goal is to apply different formats on different page “sections”, mostly regarding to margins, paddings, indentation, justification, alignment etc. In my About page, for instance, I need to format my bullet-lists at different distances from the left margin (0, 20, 40 px/pt). And also to use different “types” of bullets. And that’s just as example: I’ll probably need to use other types of “customization”.
So, the bottom line is: what “amount” of flexibility the [CSS Editor of] “Custom Design” will allow me [notably in relation to the aforementioned settings]? And, by the way, what HTML tags are allowed, and what will be automatically “stripped” out from my page [div, span, font, …] ?
Thanks in advance, for your prompt reply,
Capparelli, Carlos EduardoThe blog I need help with is: (visible only to logged in users)
-
Yes of course, you can create whatever custom CSS classes you like in the CSS editor, and add such classes to HTML tags in the Text editor.
As for what HTML tags you can/cannot/shouldn’t use, see this guide of mine:
-
- The topic ‘Can I use "custom CSS" classes on HTML tags?’ is closed to new replies.