Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Sidebar2 width

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi everybody,

Somebody could tell me how can I change the sidebar2 width (I'm using fullwidht layout) in moments template. My module in sidebar2 position is currently too large.

Regards.
  • crashtest's Avatar
  • crashtest
  • 12 Month basic
  • 15 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi

Do you have a link for the site so I make sure I'm telling you right bit of the mainbody.php to change

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Here is the website.

It's always the same width for every kind of module.

thanks
  • crashtest's Avatar
  • crashtest
  • 12 Month basic
  • 15 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi

Can you open up the mainbody.php file

\templates\moments\tpls\blocks

and in this section

<?php

// Layout configuration
$layout_config = json_decode ('{
"two_sidebars": {
"default" : [ "span6 offset3" , "span3 offset-9" , "span3" ],
"wide" : [],
"xtablet" : [],
"tablet" : [ "span12" , "span6 spanfirst" , "span6" ]
},
"one_sidebar1": {
"default" : [ "span9 pull-right" , "span3" ],
"wide" : [],
"xtablet" : [ "span9 pull-right" , "span3" ],
"tablet" : [ "span12" , "span12 spanfirst" ]
},
"one_sidebar2": {
"default" : [ "span8" , "span4" ],
"wide" : [],
"xtablet" : [ "span8" , "span4" ],
"tablet" : [ "span12" , "span12 spanfirst" ]
},
"no_sidebar": {
"default" : [ "span12" ]
}
}');

change the span8 to span9 and span4 to span3

You should take a copy of this file prior to any editing

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi,

Nice idea it works. Thanks.

Now I've got just another little problem. The kunena forum is not well integrated when I'm using my phone in vertcal position. Do you have any idea to resolve this.
  • crashtest's Avatar
  • crashtest
  • 12 Month basic
  • 15 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi

Looking at the css - majority is kunera css

to adjust this you would need to add a load of media queries overiding the default values they use

That said I'm not sure how good and / or how usable the finished result would be

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers