Hello,
When I change span sizes in file "templates/socialize/tpls/blocks/mainbody-js.php”, my template is no longer
responsive on mobile phones, tested on iPhone 4s.
Is there a way to change the side bars and main body width without affecting template for mobile devices and without too much space between sidebar 2 and mainbody?
Joomla 22.5.22
Socialize 1.2.8
Changed lines in mainbody-js.php:
Default:
// Layout configuration
$layout_config = json_decode ('{
"two_sidebars": {
"default" : [ "span7 offset2" , "span2 offset-9" , "span3" ],
"wide" : [],
"xtablet" : [ "span12" , "span6 spanfirst" , "span6" ],
"tablet" : [ "span12" , "span6 spanfirst" , "span6" ]
},
"one_sidebar1": {
"default" : [ "span9 pull-right" , "span3" ],
"wide" : [],
"xtablet" : [ "span12" , "span6 spanfirst" , "span6" ],
"tablet" : [ "span12" , "span12 spanfirst" ]
},
"one_sidebar2": {
"default" : [ "span9" , "span3" ],
"wide" : [],
"xtablet" : [ "span12" , "span6 spanfirst" , "span6" ],
"tablet" : [ "span12" , "span12 spanfirst" ]
},
"no_sidebar": {
"default" : [ "span12" ]
}
}');
// Layout configuration
$layout_config = json_decode ('{
"two_sidebars": {
"default" : [ "span7 offset2" , "span2 offset-9" , "span3" ],
"wide" : [],
"xtablet" : [ "span12" , "span6 spanfirst" , "span6" ],
"tablet" : [ "span12" , "span6 spanfirst" , "span6" ]
},
"one_sidebar1": {
"default" : [ "span10 pull-right" , "span2 pull-right" ],
"wide" : [],
"xtablet" : [ "span12" , "span6 spanfirst" , "span6" ],
"tablet" : [ "span12" , "span12 spanfirst" ]
},
"one_sidebar2": {
"default" : [ "span10" , "span2" ],
"wide" : [],
"xtablet" : [ "span12" , "span6 spanfirst" , "span6" ],
"tablet" : [ "span12" , "span12 spanfirst" ]
},
"no_sidebar": {
"default" : [ "span10" ]
}
}');
Hi, Ivan.
I assign template developer to this thread.
Hi Ivan,
Sorry for the delay.
I am seeing you have already customize our existing socialize template and is not acting as responsive.
Please send us ftp info (for checking necessary things ) by editing your first post of this topic.
Thanks
Hi Ivan,
I am now successfully login through ftp and
I have renamed existing socialize template as socialie_ and
upload fresh latest release (1.2.8) and seeing it is responsive.
I would suggest you to replace your styling as I have seen you changed some.
note: if you want to get old one back then just rename existing "socialzie" to "socialize__" and change back "socialize_" to "socialize"
at "root/templates".
Thanks
Hi Ivan,
Sorry for typing mistake.
I have edited my previous post.
I was wondering to say "now" but unfortunately typed "not".
btw, as I said that
I have renamed existing socialize template as socialie_ and
upload fresh latest release (1.2.8) and seeing it is responsive.
I would suggest you to replace your styling as I have seen you changed some.
note: if you want to get old one back then just rename existing "socialzie" to "socialize__" and change back "socialize_" to "socialize"
at "root/templates".