{"id":68,"date":"2017-07-26T05:34:34","date_gmt":"2017-07-26T05:34:34","guid":{"rendered":"http:\/\/webemprise.com\/casebook\/?p=68"},"modified":"2017-07-26T05:34:34","modified_gmt":"2017-07-26T05:34:34","slug":"modify-css-in-wordpress","status":"publish","type":"post","link":"http:\/\/webemprise.com\/casebook\/2017\/07\/26\/modify-css-in-wordpress\/","title":{"rendered":"Modify CSS in WordPress"},"content":{"rendered":"<p>2. \/*<br \/>\nYou can add your own CSS here.<\/p>\n<p>Click the help icon above to learn more.<br \/>\n*\/<\/p>\n<p>\t\/*applying the position fixed on the masterhead *\/<br \/>\n#masthead {<br \/>\n\t\ttop: 0;<br \/>\n\t\twidth: 100%;<br \/>\n\theight: 80px<br \/>\n}<\/p>\n<p>\t\/*positioning the main-navigation *\/<br \/>\n\t#masthead .main-navigation {<br \/>\n\t\ttext-align: right;<\/p>\n<p>\t\ttop: -60px;<br \/>\n\t\tright: 250px;<br \/>\n\t\tpadding: 0;<br \/>\n\t\twidth: auto;<br \/>\n\t}<\/p>\n<p>.site-title {<br \/>\n    position: relative;<br \/>\n    top: -60px;<br \/>\n    left: 0px;<br \/>\n}<br \/>\n.site-description {<br \/>\n\tfont: 300 italic 24px &#8220;Source Sans Pro&#8221;, Helvetica, sans-serif;<br \/>\n\tmargin: 0;<br \/>\n\tposition: relative;<br \/>\n\ttop: -60px;<br \/>\n\tleft: 5px;<br \/>\n}<\/p>\n<p>    \/*adjusting default margins and paddings*\/<br \/>\n    #masthead .site-header-cart .cart-contents{<br \/>\n\ttop: 40px;<br \/>\n\t\tright: 10%;<br \/>\n\t\t        padding:0em 0;<\/p>\n<p>    }<br \/>\n    #masthead .main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {<br \/>\n\tposition: relative;<br \/>\n    top: -35px;<br \/>\n    right: 30px;<\/p>\n<p>        padding: 1em 1em;<br \/>\n    }<br \/>\n    #masthead .site-branding{<br \/>\n        margin-bottom: 1em;<br \/>\n    }<\/p>\n<p>\t\/*positioning the cart-menu *\/<br \/>\n\t#masthead .site-header-cart {<br \/>\n\t\twidth: 14% !important;<\/p>\n<p>\t\ttop: -60px;<br \/>\n\t\tright: 0%;<br \/>\n\t\tpadding: 0;<br \/>\n\t}<\/p>\n<p>    \/*removing the site search*\/<br \/>\n    #masthead .site-search{<br \/>\n        display:none;<br \/>\n    }<\/p>\n<p>3. \/* This removes the site footer from homepage frontpage *\/<\/p>\n<p>.home .site-footer {<br \/>\n  display: none;<br \/>\n}<\/p>\n<p>4. Have a fullscreen Storefront website<\/p>\n<p>.site-branding .site-title a {<br \/>\n  color: #0f0f0f;<br \/>\n  font-weight: normal;<br \/>\n  font-size: 35px;<br \/>\n}<\/p>\n<p>.site-branding .site-description {<br \/>\n  color: #1d1e1e;<br \/>\n  font-size: 15px;<br \/>\n}<\/p>\n<p>\/* This sets the background image of the page. Just replace the page id and the url of the background image *\/<\/p>\n<p>.page-id-26620 {<br \/>\n  background-image: url(&#8220;http:\/\/www.webkedai.com\/wp-content\/uploads\/2017\/07\/cover-left2.jpg&#8221;);<br \/>\n  background-size: cover;<br \/>\n      background-repeat:no-repeat;<br \/>\n}<\/p>\n<p>\/* This makes the header transparent so that the background image shows through *\/<\/p>\n<p>.site-header {<br \/>\n  background-color: transparent;<br \/>\n}<\/p>\n<p>\/* This removes the bottom border *\/<\/p>\n<p>.hentry {<br \/>\n  border-bottom: 0px solid rgba(0, 0, 0, 0);<br \/>\n}<\/p>\n<p>\/* This sets the border of the shortcodes ultimate button *\/<\/p>\n<p>.sfbutton {<br \/>\n  border-color: white !important;<br \/>\n}<\/p>\n<p>\/* This removes the site footer from homepage frontpage *\/<\/p>\n<p>.home .site-footer {<br \/>\n  display: none;<br \/>\n}<\/p>\n<p>\/*<br \/>\n.page-id-26620 #site-footer {<br \/>\ndisplay: none;<br \/>\n}<\/p>\n<p>*\/<\/p>\n<p>#masthead.site-header {<br \/>\n  background-color: #C1975B;<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2. \/* You can add your own CSS here. Click the help icon above to learn more. *\/ \/*applying the position fixed on the masterhead *\/ #masthead { top: 0; width: 100%; height: 80px } \/*positioning the main-navigation *\/ #masthead .main-navigation { text-align: right; top: -60px; right: 250px; padding: 0; width: auto; } .site-title { &hellip; <a href=\"http:\/\/webemprise.com\/casebook\/2017\/07\/26\/modify-css-in-wordpress\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Modify CSS in WordPress<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/posts\/68"}],"collection":[{"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":1,"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":69,"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/posts\/68\/revisions\/69"}],"wp:attachment":[{"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/webemprise.com\/casebook\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}