{"id":1011,"date":"2025-03-24T14:28:16","date_gmt":"2025-03-24T14:28:16","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/supreme-directory-header-fix\/"},"modified":"2025-04-03T15:24:37","modified_gmt":"2025-04-03T14:24:37","slug":"supreme-directory-header-fix","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/code-snippets\/supreme-directory-header-fix\/","title":{"rendered":"Supreme Directory header fix"},"content":{"rendered":"\n<p>Fix:&nbsp;move the nav menu to the right, move down the page title<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-css\">\/* CSS: add to your theme customizer -&gt; Additional CSS\n * or your child theme style.css\n *\/\n\n\n\/* Add lateral padding to the navbar container *\/\n#site-header .navbar {\n    padding: 1rem;\n}\n\n\/* Move the menu to the right *\/\n#site-header .navbar .collapse.navbar-collapse {\n    justify-content: flex-end;\n}\n\n\/* Move down the title so it doesn&#039;t overlap the menu *\/\nheader.featured-area .jumbotron .container {\n    top: 6em;\n}<\/code><\/pre>\n\n\n\n<p><br>Optional: remove the front page title<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-php\">\/**\n * Optional: remove the title on the front page\n * PHP code: use a plugin snippet, or \n * add it to your child theme functions.php\n *\/\n\n\/\/ Remove the title from the home page\nadd_filter( &#039;sd_featured_area_title&#039;, function( $title ) {\n    if ( is_front_page() ) {\n        $title = &#039;&#039;;\n    }\n    return $title;\n}, 99, 1 );<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fix:&nbsp;move the nav menu to the right, move down the page title Optional: remove the front page title<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,433],"class_list":["post-1011","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-code-snippets"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/1011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=1011"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/1011\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=1011"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=1011"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=1011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}