Content Style Template now working

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.
3/28/2012 11:10:16 PM
Gravatar
Total Posts 5

Content Style Template not working

Hi,

It is most likely that I am doing someting stupidly wrong, but after several hours of trying differnt approaches it is time to ask.

The files I am working in are located in:
   mojoPortalRoot\Data\Sites\1\skins\mySkin

In the file style.css I add a simple class like this:

  p.large
  {
    font-size: 25px;
  }

Then within my site I go to:

  Administration>Content Style Templates>Add New Style

In the Name field I enter:   Paragraph Large
In the Element field I enter:   p
In the CSS Class field I enter:   p.large    (I have also tried large without the "p.")
Then I make sure that "Is Active" is CHECKED.

Now I go to my blog page and add a new post.  I put in some text, highlight it, then using the Style pulldown select the "Paragraph Large" item but then nothing happens to the font size.  If I switch to the source view the correct code is there, e.g.

<p class="p.large">some junk text</p>

What did I do wrong?

Thanks in advance!

Nick.

 

3/29/2012 6:53:25 AM
Gravatar
Total Posts 18439

Re: Content Style Template now working

Hi,

In the CSS Class field I enter: p.large

That is wrong just put large

<p class="p.large">some junk text</p>

that is wrong for p.large {} in your CSS it should be:

<p class="large">some junk text</p>

p.large means all paragraphs that have the class large

Hope that helps,

Joe

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