{"id":914,"date":"2021-03-24T20:56:34","date_gmt":"2021-03-24T20:56:34","guid":{"rendered":"https:\/\/sls.gmu.edu\/web\/?p=914"},"modified":"2025-03-17T10:02:03","modified_gmt":"2025-03-17T14:02:03","slug":"layout-guides-for-the-law-school-main-website","status":"publish","type":"post","link":"https:\/\/sls.gmu.edu\/web\/2021\/03\/24\/layout-guides-for-the-law-school-main-website\/","title":{"rendered":"Layout Guides  for the Law School Main Website"},"content":{"rendered":"<p>Here are some quick layout guides for the <a href=\"https:\/\/www.law.gmu.edu\/\">main law school website<\/a>.<\/p>\n<p>To create a simple button (see <a href=\"https:\/\/www.law.gmu.edu\/admissions\/jd\/visit_campus\">visit campus<\/a> page), add the <code>button<\/code> class.<\/p>\n<pre><code>&lt;div class=\"button\"&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>To create three buttons in three columns with three different colors (see <a href=\"https:\/\/www.law.gmu.edu\/\">homepage<\/a>), add <code>grid3<\/code> and <code>color-buttons<\/code> classes:<\/p>\n<pre><code>&lt;div class=\"grid3 color-buttons\"&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>To create four boxes in four columns with four different colors, (see <a href=\"https:\/\/www.law.gmu.edu\/\">homepage<\/a>), add <code>grid4<\/code>, <code>color-buttons<\/code>, and <code>boxes<\/code> classes:<\/p>\n<pre><code>&lt;div class=\"grid4 color-buttons boxes\"&gt;\t\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>For a two-column layout (see the top of the <a href=\"https:\/\/www.law.gmu.edu\/peopfind\">People Finder<\/a> page), use the <code>grid2<\/code> class:<\/p>\n<pre><code>&lt;div class=\"grid2\"&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>For a three-column layout (see contact information on the <a href=\"https:\/\/www.law.gmu.edu\/records\/\">Records Office<\/a> page), use the <code>grid3<\/code> class:<\/p>\n<pre><code>&lt;div class=\"grid3\"&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>For a four-column layout (see icons on the <a href=\"https:\/\/www.law.gmu.edu\/career\/\">Career<\/a> page), use the <code>grid4<\/code> class:<\/p>\n<pre><code>&lt;div class=\"grid4\"&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>For a two-column layout with one column takes up two-third of the space (see <a href=\"https:\/\/www.law.gmu.edu\/admissions\/jd\/\">JD Admissions<\/a> page) , add <code>span2<\/code> class on that column:<\/p>\n<pre><code>&lt;div class=\"grid3\"&gt;\r\n        &lt;section&gt;&lt;\/section&gt;\r\n\t&lt;section class=\"span2\"&gt;&lt;\/section&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>For a two-column layout with one column takes up three-forth of the space (see the footer link and social media link at the bottom of the <a href=\"https:\/\/www.law.gmu.edu\/\"> footer<\/a>) , add <code>span3<\/code> class on that column:<\/p>\n<pre><code>&lt;div class=\"grid4\"&gt;\r\n\t&lt;section class=\"span3\"&gt;&lt;\/section&gt;\r\n\t&lt;section&gt;&lt;\/section&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n<p>To add icons for the second level pages (see <a href=\"https:\/\/www.law.gmu.edu\/admissions\/\">Admissions<\/a> landing page), use the <code>icons24<\/code> (24 is the dimension in pixels that all the icons were downloaded) class:<\/p>\n<pre><code>&lt;div class=\"grid3 icons24\"&gt;\r\n\t&lt;a href=\"\"&gt;&lt;img src=\"\" width=\"50\" alt=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;img src=\"\" width=\"50\" alt=\"\"&gt;&lt;\/a&gt;\r\n\t&lt;a href=\"\"&gt;&lt;img src=\"\" width=\"50\" alt=\"\"&gt;&lt;\/a&gt;\r\n&lt;\/div&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here are some quick layout guides for the main law school website. To create a simple button (see visit campus page), add the button class. &lt;div class=&#8221;button&#8221;&gt; &lt;a href=&#8221;&#8221;&gt;&lt;\/a&gt; &lt;\/div&gt; To create three buttons in three columns with three different colors (see homepage), add grid3 and color-buttons classes: &lt;div class=&#8221;grid3 color-buttons&#8221;&gt; &lt;a href=&#8221;&#8221;&gt;&lt;\/a&gt; &lt;a href=&#8221;&#8221;&gt;&lt;\/a&gt; &hellip; <a href=\"https:\/\/sls.gmu.edu\/web\/2021\/03\/24\/layout-guides-for-the-law-school-main-website\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Layout Guides  for the Law School Main Website&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[11],"tags":[43,44],"class_list":["post-914","post","type-post","status-publish","format-standard","hentry","category-web-development","tag-css","tag-html"],"_links":{"self":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/comments?post=914"}],"version-history":[{"count":0,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/914\/revisions"}],"wp:attachment":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/media?parent=914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/categories?post=914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/tags?post=914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}