Page 1 of 1

Content blocks

Posted: Wed Mar 21, 2007 12:16 pm
by seafurymike
Hi,

I am using the default Panoramica template(an love it) and have found that when I add something in the second and third blocks, it doesn't inherit the offset which is in the first block.

I am not sure how to fix this. I have read a thread on this (which I think is my problem)
http://forum.cmsmadesimple.org/index.ph ... l#msg53647

but I still can't get it. What I have noticed is that if i change the code from this:




{content block='contenttitle' oneline='true'}
{content}

   
    {content block='block1title' oneline='true'}
** {content block='block1'}
   
   
    {content block='block2title' oneline='true'}
**  {content block='block2'}
   


----------

to this:




{content block='contenttitle' oneline='true'}
{content}

   
    {content block='block1title' oneline='true'}
  ** {content}
   
   
    {content block='block2title' oneline='true'}
**  {content}
--------------

then the content changes(but of course it is the exact same as the first block), so I am assuming it is related to the stylesheet pixelhaus "content" section, but I am buggered if I can work out what I need to change or add.

Any help appreciated
Michael

Re: Content blocks

Posted: Thu Mar 22, 2007 12:56 am
by seafurymike
Given there is no response I must of made this question complex.

To summarise:
I see that when I look at content block 1, there is no inner container, in the container, as there is with "content".

Is this broken by the divider??
Is there a way to insert the inner container in to the other content blocks also?

/Michael

Re: Content blocks

Posted: Thu Mar 22, 2007 1:16 am
by seafurymike
Okay worked it out.Ref for others in the furture.


For some reason the bit was not inserted at the start and end in the first and second blocks.
I added these to the source code and no problem.

/M