tunescool
New member
- Joined
- Mar 19, 2014
- Messages
- 77
- Points
- 0
its always been fine but today i was logged out and my main page is screwed up for people not logged in. its supposed to look like the pic with two posts next to each other. i havent done anything to the template or really done anything with the css in awhile. i know i havent done anything that would screw it up. added widgets thats it, sounds dumb but thats all ive done besides add plugins
if i take just some text widgets out, they arent there for members but still there for guests
nookselfimprove.net
css
main index template
if i take just some text widgets out, they arent there for members but still there for guests
nookselfimprove.net
css
Code:
/*
Theme Name: NewsStudio
Theme URI: https://flexithemes.com/newsstudio-wordpress-theme/
Description: Free News/Magazine WordPress theme by FlexiThemes
Author: FlexiThemes
Author URI: https://flexithemes.com
Version: 1.0
Tags: blue, three-columns, right-sidebar
*/
/* INDEX:
=GENERAL
=LAYOUT
=HEADER
=MENUS
=POST
=WOOCOMMERCE
=SITEMAP
=CONTACT FORM
=SLIDER
=WP-PAGENAVI
=FOOTER
=WIDGETS
=COMMENTS
=RESPONSIVE
*/
/* =GENERAL
-------------------------------------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Oswald);
body {
width: 1320px;
width: fixed;
}
a {
color: #00138E;
text-decoration: none;
}
a:hover, a:focus {
color: #808080;
text-decoration: underline;
}
a:focus {
outline: none;
}
/* =LAYOUT
-------------------------------------------------------------- */
#container {
width: 1320px;
}
#main {
padding: 0 0 0 15px;
background: url('http://i709.photobucket.com/albums/ww95/tunescool/nook/black.jpg');
-moz-box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
-webkit-box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
}
#main-fullwidth {
padding: 15px;
background: #fff;
-moz-box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
-webkit-box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
}
#content {
overflow: hidden;
float: left;
width: 615px;
}
#sidebar-primary {
overflow: hidden;
float: left;
width: 300px;
border-radius: 10px;
border: 3px solid #a8830a;
margin-left: 15px;
background: #FFFFFF;
}
/* =HEADER
-------------------------------------------------------------- */
#header {
height: 40px;
padding:0px 0 40px 0;
}
.logo {
float: left;
margin: 2px 0;
}
.logo h1.site_title {
margin: 0;
padding:0;
padding-left:50px;
font-family: Tahoma, Helvetica, Sans-serif;
font-size:40px;
line-height: 40px;
font-weight: bold;
color: #a8830a;
font-style: italic;
}
.logo h1.site_title a, .logo h1.site_title a:hover {
color: #a8830a;
text-decoration: none;
}
.logo h2.site_description {
margin: 0;
padding:0;
padding-top:10px;
padding-left:90px;
color: #a8830a;
font-family: Tahoma, Helvetica, Sans-serif;
font-size:20px;
line-height: 14px;
font-weight: bold;
font-style: italic;
}
.header-left {
float: left;
}
#top-social-profiles {
padding-right: 30px;
padding-top: 10px;
height: 34px;
text-align: right;
}
#top-social-profiles img {
margin: 0 0 0 6px !important;
}
#top-social-profiles img:hover {
opacity: 0.8;
}
#top-social-profiles .widget-container {
background: none;
padding: 0;
border: 0;
}
#premain {
padding-top: 10px;
}
.postmeta-primary span,
.postmeta-secondary span {
background: none !important;
}
/* =MENUS
-------------------------------------------------------------- */
/* Menu Primary
----------------------------*/
.menu-primary-container {
float: left;
padding:0;
padding-left: 30px !important;
position:relative;
height: 20px;
background: none;
z-index: 400;
margin-top: 5px;
}
.menu-primary {
}
.menu-primary ul {
min-width: 160px;
}
/* First Level - Menu Primary */
.menu-primary li a {
color: #000000;
padding: 5px 5px;
font-family: 'Georgia', sans-serif;
font-size: 14px;
text-transform: capitalize;
font-weight: bold;
margin: 0 2px 2px 0;
}
.menu-primary li a:hover, .menu-primary li a:active, .menu-primary li a:focus,
.menu-primary li:hover > a, .menu-primary li.current-cat > a, .menu-primary li.current_page_item > a, .menu-primary li.current-menu-item > a {
color: #808080;
outline: 0;
text-decoration: none;
margin: 0 2px 0 0;
}
/* Child Levels - Menu Primary */
.menu-primary li li a {
color: #00138E;
text-transform: none;
background: url('http://i709.photobucket.com/albums/ww95/tunescool/grey12.jpg');
margin: 0;
border: 0;
font-weight: bold;
}
.menu-primary li li a:hover, .menu-primary li li a:active, .menu-primary li li a:focus,
.menu-primary li li:hover > a, .menu-primary li li.current-cat > a, .menu-primary li li.current_page_item > a, .menu-primary li li.current-menu-item > a {
color: #808080;
background: #d4d4d4;
outline: 0;
border-bottom:0;
text-decoration: none;
margin: 0;
}
/* Arrows Menu Primary */
.menu-primary a.sf-with-ul {
padding-right: 5px;
min-width: 1px;
}
.menu-primary .sf-sub-indicator {
position: absolute;
display: block;
overflow: hidden;
right: 0;
top: 0;
padding: 10px 10px 0 0;
}
.menu-primary li li .sf-sub-indicator {
padding: 9px 10px 0 0;
}
/* Shadows Menu Primary */
.wrap-menu-primary .sf-shadow ul {
background: url('images/menu-primary-shadow.png') no-repeat bottom right;
}
/* Menu Secondary
----------------------------*/
.menu-secondary-container {
position:relative;
height: 40px;
z-index: 300;
background: #000000;
border-top: 3px solid #12A8EE;
margin-bottom: 15px;
}
.menu-secondary {}
.menu-secondary ul {
min-width: 160px;
}
/* First Level - Menu Secondary */
.menu-secondary li a {
color: #FFFFFF;
padding: 14px 15px 13px 15px;
text-decoration: none;
font-family: 'Oswald', sans-serif;
font-size: 13px;
text-transform: uppercase;
font-weight: normal;
}
.menu-secondary li a:hover, .menu-secondary li a:active, .menu-secondary li a:focus,
.menu-secondary li:hover > a, .menu-secondary li.current-cat > a, .menu-secondary li.current_page_item > a, .menu-secondary li.current-menu-item > a {
color: #000000;
background:#FFFFFF;
outline: 0;
}
/* Child Levels - Menu Secondary */
.menu-secondary li li a {
color: #FFFFFF;
background: #000000;
padding: 10px 15px;
text-transform: none;
margin: 0;
font-weight: normal;
}
.menu-secondary li li a:hover, .menu-secondary li li a:active, .menu-secondary li li a:focus,
.menu-secondary li li:hover > a, .menu-secondary li li.current-cat > a, .menu-secondary li li.current_page_item > a, .menu-secondary li li.current-menu-item > a {
color: #FFFFFF;
background: #22AEEF;
outline: 0;
}
/* Arrows - Menu Secondary */
.menu-secondary a.sf-with-ul {
padding-right: 26px;
min-width: 1px;
}
.menu-secondary .sf-sub-indicator {
position: absolute;
display: block;
overflow: hidden;
right: 0;
top: 0;
padding: 13px 13px 0 0;
}
.menu-secondary li li .sf-sub-indicator {
padding: 9px 13px 0 0;
}
/* Shadows - Menu Secondary */
.wrap-menu-secondary .sf-shadow ul {
background: url('images/menu-secondary-shadow.png') no-repeat bottom right;
}
/* =POST
-------------------------------------------------------------- */
/* Post General
----------------------------*/
.post {
padding-top: 10px;
margin-bottom: 15px;
border-bottom: 0;
}
.posts {
padding-left: 20px;
padding-right: 20px;
}
.pages {
padding-left: 20px;
padding-right: 20px;
}
.contact {
padding-left: 20px;
padding-right: 20px;
}
.archives {
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
.sitemap {
padding-left: 20px;
padding-right: 20px;
}
.category {
padding-left: 10px;
padding-right: 10px;
}
.post-box {
width: 300px;
height: 300px;
float: left;
margin-left: 15px;
margin-right: 10px;
overflow: hidden;
}
.post-wrap div:first-child {
margin-left: 0;
}
.page, .post-single {
border-bottom: 0;
margin-bottom: 0;
}
.title {
color: #000000;
margin: 0 0 0px 0;
padding-left: 10px;
font-family: 'Oswald', sans-serif;
font-size: 20px;
line-height: 22px;
font-weight: normal;
}
.post-single .title {
padding-bottom: 5px;
padding-left: 15px;
padding-right: 15px;
font-size: 24px;
line-height: 24px;
}
.title a {
color: #000000;
text-decoration: none;
}
.title a:hover {
color: #00138E;
text-decoration: none;
}
.postlinks a {
color: #00138E;
text-decoration: none;
}
.postlinks a:hover {
color: #00138E;
text-decoration: none;
}
.entry {
padding-top: 7px;
line-height: 20px;
}
.featured_image {
padding: 6px;
border: 1px solid #000000;
background: #fff;
}
.page-title {
color: #0000000;
margin: 0px 0 10px 0;
padding: 0px 50px 10px 50px;
font-weight: normal;
text-transform: capitalize;
font-size: 20px;
font-family: 'Oswald', sans-serif;
border-bottom: 2px solid #333333;
}
/* Post Metas
----------------------------*/
.postmeta-primary {
color: #999999;
font-size: 12px;
line-height: 18px;
padding: 0 0 2px 15px;
border-bottom: 1px solid #000000;
}
.postmeta-secondary {
color: #999999;
font-size: 12px;
line-height: 18px;
padding: 0 0 10px 0;
}
.postmeta-primary span, .postmeta-secondary span {
background: url(images/meta-separator.png) left center no-repeat;
padding:3px 0 3px 10px;
}
.postmeta-primary span:first-child, .postmeta-secondary span:first-child {
background: none;
padding-left: 5px;
}
/* Read More
----------------------------*/
.readmore {
margin-bottom: 15px;
float: right;
}
.readmore a {
color: #00138E;
background: #F3F3F3;
padding: 8px 14px;
font-weight: bold;
font-size: 12px;
line-height: 12px;
display: inline-block;
text-decoration: none;
text-transform: none;
border-radius: 5px;
}
.readmore a:hover {
color: #FFFFFF;
background: #00138E;
text-decoration: none;
font-weight: bold;
}
/* =WOOCOMMERCE
-------------------------------------------------------------- */
.woocommerce .content, .woocommerce #main-fullwidth {
background: #fff;
}
.variations .label {
background-color:inherit;
color: inherit;
display: block !important;
font-size: inherit;
font-weight: inherit;
line-height:inherit;
text-shadow: none;
vertical-align: inherit;
white-space: inherit;
padding: 8px 8px 8px 0 !important;
}
.woocommerce input[type="text"], .woocommerce input[type="password"], .woocommerce input.text, .woocommerce input.title, .woocommerce textarea, .woocommerce select {
margin: 0;
padding: 4px !important;
}
.quantity input[type="text"], .quantity input.text, .quantity input{
margin: 0;
padding: 0 !important;
}
.woocommerce img {
width: auto !important;
height: auto !important;
}
/* =SITEMAP
-------------------------------------------------------------- */
.sitemap {
}
.sitemap-col {
width: 30%;
padding: 0 0 0 10px;
}
.sitemap-col-archives {
width: 45%;
padding: 0 0 0 10px;
}
.sitemap h2 {
font-size: 18px;
font-weight: bold;
border-bottom: 2px solid #ddd;
padding: 0 0 10px 0;
margin: 0 0 10px 0;
}
.sitemap h3 {
font-size: 14px;
font-weight: bold;
padding: 0;
margin: 0 0 10px 0;
}
.sitemap-list {
font-size: 13px;
line-height: 22px;
}
.sitemap-list, .sitemap-list ul {
padding: 0 0 0 20px;
}
/* =CONTACT FORM
-------------------------------------------------------------- */
.contact-form {
}
.contact-form-label {
width: 90px;
font-weight: bold;
font-size: 14px;
padding: 7px 0;
}
.contact-form-input {
margin-left: 90px;
}
.contact-form input[type=text] {
padding: 6px;
width: 60%;
margin-bottom: 20px;
border: 1px solid #ccc;
background: #fff;
}
.contact-form input[type=submit] {
padding: 5px 50px;
border: 1px solid #ccc;
background: #eee;
}
.contact-form textarea {
width: 96%;
padding: 6px;
height: 160px;
margin-bottom: 20px;
border: 1px solid #ccc;
background: #fff;
}
.contact-form-required {
color: red;
}
/* =SLIDER
-------------------------------------------------------------- */
.fp-slider {
margin: 0 0 15px 0;
}
.fp-slides-container {}
.fp-slides, .fp-thumbnail, .fp-prev-next, .fp-nav {
width: 930px;
}
.fp-slides, .fp-thumbnail {
height: 300px;
overflow: hidden;
position: relative;
}
.fp-title {
font-family: 'Oswald', sans-serif;
color: #fff;
font-size: 18px;
font-weight: normal;
padding: 0 0 2px 0;
margin: 0;
}
.fp-title a, .fp-title a:hover {
color: #fff;
text-decoration: none;
}
.fp-content {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: #111;
opacity: 0.7;
filter: alpha(opacity = 70);
padding: 10px 15px;
overflow: hidden;
}
.fp-content p {
color: #fff;
padding: 0;
margin: 0;
line-height: 18px;
}
.fp-more, .fp-more:hover{
color: #fff;
font-weight: bold;
}
.fp-nav {
height: 12px;
text-align: center;
padding: 10px 0;
background: #111;
}
.fp-pager a {
background-image: url(images/featured-pager.png);
cursor:pointer;
margin: 0 8px 0 0;
padding: 0;
display: inline-block;
width: 12px;
height: 12px;
overflow: hidden;
text-indent: -999px;
background-position: 0 0;
float: none;
line-height: 1;
opacity: 0.7;
filter: alpha(opacity = 70);
}
.fp-pager a:hover, .fp-pager a.activeSlide {
text-decoration: none;
background-position: 0 -112px;
opacity: 1.0;
filter: alpha(opacity = 100);
}
.fp-prev-next-wrap {
position: relative;
z-index: 200;
}
.fp-prev-next {
position: absolute;
bottom: 130px;
left: 0;
right: 0;
height: 37px;
}
.fp-prev {
float:left;
margin-left: 14px;
width:37px;
height:37px;
background:url(images/featured-prev.png) left top no-repeat;
opacity: 0.6;
filter: alpha(opacity = 60);
}
.fp-prev:hover {
opacity: 0.8;
filter: alpha(opacity = 80);
}
.fp-next {
float:right;
width:36px;
height:37px;
margin-right: 14px;
background:url(images/featured-next.png) right top no-repeat;
opacity: 0.6;
filter: alpha(opacity = 60);
}
.fp-next:hover {
opacity: 0.8;
filter: alpha(opacity = 80);
}
/* =WP-PAGENAVI
-------------------------------------------------------------- */
.wp-pagenavi {
float: left;
}
.wp-pagenavi a, .wp-pagenavi span {
text-decoration: none;
padding: 5px 8px;
margin: 2px;
font-size: 15px;
line-height: 15px;
float: left;
}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
color: #333333;
background:none;
}
.wp-pagenavi span.current {
font-weight: bold;
color: #fff;
background:#22AEEF;
}
.wp-pagenavi a:hover {
color: #22AEEF;
background:#F3F3F3;
}
.wp-pagenavi span.pages {
color: #333333;
background: none;
padding: 4px 8px 4px 0;
}
.wp-pagenavi span.extend {
background:transparent;
color: #333333;
background: none;
}
/* =FOOTER
-------------------------------------------------------------- */
#footer {
margin-bottom:15px;
}
#copyrights {
color: #FFFFFF;
font-weight: bold;
background: url('http://i709.photobucket.com/albums/ww95/tunescool/nook/black.jpg');
text-align: right;
padding-right: 30px !important;
padding: 20px 0;
}
#copyrights a {
font-weight: bold;
color: #FFFFFF;
}
#copyrights a:hover {
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
#credits {
color: #000000;
text-align: center;
font-size: 11px;
padding: 10px 0 0 0;
}
#credits a {
color: #000000;
text-decoration: none;
}
#credits a:hover {
text-decoration: none;
color: #000000;
}
.footerleft {
padding-bottom: 5px !important;
}
/* Footer Widgets
----------------------------*/
#footer-widgets {
background: #FFFFFF;
padding: 20px 0 0 0;
margin: 15px 0;
-moz-box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
-webkit-box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
box-shadow: 0 0 9px 1px rgba(96,96,96,.12);
}
.footer-widget-box {
width: 300px;
float: left;
margin-left: 15px;
}
.footer-widget-box-last {
}
/* Footer Widgets Color */
#footer-widgets .widget-container {
}
/* Footer Widgets Links */
#footer-widgets .widget-container a {
}
#footer-widgets .widget-container a:hover {
}
/* Footer Widget Title */
#footer-widgets .widgettitle {
}
#footer-widgets .widgettitle, #footer-widgets .widgettitle a, #footer-widgets .widgettitle a:hover {
}
/* Footer List Items */
#footer-widgets .widget ul li {
}
/* Footer Widgets Tabs */
#footer-widgets .tabs-widget li a {
}
#footer-widgets .tabs-widget li a:hover, #footer-widgets .tabs-widget li a.tabs-widget-current {
}
/* Footer Widgets Seaarch */
#footer-widgets #search {
}
#footer-widgets #search #s {
}
/* =WIDGETS
-------------------------------------------------------------- */
/* Widgets Defaults
----------------------------*/
.widget-container {
list-style-type: none;
list-style: none;
margin: 0 0 0px 0;
padding-top: 7px;
padding-left: 7px;
padding-right: 7px;
color: #515151;
font-family: 'Georgia', sans-serif;
font-size: 12px;
}
.widget-container a {
font-weight: bold;
color: #00138E;
text-decoration: none;
}
.widget-container a:hover {
font-weight: bold;
color: #808080;
text-decoration: none;
}
.widgettitle {
border-bottom: 2px solid #000000;
margin: 0 0 10px 0;
padding: 10px 0 6px 1px;
padding-left: 15px;
}
.widgettitle, .widgettitle a, .widgettitle a:hover {
color: #000;
font-size: 16px;
line-height: 16px;
font-family: 'Oswald', sans-serif;
font-weight: normal;
text-decoration: none;
text-transform: capitalize;
}
.widget ul {
list-style-type: none;
list-style: none;
margin: 0;
padding: 0;
}
.widget ul li {
padding: 0 0 9px 12px;
margin: 0 0 0 0;
background: url(images/widget-list.png) left 2px no-repeat;
}
.widget ul li .children {
padding-top: 17px;
}
/* Search
----------------------------*/
#search {
border: 1px solid #D8D8D8;
background: #fff url(images/search.png) 99% 50% no-repeat;
text-align: left;
padding: 6px 24px 6px 6px;
}
#search #s {
background: none;
color: #979797;
border: 0;
width: 100%;
padding: 0;
margin: 0;
outline: none;
}
#content-search {
width: 300px;
padding: 15px 0;
}
/* Wp Calendar
----------------------------*/
#wp-calendar td:hover, #wp-calendar #today {
background: #22AEEF;
color: #fff;
}
#wp-calendar td:hover a, #wp-calendar #today a {
color: #fff;
}
/* Text Widget
----------------------------*/
.textwidget {
line-height: 8px;
margin: 0 0 0px 0 important!;
padding-top: 0px;
}
/* 125x125 Banners Widget
----------------------------*/
.banners-125 {
text-align: center;
margin-bottom: -10px;
}
.banners-125 img {
margin: 0 5px 5px 5px;
}
/* Posts Widget
----------------------------*/
.posts-widget ul {
list-style-type: none;
list-style: none;
padding: 0;
margin: 10px 0 0 0;
}
.posts-widget ul li {
list-style-type: none;
list-style: none;
padding: 0 0 15px 0;
margin: 0 0 15px 0;
border-bottom:0;
}
.posts-widgettitle {
font-weight: normal;
padding: 0 0 5px 0;
margin: 0;
font-family: 'Oswald', sans-serif;
font-size: 14px;
}
.posts-widgettitle a {}
.posts-widgettitle a:hover {}
.posts-widget-meta {
font-style: italic;
padding: 0 0 5px 0;
}
.posts-widget-entry {
font-family: Arial, Helvetica, Sans-serif;
line-height: 20px;
}
.posts-widget-more {
font-weight: bold;
}
.posts-widget-more:hover {}
.posts-widget-featured-image {
border: 1px solid #D8D8D8;
padding: 4px;
background-color: #fff;
}
.posts-widget .alignleft {
margin: 0 8px 8px 0;
}
.posts-widget .alignright {
margin: 0 0 8px 8px;
}
.posts-widget .aligncenter {
margin-bottom: 8px;
}
/* Comments Widget
----------------------------*/
.comments-widget ul {
list-style-type: none;
list-style: none;
padding: 0;
margin: 10px 0 0 0;
}
.comments-widget ul li {
list-style-type: none;
list-style: none;
padding: 0 0 10px 0;
margin: 0 0 10px 0;
border-bottom: 0;
}
.comments-widget-author {
text-decoration: none;
font-weight: bold;
padding: 0 0 5px 0;
margin: 0;
}
.comments-widget-author:hover {}
.comments-widget-entry {
font-family: Arial, Helvetica, Sans-serif;
line-height: 20px;
}
.comments-widget-more {
font-weight: bold;
}
.comments-widget-more:hover {}
.comments-widget-avatar {
border: 1px solid #D8D8D8;
padding: 4px;
background-color: #fff;
}
.comments-widget .alignleft {
margin: 0 8px 0 0;
}
.comments-widget .alignright {
margin: 0 0 0 8px;
}
.comments-widget .aligncenter {
margin-bottom: 8px;
}
/* Info Box Widget
----------------------------*/
.infobox-widget ul {
list-style-type: none;
list-style: none;
padding: 0;
margin: 0;
}
.infobox-widget ul li {
list-style-type: none;
list-style: none;
padding: 0;
margin: 0px 0 0 0;
}
.infobox-widget ul li a {
text-decoration: none;
}
.infobox-widget-description {
line-height: 20px;
}
.infobox-widget-more {
font-weight: bold;
}
.infobox-widget-more:hover {
}
.infobox-widget .alignleft {
margin: 0 10px 10px 0;
}
.infobox-widget .alignright {
margin: 0 0 10px 10px;
}
.infobox-widget .aligncenter {
margin-bottom: 0px;
}
.infobox-widget .inbottom {
margin-top: 0px;
}
/* Social Profiles Widget
----------------------------*/
.social-profiles-widget img {
margin: 0 4px 0 0;
}
.social-profiles-widget img:hover {
opacity: 0.8;
}
/* Tabs Widget
----------------------------*/
.tabs-widget {
list-style: none;
list-style-type: none;
margin: 0 0 10px 0;
padding: 0;
height: 26px;
}
.tabs-widget li {
list-style: none;
list-style-type: none;
margin: 0 0 0 4px;
padding: 0;
float: left;
}
.tabs-widget li:first-child {
margin: 0;
}
.tabs-widget li a {
color: #000000;
background: #F3F3F3;
padding: 6px 16px;
font-family: Arial, Helvetica, Sans-serif;
font-weight: bold;
display: block;
text-decoration: none;
font-size: 12px;
line-height: 12px;
}
.tabs-widget li a:hover, .tabs-widget li a.tabs-widget-current {
background: #22AEEF;
color: #fff;
}
.tabs-widget-content {
}
/* Tweets Widget
----------------------------*/
.tweets-widget ul {
list-style-type: none;
list-style: none;
margin: 0;
padding: 0;
line-height: 20px;
font-family: Arial, Helvetica, Sans-serif;
}
.tweets-widget ul li {
list-style-type: none;
list-style: none;
padding: 0;
margin: 15px 0 0 0;
}
.tweets-widget ul li:first-child {
margin-top: 5px;
}
.tweets-widget li.tweets-bird {
padding-left: 24px;
background: url(images/tweets.png) left 2px no-repeat;
}
.tweets-widget a {}
.tweets-widget a:hover {}
a.tweets-widget-time {
text-decoration: underline;
}
a.tweets-widget-time:hover {
text-decoration: none;
}
/* Facebook Widget
----------------------------*/
.facebook-widget {
list-style-type: none;
list-style: none;
margin: 0;
padding: 0;
}
/* =COMMENTS
-------------------------------------------------------------- */
#comments {
margin-bottom: 15px;
}
#comments p {
margin: 5px 0 10px 0;
}
h3#comments-title {
font-weight: bold;
font-size: 20px;
padding: 0;
margin: 0 0 15px 0;
}
.commentlist {
list-style: none;
margin: 0;
padding: 0;
}
.commentlist li.comment {
line-height: 24px;
margin: 0 0 15px 0;
padding: 0 0 0 0px;
position: relative;
}
.commentlist li:last-child {
border-bottom:none;
margin-bottom:0;
}
#comments .comment-body ul,
#comments .comment-body ol {
margin-bottom: 15px;
}
#comments .comment-body blockquote p:last-child {
margin-bottom: 15px;
}
.commentlist .avatar {
border: 3px solid #ffffff;
margin-right: 10px;
width: 40px;
height: 40px;
vertical-align: middle;
margin-bottom: 2px;
}
.comment-author {
padding: 5px;
display: block;
background: #F2F2F2;
border: 1px solid #DFDFDF;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.comment-author cite {
font-style: normal;
font-weight: bold;
}
.comment-author .says {
font-style: italic;
}
.fn, .fn a:link, .fn a:hover, .fn a:visited {
font-family: Arial, Helvetica, Sans-serif;
font-size: 16px;
font-style: normal;
font-weight: bold;
text-decoration: none;
}
.comment-meta {
margin: -23px 0 0 65px;
display: block;
font-size: 11px;
padding:0;
}
.comment-meta a:link,
.comment-meta a:visited {
text-decoration: none;
}
.commentlist .bypostauthor {
}
.reply {
text-align: right;
margin-bottom: 10px;
}
.comment-reply-link {
font-size: 11px;
font-weight: normal;
text-decoration: none;
background: #EDEDED;
color: #333;
padding: 2px 8px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border: 1px solid #999999;
}
.comment-reply-link:hover {
background: #F5F5F5;
color: #333;
}
.commentlist .children {
list-style: none;
margin: 0;
}
/* Children */
.commentlist .children li {
border: none;
margin: 0;
}
.nocomments {
display: none;
}
#comments .pingback {
margin-bottom: 18px;
padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
margin-top: -6px;
}
#comments .pingback p {
font-size: 12px;
line-height: 18px;
display:block;
margin: 0;
}
#comments .pingback .url {
font-style: italic;
font-size: 13px;
}
/* Comments form */
#respond {
overflow: hidden;
position: relative;
margin-bottom: 15px;
}
h3#reply-title {
font-weight: bold;
font-size: 20px;
padding: 0;
margin: 0 0 15px 0;
}
#respond .required {
color:#FF4B33;
}
#respond .comment-notes {
margin-bottom: 1em;
}
.form-allowed-tags {
display: none;
}
.children #respond {
margin: 0 48px 0 0;
}
#comments-list #respond {
margin: 0 0 18px 0;
}
#comments-list ul #respond {
margin: 0;
}
#cancel-comment-reply-link {
font-size: 12px;
line-height: 18px;
font-weight: normal;
}
#respond .required {
color:#FF4B33;
font-weight:bold;
}
#respond label {
font-size: 12px;
font-weight: bold;
}
#respond input {
margin:10px 0 0 0;
width:98%;
}
#respond textarea {
width:98%;
margin:10px 0 0 0;
}
#respond .form-allowed-tags {
font-size: 12px;
line-height: 18px;
}
#respond .form-allowed-tags code {
font-size: 11px;
}
#respond input[type=submit] {
margin: 0;
}
#respond .form-submit {
margin: 0;
}
#respond .form-submit input {
width: auto;
font-size: 14px;
}
#respond dl {
margin: 0 0 10px;
}
#respond dt {
display: inline;
font-weight: normal;
}
#respond dd {
display: inline;
}
/* =RESPONSIVE
-------------------------------------------------------------- */
.menu-primary-responsive-container, .menu-secondary-responsive-container {
display: none;
margin: 10px;
}
.menu-primary-responsive, .menu-secondary-responsive {
width: 100%;
padding: 5px;
border: 1px solid #ddd;
}
/* Tablets ----------- */
@media only screen and (max-width: 768px) {
#container, #footer-container {
width: 100%;
}
#main,
#main-fullwidth,
#header,
#footer-widgets,
#footer {
padding-left: 10px;
padding-right: 10px;
}
#main, #main-fullwidth {
background-image: none;
}
#header {
height: 100%;
padding-top: 10px;
padding-bottom: 10px;
}
.logo, .header-right {
float: none;
text-align: center;
padding-left: 0;
padding-right: 0;
margin-left: 0;
margin-right: 0;
}
.header-right {
padding-top: 10px;
}
#topsearch {
float: none;
width: 96%;
margin: 10px 2%;
}
#header #topsearch {
margin-left: 0;
margin-right: 0;
width: 100%;
}
#top-social-profiles {
float: none;
width: 100%;
display: block;
text-align: center;
}
#content, #sidebar-primary, #sidebar-secondary {
width: 100%;
float: none;
padding: 0;
margin: 0;
display: block;
}
.menu-primary-container, .menu-secondary-container {
float: none;
margin-left: 0;
margin-right: 0;
display: block;
}
.fp-slider, #fb-root {
display: none;
}
.post-box {
width: 100%;
height: 100%;
float: none;
overflow: hidden;
margin: 0;
padding: 0;
}
#footer-widgets-container #footer-widgets {
width: inherit;
}
.footer-widget-box {
width: 100%;
float: none;
margin: 0;
padding: 0;
}
#copyrights, #credits {
display: block;
float: none;
text-align: center;
}
#footer-container #copyrights, #footer-container #credits {
padding: 5px 0;
}
#footer-container #footer {
width: auto;
padding-left: 10px;
padding-right: 10px;
}
}
/* Mobile Phones ----------- */
@media only screen and (max-width: 480px) {
.menu-primary-responsive-container, .menu-secondary-responsive-container {
display: block;
}
.menu-primary-container, .menu-secondary-container {
display: none;
}
#header .menu-primary-responsive-container, #header .menu-primary-responsive-container {
margin-left: 0;
margin-right: 0;
width: 100%;
}
}
/* =END
-------------------------------------------------------------- */
Code:
<div id="premain">
<div id="main">
<fieldset style="width: 1248px; display-inline: block; float: left; background-color: #FFFFFF; border: #a8830a solid 3px; padding-top:10px; padding-bottom:10px; padding-left:10px; padding-right:10px; border-radius: 10px 10px 10px 10px;">
<?php $theme->hook('main_before'); ?>
<div id="content">
<?php global $theme; get_header(); ?>
<?php $theme->hook('content_before'); ?>
<?php
$is_post_wrap = 0;
if (have_posts()) : while (have_posts()) : the_post();
/**
* The default post formatting from the post.php template file will be used.
* If you want to customize the post formatting for your homepage:
*
* - Create a new file: post-homepage.php
* - Copy/Paste the content of post.php to post-homepage.php
* - Edit and customize the post-homepage.php file for your needs.
*
* Learn more about the get_template_part() function: http://codex.wordpress.org/Function_Reference/get_template_part
*/
get_template_part('post', 'homepage');
$is_post_wrap++;
if($is_post_wrap == '1') {
?><div class="post-wrap clearfix"><?php
}
if($is_post_wrap == '2') {
$is_post_wrap = 0;
?></div><?php
}
endwhile;
else :
get_template_part('post', 'noresults');
endif;
if($is_post_wrap == '1') {
?></div><?php
}
get_template_part('navigation');
?>
<?php $theme->hook('content_after'); ?>
</div><!-- #content -->
<?php get_sidebars(); ?>
<?php $theme->hook('main_after'); ?>
</div><!-- #main -->
</fieldset>
<?php get_footer(); ?>