Jump to content

How to set width for center column frontpage and page ?


Recommended Posts

Hi guys,

 

I am looking to set different width for my center column 

 

width for frontpage = 90% or 100%

 

 

width for page with 1 right or left column  = 60 - 70%.

 

I managed so far to disable right side bar or left side page for homepage :-) via vekia help .

 

thx for help

 

 

 

Link to comment
Share on other sites

Thanks paul,

 

I tried this but not completely .

 

By défaut I have do div to the original header.tpl or footer.tpl. 

 

I use a old themes from version 1.4.8.3 

 

I did it without add the class and I manage to have the rightside bar disappear . 

 

I think I remember to add the class but I probably need to add them on my CSS file :-) Will make some try and come back for feedback

Link to comment
Share on other sites

Thanks paul,

 

I tried this but not completely .

 

By défaut I have do div to the original header.tpl or footer.tpl. 

 

I use a old themes from version 1.4.8.3 

 

I did it without add the class and I manage to have the rightside bar disappear . 

 

I think I remember to add the class but I probably need to add them on my CSS file :-) Will make some try and come back for feedback

 

Ok , It know that I will have a problem if I add some div tag and class. What the function to attached css to this tpl file ? 

 

I am not familliar with function if and I will be to learn more but I see that it's full of them .

 

I check the header from version 1.5.6 and it's different from mine . 

 

I saw this code that I presume it's the css attachment what I have to add if my css is global.css ?

 

 

{if isset($css_files)}
{foreach from=$css_files key=css_uri item=media}
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
{/foreach}
{/if}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...