hello, how I can change the width of the template socialize only one url.
Currently the width of the template for all pages is defined in:
"... / templates / socialize / local / css / bootstrap.css" line 247
with the value ".container {width: 1170px;}"
what I want is for one specific url value is applied ".container {width: 100%;}"
Only for an url Specifically, this because the menu is generated a link shows a page inside a wrapper.
The page displayed within the wrapper requires the value ".container {width: 100%;}" to be displayed in an appropriate manner.
Hi Francisco,
You can this code inside socialize->custom code :
<script>
if(window.location.host=='yourdomain.php'){
$('.container').css('width','100% !important');
}
</script>
I already modified it, and put the the inside "Before </body>"
Hello Dimas, have entered the site and showing themselves in continuous width 1170px.
You carried out a test that you will see that the width 1170px be adjusted to a width of 100%.
I await your kind comments.
Thank you.
Hi,
Please let me know (with screenshoot) what do you want looks like?
I cant access your site anymore, so I cant check the code again.. please you makes it live again
thank you
please check again, should work fine now, this is the full of code :
<script type="text/javascript">
jQuery( document ).ready(function() {
if(window.location.href=='http://tecno-group.mx/campus-virtual.html'){
jQuery('#t3-mainbody').width('100%');
}
});
</script>