Content pushing/squeezing right column

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #17194 by bins
Have a look here:
www.nelsonevents.co.uk/ne2012/index.php?...cle&id=95&Itemid=448

I cannot see how to restrict.manage the with of the content area or right column!

Can any one help?

Please Log in to join the conversation.

More
12 years 11 months ago #17210 by ivan.milic
Open index.php of template .Find this line:
Code:
<link rel="stylesheet" href="<?php echo strrpos(JURI::current(),'?')? JURI::current().'&css_request=1' : JURI::current().'?css_request=1' ?>" type="text/css" />

change it to this:
Code:
<?php $u =& JFactory::getURI(); $css_url = $u->toString(); $css_url = strrpos($css_url,'?')? $css_url.'&css_request=1' : $css_url.'?css_request=1'; $css_url = $css_url.'&diff='.rand(); ?> <link rel="stylesheet" href="<?php echo $css_url; ?>" type="text/css" />
The following user(s) said Thank You: bins

Please Log in to join the conversation.

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #17211 by bins
Changed line 169 and all is now great!

Thanks.

Please Log in to join the conversation.

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #17213 by bins
BTW, is there a quick way (in CSS) to change the right column width?

Please Log in to join the conversation.

More
12 years 11 months ago #17226 by ivan.milic
In index.php of template notice this line:

$layoutdesign = $this->params->get("layoutdesign", "+row_style1+top1=7=0,top2=3=0,top3=2=0&+top_menu+logo=2=0,user3=10=0&+row_style2+advert1=7=0,advert2=5=0&+row_style2+left=2=0,joom_content=5=0,right=5=0&+hot_map+user1=12=0&+row_style2+bottom1=4=0,bottom2=4=0,bottom3=4=0&+row_style3+copyright=6=0,bottom12=6=0");

this is part representing that row:


&+row_style2+left=2=0,joom_content=5=0,right=5=0


this means that left has 2/12 , content has 5/12 and right has 5/12 of total width.

so if you would like to have Left-Content-Right as 2-8-2 it would be like this:

left=2=0,joom_content=8=0,right=2=0

Please Log in to join the conversation.

Time to create page: 0.158 seconds
Powered by Kunena Forum