From 3b909bd4f5c3ffa775e41a4c73313ece5f29560d Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 3 Feb 2018 10:34:39 -0800 Subject: [PATCH] LandingZero tweaks --- e107_themes/landingzero/style.css | 34 +++++++++++++++---- .../templates/news/news_template.php | 4 +-- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/e107_themes/landingzero/style.css b/e107_themes/landingzero/style.css index b3e064182d..791bd5c6c6 100644 --- a/e107_themes/landingzero/style.css +++ b/e107_themes/landingzero/style.css @@ -8,15 +8,15 @@ background-color: transparent; } + @media (min-width: 768px) { #layout-full, #layout-sidebar-right, #layout-sidebar-left { - padding-top: 120px; + padding-top: 120px; } } @media (min-width: 992px) { -#layout-full, #layout-sidebar-right, #layout-sidebar-left { - padding-top: 60px; -} + #layout-full, #layout-sidebar-right, #layout-sidebar-left { padding-top: 60px; } + #sidebar { margin-top:20px } } .dropdown-menu { @@ -32,6 +32,8 @@ } + + .panel { background-color: transparent; } @@ -85,10 +87,12 @@ /* Extra small devices Phones (<768px) .col-xs */ @media all and (max-width: 767px) { - + + body { padding-top: 50px; } .featurebox .carousel-indicators { top:10px; } .featurebox-item-image.pull-left, .featurebox-item-image.pull-right { margin-top: 30px; } .news-images-main { padding-left: 0; padding-bottom:15px; padding-right:0} + } /* Small devices Tablets .col-sm */ @@ -99,13 +103,15 @@ /* Medium devices Desktops (≥992px) .col-md */ @media all and (min-width: 992px) and (max-width: 1199px) { .news-images-main { padding-left: 0; padding-bottom:5px} - + section.news-view-item { padding-top: 0; } } /* Large devices (large desktops, 1200px and up).col-lg */ @media all and (min-width: 1200px) { .news-images-main { padding-left: 0; padding-bottom:5px} + section.news-view-item { padding-top: 0; } + h3.post-title { margin-top:5px } } @@ -314,3 +320,19 @@ padding-right: 3px; background-color: #9c27c1; } + +#layout-sidebar-right .navbar-default, #layout-full .navbar-default { + +border-color: rgba(34,34,34,.05); +background-color: #222; + +} + +.navbar-default.affix .navbar-header .navbar-brand { + font-size: 18px; + color: inherit; + letter-spacing: 0; + text-shadow: none; + /* padding: inherit;*/ + +} \ No newline at end of file diff --git a/e107_themes/landingzero/templates/news/news_template.php b/e107_themes/landingzero/templates/news/news_template.php index 4b926d5941..83a0e2342d 100644 --- a/e107_themes/landingzero/templates/news/news_template.php +++ b/e107_themes/landingzero/templates/news/news_template.php @@ -82,7 +82,7 @@ $NEWS_WRAPPER['default']['item']['NEWSIMAGE: item=1'] = ' '; - +$NEWS_TEMPLATE['default']['caption'] = ''; // trick to enable tablerender and display an empty row. . $NEWS_TEMPLATE['default']['item'] = ' {SETIMAGE: w=600&h=600}
@@ -125,7 +125,7 @@ $NEWS_TEMPLATE['view']['item'] = ' {SETIMAGE: w=900&h=600} -
+

{NEWSTITLELINK}

{TAGS} {NEWSTITLE}