In this section you will find documentation about all of the theme settings in Adaptivetheme 6.x-2.x.
There are over 90 theme settings and you should try to familiarize yourself with all of them. New Adaptivetheme users often make the mistake of overlooking theme settings and spend time custom coding their own solution. You might be quite surprised at what you can do with this theme without touching a line of code.
Comments
Customizing Adaptive Subthemes
Can Adaptive Subthemes be customize (rearrange content areas) at the template level (i.e. page-front.tpl.php) and node level (page-node-nid.tpl.php)? What is the easy way to make this customization?
niceĀ one!!
nice one!!
How use settings[" "] in the .info file to change layout width.
Hi,
Thank you for providing a drupal newbie like me with such a powerful theme. I have problem trying to change the width of the starter theme from 960px to something else. I tried changing the css files but did not worked.
Using firebug I found out that the page output has the following line overriding any sort of layout width setting in the css files.:
#container{width:960px;}.two-sidebars .content-inner{margin-left:240px; margin-right:240px;}.sidebar-first .content-inner{margin-left:240px; margin-right:0;}.sidebar-last .content-inner{margin-right:240px; margin-left:0;}#sidebar-first{width:240px;margin-left:-100%;}#sidebar-last{width:240px;margin-left:-240px;}
I found that the above line( with #container{width:960px;}) was created in inc\template.preprocess-page.inc(205)
$vars['layout_settings'] = ''. $vars['at_layout_width'] . $vars['at_layout'] .'';
I don't know why my modified setting in the .info (adaptivetheme_subtheme.info as well as the adaptivetheme.info in the base theme)
settings[layout_width] = '900px'
did not worked.
Furthermore, I realized that there are many settings in the .info file.
Is there any documentation that is available that I have missed?
Any help in adapting adaptivetheme to a width other than 960px and more information/documentation would be very much appreciated.
Thanks.
KC.
check page.tpl.php and disable layout settings
I had this problem. I found that design settings from admin were injected in the html head as inline css. I used a modified version of page.tlp.php where I disabled this injection commenting the print of $layout_settings line 95 :
<?php/* print $layout_settings; */
?>
Add new comment