{"action":"created","issue":{"url":"https://api.github.com/repos/abukwaik/Radix/issues/5","labels_url":"https://api.github.com/repos/abukwaik/Radix/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/abukwaik/Radix/issues/5/comments","events_url":"https://api.github.com/repos/abukwaik/Radix/issues/5/events","html_url":"https://github.com/abukwaik/Radix/issues/5","id":99221037,"number":5,"title":"Add boxed layout?","user":{"login":"cars111","id":1793077,"avatar_url":"https://avatars.githubusercontent.com/u/1793077?v=3","gravatar_id":"","url":"https://api.github.com/users/cars111","html_url":"https://github.com/cars111","followers_url":"https://api.github.com/users/cars111/followers","following_url":"https://api.github.com/users/cars111/following{/other_user}","gists_url":"https://api.github.com/users/cars111/gists{/gist_id}","starred_url":"https://api.github.com/users/cars111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cars111/subscriptions","organizations_url":"https://api.github.com/users/cars111/orgs","repos_url":"https://api.github.com/users/cars111/repos","events_url":"https://api.github.com/users/cars111/events{/privacy}","received_events_url":"https://api.github.com/users/cars111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T14:43:48Z","updated_at":"2015-08-07T12:15:07Z","closed_at":null,"body":"hi how do I add a boxed layout grid? and add it to options? at the mo its full width and is causing a few issues with visual composer. Thanks again"},"comment":{"url":"https://api.github.com/repos/abukwaik/Radix/issues/comments/128685399","html_url":"https://github.com/abukwaik/Radix/issues/5#issuecomment-128685399","issue_url":"https://api.github.com/repos/abukwaik/Radix/issues/5","id":128685399,"user":{"login":"abukwaik","id":10373559,"avatar_url":"https://avatars.githubusercontent.com/u/10373559?v=3","gravatar_id":"","url":"https://api.github.com/users/abukwaik","html_url":"https://github.com/abukwaik","followers_url":"https://api.github.com/users/abukwaik/followers","following_url":"https://api.github.com/users/abukwaik/following{/other_user}","gists_url":"https://api.github.com/users/abukwaik/gists{/gist_id}","starred_url":"https://api.github.com/users/abukwaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abukwaik/subscriptions","organizations_url":"https://api.github.com/users/abukwaik/orgs","repos_url":"https://api.github.com/users/abukwaik/repos","events_url":"https://api.github.com/users/abukwaik/events{/privacy}","received_events_url":"https://api.github.com/users/abukwaik/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T12:15:07Z","updated_at":"2015-08-07T12:15:07Z","body":"Hi cars111, sorry i missed this.\r\n\r\nSince Radix is mainly been aimed at developers, I didn't see a need to add this feature. \r\n\r\nAlso, no easy solution here. You'll need to edit - when needed - the HTML structure  in order to get it work correctly .. And since Radix is based on Bootstrap, you need to learn more about [Bootstrap Containers & Grid system](http://getbootstrap.com/css/#overview-container)\r\n\r\nWell, You may try something like:\r\n<pre><code>@media (min-width: 960px) {\r\n  .container-fluid,\r\n  .container {\r\n    max-width: 960px !important;\r\n    margin: 0 auto;\r\n  }\r\n}\r\n</code></pre>\r\n\r\nin **style.css** ... Sure, you can change **960px** to whatever you need.\r\n\r\nAs for adding a new theme option, you need to add a new array to **Body** section in **admin > RaduxCoer > section.php** file.\r\n\r\nFor example, to add **Image Select** field could be something like:\r\n```\r\narray( \r\n    'id'       => 'body_style',\r\n    'type'     => 'select_image',\r\n    'title'    => __('Select Image', 'textdomain'),\r\n    'subtitle' => __('A preview of the selected image will appear underneath the select box.', 'textdomain'),\r\n    'desc'     => __('This is the description field, again good for additional info.', 'textdomain'),\r\n    'options'   => array(\r\n        'boxed' => array('title' => __('Boxed', 'textdomain'), 'img' => ReduxFramework::$_url . 'path_to_img_1'),\r\n        'default' => array('title' => __('Wide', 'textdomain'),  'img' => ReduxFramework::$_url . 'path_to_img_2'),\r\n        ),\r\n    'default'   => 'default'\r\n    ),\r\n```\r\nNext, you need to edit your HTML structure in **header.php** Something like: \r\n```\r\n<?php if(ro_get_option('body_style') == 'boxed'): ?>\r\n\t... HTML structure ...\r\n<?php endif; ?>\r\n```\r\n\r\nSorry, the codes are not perfect. I tried to make it clear as possible ... I'll try to add this feature in the upcoming releases.\r\n\r\nMore about [adding Image Select field](https://docs.reduxframework.com/core/fields/image-select/)\r\n"}}