Any template to share?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Pierre M.

Re: Any template to share?

Post by Pierre M. »

User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Any template to share?

Post by Nullig »

Have a look at this:

http://cmsmadesimple.org/uploads/media/ ... colate.htm

Shows you how to convert any template from http://www.oswd.org/ to CMSMS.

Nullig
Last edited by Nullig on Tue Mar 18, 2008 5:34 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Any template to share?

Post by Nullig »

Did you look at the wireframe3col.xml template in the theme framework site?

http://themes.cmsmadesimple.org/Theme_Frameworks.html

Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Any template to share?

Post by Nullig »

You could try editing the template and change the content area to:

Code: Select all

      {* Start Content Area *}
      <div id="main">
         <div style="float: right;">{print showbutton=true script=true}</div>

         <h2>{title}</h2>

	 <div id="main-left">

         {content block=left} <br />

	 </div>

	 <div id="main-right">

         {content block=right} <br />

	 </div>

         {* Start relational links *}
	 <div class="hr"></div>
	 <div class="right49">
	 	<p>{anchor anchor='main' text='^ Top'}</p>
	 </div>
         <div class="left49">
            <p>{cms_selflink dir="previous" label="Previous page: "} <br />
            {cms_selflink dir="next"}</p>
         </div>

	 {* End relational links *}

      <hr class="accessibility" />
      </div>
      {* End Content Area *}
and add this to your stylesheet:

Code: Select all

#main-left {
   width: 48%;
   float: left;
   height: 1%;
   margin-left: 10px;
   padding: 0;
   }

#main-right {
   width: 48%;
   float:right;
   height: 1%;
   margin-right: 10px;
   padding: 0;
   }
Of course, you would have to change it to fit your site.

Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Any template to share?

Post by Nullig »

Do you have a link to your site, so we can see what's happening?

Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Any template to share?

Post by Nullig »

I see the two content blocks on that page, they're just empty.

Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Any template to share?

Post by Nullig »

Sent you a PM.

Nullig
Locked

Return to “Layout and Design (CSS & HTML)”